Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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.001541/0.001541, 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.00164/0.00164, allocations: 188.4 kB / 24.53 MB, free: 3.75 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.585/1.585, 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.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.355e-05, allocations: 2.281 kB / 372.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.2381/0.2381, allocations: 12.19 MB / 384.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.2545, allocations: 13.64 MB / 398.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.2549, allocations: 0.9688 kB / 398.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.2553, allocations: 68.05 kB / 398.4 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.2557, allocations: 112.3 kB / 398.5 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02036/0.2761, allocations: 5.923 MB / 404.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006984/0.2768, allocations: 442.6 kB / 404.9 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.596e-05/0.2768, allocations: 15.22 kB / 404.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005924/0.2774, allocations: 272.4 kB / 405.2 MB, free: 2.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.2776, allocations: 109.2 kB / 405.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.2776, allocations: 13.47 kB / 405.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01382/0.2915, allocations: 5.96 MB / 411.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006285/0.2921, allocations: 382 kB / 411.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002912/0.2924, allocations: 238.2 kB / 411.9 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.2925, allocations: 23.12 kB / 411.9 MB, free: 14.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.846e-05/0.2925, allocations: 3.469 kB / 411.9 MB, free: 14.78 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: 53 (41) * Number of variables: 53 (53) Notification: Performance of [SIM] Bindings: time 0.001922/0.2944, allocations: 1.312 MB / 413.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002416/0.2947, allocations: 139.8 kB / 413.3 MB, free: 13.38 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.002051/0.2967, allocations: 1.376 MB / 414.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003663/0.2971, allocations: 165.8 kB / 414.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001375/0.2985, allocations: 0.741 MB / 415.6 MB, free: 10.94 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003359/0.2988, allocations: 176.6 kB / 415.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00016/0.299, allocations: 124.3 kB / 415.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.000452/0.2994, allocations: 311.7 kB / 416.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001642/0.2996, allocations: 76.08 kB / 416.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006928/0.3003, allocations: 465.4 kB / 416.7 MB, free: 9.684 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.002045/0.3023, allocations: 1.177 MB / 417.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006125/0.3084, allocations: 5.136 MB / 423.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.001723/0.3102, allocations: 1.303 MB / 424.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.006735/0.3169, allocations: 5.48 MB / 429.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 5.389e-05/0.317, allocations: 22.75 kB / 429.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0008864/0.3178, allocations: 0.7649 MB / 430.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.003103/0.321, allocations: 1.657 MB / 432.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 4.031e-05/0.321, allocations: 35.94 kB / 432.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.382e-06/0.321, allocations: 4 kB / 432.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.003041/0.324, allocations: 2.117 MB / 434.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.115e-05/0.324, allocations: 0.5 kB / 434.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 4.876e-05/0.3241, allocations: 56 kB / 434.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 2.263e-05/0.3241, allocations: 11.92 kB / 434.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.01239/0.3365, allocations: 9.381 MB / 443.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.002204/0.3387, allocations: 1.373 MB / 445.3 MB, free: 13.62 MB / 350.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: ......... 1 * 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: ............................. 2 (2) {medium.p_bar, 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, medium.dew.phase, medium.bubble.phase, medium.bubble2.phase, $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: ........... 53 (scalar:53, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 55 (scalar:55, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001457/0.3389, allocations: 44.2 kB / 445.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of SimCode: time 0.02412/0.363, allocations: 8.919 MB / 454.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Templates: time 0.06652/0.4295, allocations: 44.74 MB / 499 MB, free: 7.574 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.4198534460156225] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.h', 'medium.p'] 0.4386564790038392 0.45325048300000004 0.157467209 Calling exit ...