Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001946/0.001946, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002547/0.002547, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 230.5 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.59e-05, allocations: 5.234 kB / 379.9 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.2035/0.2035, allocations: 12.33 MB / 392.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.2206, allocations: 13.64 MB / 405.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.2209, allocations: 1 kB / 405.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.2213, allocations: 72.7 kB / 405.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.2217, allocations: 116.8 kB / 406 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01922/0.2409, allocations: 5.922 MB / 411.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006513/0.2416, allocations: 446.2 kB / 412.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.021e-05/0.2416, allocations: 15.8 kB / 412.4 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.2423, allocations: 273.6 kB / 412.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.2425, allocations: 103.6 kB / 412.8 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.2425, allocations: 18.81 kB / 412.8 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/0.2559, allocations: 5.969 MB / 418.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005124/0.2564, allocations: 384.4 kB / 419.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000178/0.2566, allocations: 233 kB / 419.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.2566, allocations: 28 kB / 419.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.358e-05/0.2567, allocations: 4 kB / 419.4 MB, free: 5.031 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.001576/0.2582, allocations: 1.301 MB / 420.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001547/0.2584, allocations: 139.8 kB / 420.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.001598/0.26, allocations: 1.372 MB / 422.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002731/0.2603, allocations: 172.9 kB / 422.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001151/0.2614, allocations: 0.7446 MB / 423.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002408/0.2617, allocations: 174.6 kB / 423.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001458/0.2618, allocations: 128.2 kB / 423.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0003819/0.2622, allocations: 304.2 kB / 423.7 MB, free: 304 kB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001546/0.2623, allocations: 88.83 kB / 423.8 MB, free: 224 kB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005476/0.2629, allocations: 460.4 kB / 424.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.001579/0.2645, allocations: 1.176 MB / 425.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004922/0.2694, allocations: 5.119 MB / 430.5 MB, free: 9.664 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.001569/0.2709, allocations: 1.322 MB / 431.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.005054/0.276, allocations: 5.476 MB / 437.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 4.682e-05/0.2761, allocations: 22.75 kB / 437.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0007757/0.2768, allocations: 0.7766 MB / 438.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.002707/0.2795, allocations: 1.657 MB / 439.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 2.696e-05/0.2796, allocations: 24 kB / 439.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 3.146e-06/0.2796, allocations: 4 kB / 439.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.002298/0.2819, allocations: 2.112 MB / 441.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.682e-06/0.2819, allocations: 0.5 kB / 441.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 3.46e-05/0.2819, allocations: 56 kB / 442 MB, free: 14.68 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 1.548e-05/0.2819, allocations: 7.938 kB / 442 MB, free: 14.67 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.01068/0.2926, allocations: 9.386 MB / 451.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.001781/0.2944, allocations: 1.384 MB / 452.8 MB, free: 4.078 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.0001416/0.2945, allocations: 36.84 kB / 452.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of SimCode: time 0.02245/0.317, allocations: 8.937 MB / 461.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Templates: time 0.06376/0.3807, allocations: 44.86 MB / 0.4947 GB, free: 13.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.399325583013706] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.h', 'medium.p'] 0.38954128400655463 0.40325345599999995 0.14342457599999994 Calling exit ...