OO 6058 then AA 3115 at O'Hare
Sioux City → Chicago → San Francisco
Timetable, Chicago time
10:13OO 6058 from Sioux City at the gate
08:25AA 3115 to San Francisco leaves the gate
22 h 12 apart on the timetable, overnight
AA 3115 leaves 22 h 12 after OO 6058 arrives on the timetable: more than half a day, so not a connection we count.