Free Energy Functional for Nonequilibrium Systems: An Exactly Solvable Case | Synapse