There aren't too many pitchers that don't run out of gas at some point.
On the walk, the ball was about an inch outside, and the call could have gone either way, or the batter could have swung. Same pitch could have had dramatically different outcome. But I'm sure you could see into Zimmnn's soul and could tell he was gassed, even with an out in that situation.
I went back and watched the ABs because of SF's typical hyperventilating, and because at the time I thought it was a good idea to stretch Zimmermann out as his season is winding down.
Generally when you are looking for pitcher fatigue you look for pitches elevating above the zone. Zimmermann had two high fastballs in those two ABs, but he bounced back after both of them. The slider was the pitch that was really missing. He also ended both of those ABs with very solid pitches -- the ground out and the almost strike.
Anyway, I think that Zimmermann deserved to stay in the game. He was pitching a great game, it's late in the season, and we need him to be able to go deep into games in the future.