Nanosystems out of equilibrium