KM 514 then OS 401 at Vienna
Valletta → Vienna → Barcelona
Timetable, Vienna time
11:45KM 514 from Valletta at the gate
06:50OS 401 to Barcelona leaves the gate
19 h 05 apart on the timetable, overnight
OS 401 leaves 19 h 05 after KM 514 arrives on the timetable: more than half a day, so not a connection we count.