The input-output counts of the doors don't count correctly.
Look at attached model, click on a door and look at the stats as people go through the doors.
When someone goes out, the input goes up by 1. But when someone goes in the input and output go up by 1.