EC 7154 then VY 6016 at Barcelona
Milan → Barcelona → Rome
Timetable, Barcelona time
23:15EC 7154 from Milan at the gate
18:25VY 6016 to Rome leaves the gate
19 h 10 apart on the timetable, overnight
VY 6016 leaves 19 h 10 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.