Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 186.9 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.7 MB / 253.4 MB, free: 12.78 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/2.828e-05, allocations: 2.281 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.007114/0.007142, allocations: 2.547 MB / 374.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.009744, allocations: 0.7712 MB / 375 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.01011, allocations: 8 kB / 375 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.01061, allocations: 67.41 kB / 375.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007077/0.01131, allocations: 142.9 kB / 375.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.01174, allocations: 87.83 kB / 375.3 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.01284, allocations: 0.5099 MB / 375.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.01313, allocations: 56.61 kB / 375.9 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004648/0.0136, allocations: 179.4 kB / 376.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.01409, allocations: 163.2 kB / 376.2 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.01424, allocations: 32 kB / 376.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.01447, allocations: 44 kB / 376.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001247/0.01572, allocations: 0.7157 MB / 377 MB, free: 3.824 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006209/0.01634, allocations: 454 kB / 377.5 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.01657, allocations: 40 kB / 377.5 MB, free: 3.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.116e-05/0.01665, allocations: 11.98 kB / 377.5 MB, free: 3.324 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 (50) * Number of variables: 50 (50) Notification: Performance of [SIM] Bindings: time 0.004053/0.0207, allocations: 2.111 MB / 379.6 MB, free: 1.074 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006219/0.02133, allocations: 187.6 kB / 379.8 MB, free: 0.875 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.00157/0.0229, allocations: 0.7911 MB / 380.6 MB, free: 60 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.2565/0.2794, allocations: 280.8 kB / 380.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002163/0.2815, allocations: 1.147 MB / 382 MB, free: 15.43 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004318/0.282, allocations: 241.7 kB / 382.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001573/0.2821, allocations: 136.2 kB / 382.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003689/0.2825, allocations: 273.7 kB / 382.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002628/0.2828, allocations: 183.6 kB / 382.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005237/0.2833, allocations: 452 kB / 383.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001175/0.2845, allocations: 0.8102 MB / 384.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007573/0.2852, allocations: 0.7703 MB / 384.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0007908/0.286, allocations: 0.493 MB / 385.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0009163/0.2869, allocations: 1.017 MB / 386.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.939e-05/0.287, allocations: 34.72 kB / 386.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001466/0.2871, allocations: 169.4 kB / 386.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001629/0.2887, allocations: 1.149 MB / 387.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002888/0.289, allocations: 183.8 kB / 387.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.122e-06/0.289, allocations: 0 / 387.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.000363/0.2894, allocations: 315.9 kB / 388.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.546e-06/0.2894, allocations: 4.656 kB / 388.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001974/0.2896, allocations: 160.4 kB / 388.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.938e-05/0.2896, allocations: 3.156 kB / 388.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001286/0.2909, allocations: 0.9173 MB / 389.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009623/0.2919, allocations: 1.184 MB / 390.5 MB, free: 12.18 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 10 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {openTank1.m, openTank1.H, openTank2.m, openTank2.H} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 17 (17) {$FUN_3, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 39 (scalar:39, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 44 (scalar:44, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.000129/0.292, allocations: 47.94 kB / 390.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of SimCode: time 0.002091/0.2941, allocations: 1.518 MB / 392 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Templates: time 0.01089/0.305, allocations: 5.574 MB / 397.6 MB, free: 9.469 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.880444189009722] Failed to read output from testmodel.py, exit status != 0: ['time', 'openTank1.H', 'openTank1.m', 'openTank2.H', 'openTank2.m'] 0.3155888369656168 0.32751296499999993 0.307568745 Calling exit ...