Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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.001725/0.001725, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002178/0.002178, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.646/1.646, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.007e-05, allocations: 2.281 kB / 379.9 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.2165/0.2165, allocations: 12.31 MB / 392.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.2342, allocations: 13.65 MB / 405.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.2345, allocations: 5.125 kB / 405.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.2349, allocations: 69.83 kB / 405.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.2354, allocations: 116 kB / 406 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02203/0.2574, allocations: 5.917 MB / 411.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007147/0.2581, allocations: 447 kB / 412.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.487e-05/0.2582, allocations: 16.73 kB / 412.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/0.2589, allocations: 275.4 kB / 412.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.2591, allocations: 100.6 kB / 412.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.2591, allocations: 19.14 kB / 412.8 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01357/0.2727, allocations: 5.978 MB / 418.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005601/0.2732, allocations: 376.5 kB / 419.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001955/0.2734, allocations: 244.9 kB / 419.4 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.2735, allocations: 24 kB / 419.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.599e-05/0.2735, allocations: 4 kB / 419.4 MB, free: 5.086 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.001691/0.2752, allocations: 1.301 MB / 420.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000164/0.2754, allocations: 139.8 kB / 420.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.001814/0.2772, allocations: 1.36 MB / 422.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002937/0.2775, allocations: 177.7 kB / 422.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001208/0.2787, allocations: 0.7418 MB / 423.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002542/0.2789, allocations: 167.6 kB / 423.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001534/0.2791, allocations: 136.2 kB / 423.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0004013/0.2795, allocations: 307.8 kB / 423.7 MB, free: 364 kB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001564/0.2797, allocations: 89.44 kB / 423.8 MB, free: 284 kB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005814/0.2802, allocations: 450.2 kB / 424.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.00165/0.2819, allocations: 1.188 MB / 425.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005442/0.2873, allocations: 5.121 MB / 430.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.001752/0.2891, allocations: 1.318 MB / 431.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.005512/0.2946, allocations: 5.48 MB / 437.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 5.95e-05/0.2946, allocations: 22.75 kB / 437.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0009675/0.2956, allocations: 0.7766 MB / 438.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.002821/0.2984, allocations: 1.65 MB / 439.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 2.549e-05/0.2985, allocations: 24 kB / 439.8 MB, free: 496 kB / 334.1 MB Notification: Performance of [SIM] Initialization: time 7.72e-07/0.2985, allocations: 4 kB / 439.8 MB, free: 492 kB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.002495/0.301, allocations: 2.13 MB / 441.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.284e-06/0.301, allocations: 0.5 kB / 441.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 3.614e-05/0.301, allocations: 48 kB / 442 MB, free: 14.48 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 1.253e-05/0.301, allocations: 8 kB / 442 MB, free: 14.48 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.01138/0.3124, allocations: 9.377 MB / 451.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.001893/0.3143, allocations: 1.4 MB / 452.8 MB, free: 3.766 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.0001365/0.3144, allocations: 32.28 kB / 452.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of SimCode: time 0.02298/0.3374, allocations: 8.938 MB / 461.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of Templates: time 0.07131/0.4087, allocations: 44.86 MB / 0.4947 GB, free: 13.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.437381764000747] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.h', 'medium.p'] 0.41662518202792853 0.43169461000000003 0.15487566900000002 Calling exit ...