  We present a consistent thermodynamic theory for the resonant level model in
the wide band limit, whose level energy is driven slowly by an external force.
The problem of defining 'system' and 'bath' in the strong coupling regime is
circumvented by considering as the 'system' everything that is influenced by
the externally driven level. The thermodynamic functions that are obtained to
first order beyond the quasistatic limit fulfill the first and second law with
a positive entropy production, successfully connect to the forces experienced
by the external driving, and reproduce the correct weak coupling limit of
stochastic thermodynamics.
