Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002333/0.002333, allocations: 212 kB / 24.55 MB, free: 3.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 230.7 MB / 258.3 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.228e-05, allocations: 2.281 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.2056/0.2056, allocations: 11.93 MB / 391 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.2164, allocations: 10.13 MB / 401.1 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2166, allocations: 1.125 kB / 401.1 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.2169, allocations: 60.09 kB / 401.2 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.2172, allocations: 84.84 kB / 401.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0158/0.233, allocations: 5.041 MB / 406.3 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.2335, allocations: 319.9 kB / 406.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.2336, allocations: 13.09 kB / 406.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005864/0.2342, allocations: 233.4 kB / 406.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.2343, allocations: 68.05 kB / 406.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.2344, allocations: 8.625 kB / 406.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.2454, allocations: 6.183 MB / 413.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003269/0.2458, allocations: 261.2 kB / 413.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000148/0.2459, allocations: 162 kB / 413.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.246, allocations: 16 kB / 413.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.203e-05/0.246, allocations: 4 kB / 413.5 MB, free: 10.92 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 (26) * Number of variables: 34 (34) Notification: Performance of [SIM] Bindings: time 0.001319/0.2473, allocations: 1.002 MB / 414.5 MB, free: 9.793 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001286/0.2474, allocations: 83.97 kB / 414.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.002065/0.2495, allocations: 1.634 MB / 416.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002985/0.2498, allocations: 181.8 kB / 416.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0012/0.251, allocations: 0.7213 MB / 417.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002773/0.2513, allocations: 190 kB / 417.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001671/0.2514, allocations: 128.2 kB / 417.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0004238/0.2519, allocations: 307.8 kB / 417.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.000453/0.2523, allocations: 264.3 kB / 418 MB, free: 6.02 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006113/0.2529, allocations: 488.2 kB / 418.5 MB, free: 5.496 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.004684/0.2576, allocations: 3.098 MB / 421.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002351/0.26, allocations: 2.052 MB / 423.6 MB, free: 264 kB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.001219/0.2612, allocations: 0.6731 MB / 424.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.003412/0.2646, allocations: 2.776 MB / 427.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 5.325e-05/0.2646, allocations: 26.75 kB / 427.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0008059/0.2654, allocations: 419.3 kB / 427.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.002472/0.2679, allocations: 1.444 MB / 429 MB, free: 10.84 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0001493/0.2681, allocations: 71.95 kB / 429 MB, free: 10.77 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.052e-06/0.2681, allocations: 0 / 429 MB, free: 10.77 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001423/0.2695, allocations: 0.9337 MB / 430 MB, free: 9.82 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.348e-06/0.2695, allocations: 336 / 430 MB, free: 9.82 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0002783/0.2698, allocations: 190.7 kB / 430.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 1.672e-05/0.2698, allocations: 8 kB / 430.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.006005/0.2758, allocations: 4.279 MB / 434.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.02641/0.3022, allocations: 22.69 MB / 457.1 MB, free: 13.22 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 3 * 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: ............................. 3 (3) {m, U, medium.h} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {medium.state.phase, medium.phase, state2.phase, state.phase, $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: ........... 44 (scalar:44, 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: ........... 52 (scalar:52, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001757/0.3024, allocations: 34.75 kB / 457.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of SimCode: time 0.04351/0.3459, allocations: 13.88 MB / 471 MB, free: 15.24 MB / 382.1 MB Notification: Performance of Templates: time 0.1118/0.4577, allocations: 59.99 MB / 0.5186 GB, free: 3.16 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.1.0_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.923734180978499] Failed to read output from testmodel.py, exit status != 0: ['time', 'V', 'medium.h', 'medium.p'] 0.4661060710204765 0.482336577 0.23283699500000002 Calling exit ...