def extract_times_from_records(simulation_records, warm_up_time):
    """Get the required times (waiting, service, blocking) out of ciw's records
    where all individuals are treated the same way. This function can't distinguish
    between class 1 and class 2 individuals. It returns the aggregated waiting
    time, service times BUT only blocking times of class 2 individuals.

    Parameters
    ----------
    simulation_records : list
        A list of all simulated records
    warm_up_time : int
        The time we start collecting results

    Returns
    -------
    list, list, list
        Three lists that contain waiting, service and blocking times
    """
    waiting_times = [
        r.waiting_time
        for r in simulation_records
        if r.arrival_date > warm_up_time and r.node == 2
    ]
    serving_times = [
        r.service_time
        for r in simulation_records
        if r.arrival_date > warm_up_time and r.node == 2
    ]
    blocking_times = [
        r.time_blocked
        for r in simulation_records
        if r.arrival_date > warm_up_time and r.node == 1
    ]
    return waiting_times, serving_times, blocking_times