Compartment model with retarded transition rates