Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001891/0.001891, allocations: 110.2 kB / 21.99 MB, free: 4.555 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.001931/0.001931, allocations: 217.5 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 207.7 MB / 236.2 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.207e-05, allocations: 2.281 kB / 349.3 MB, free: 8.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01707/0.01709, allocations: 12.22 MB / 361.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01942/0.03651, allocations: 13.62 MB / 375.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.03673, allocations: 0 / 375.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.03714, allocations: 75.56 kB / 375.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.03757, allocations: 111.2 kB / 375.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01952/0.05709, allocations: 5.897 MB / 381.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.05777, allocations: 446.5 kB / 381.7 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.785e-05/0.05784, allocations: 13.3 kB / 381.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000634/0.05847, allocations: 267 kB / 382 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.05865, allocations: 99.55 kB / 382.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.05869, allocations: 16 kB / 382.1 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/0.07043, allocations: 5.974 MB / 388 MB, free: 1.707 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004684/0.0709, allocations: 388.3 kB / 388.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002092/0.0711, allocations: 229 kB / 388.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.07117, allocations: 24 kB / 388.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.967e-05/0.07121, allocations: 4 kB / 388.7 MB, free: 1.07 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.2269/0.2981, allocations: 1.305 MB / 390 MB, free: 20.38 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001768/0.2983, allocations: 135.5 kB / 390.1 MB, free: 20.35 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.001504/0.2998, allocations: 1.359 MB / 391.5 MB, free: 20.29 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002488/0.3, allocations: 173.9 kB / 391.6 MB, free: 20.19 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001067/0.3011, allocations: 0.7438 MB / 392.4 MB, free: 20.01 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002247/0.3013, allocations: 169.7 kB / 392.6 MB, free: 19.9 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001426/0.3015, allocations: 127.6 kB / 392.7 MB, free: 19.84 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0004072/0.3019, allocations: 302.8 kB / 393 MB, free: 19.73 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001687/0.302, allocations: 82.25 kB / 393.1 MB, free: 19.71 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006532/0.3027, allocations: 457 kB / 393.5 MB, free: 19.68 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.001693/0.3044, allocations: 1.18 MB / 394.7 MB, free: 19.6 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005218/0.3096, allocations: 5.113 MB / 399.8 MB, free: 19.21 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.001723/0.3113, allocations: 1.307 MB / 401.1 MB, free: 18.59 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.005203/0.3165, allocations: 5.48 MB / 406.6 MB, free: 16.5 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 7.133e-05/0.3166, allocations: 23.69 kB / 406.6 MB, free: 16.48 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.000786/0.3174, allocations: 0.7718 MB / 407.4 MB, free: 16.04 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.002824/0.3202, allocations: 1.65 MB / 409 MB, free: 15.78 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 3.488e-05/0.3202, allocations: 28.72 kB / 409.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.854e-06/0.3202, allocations: 0 / 409.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.00225/0.3225, allocations: 2.138 MB / 411.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.248e-06/0.3225, allocations: 0.5 kB / 411.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 3.226e-05/0.3225, allocations: 54.5 kB / 411.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.94e-05/0.3226, allocations: 5.312 kB / 411.3 MB, free: 14.28 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.008263/0.3308, allocations: 9.378 MB / 420.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.001318/0.3321, allocations: 1.39 MB / 422 MB, free: 9.34 MB / 318.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.0001302/0.3323, allocations: 39.59 kB / 422.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of SimCode: time 0.01848/0.3508, allocations: 8.904 MB / 431 MB, free: 4.586 MB / 318.1 MB Notification: Performance of Templates: time 0.06254/0.4133, allocations: 44.69 MB / 475.7 MB, free: 7.734 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.5960880250204355] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.h', 'medium.p'] 0.4218003699788824 0.436848124 0.3624231 Calling exit ...