Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.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.001455/0.001455, allocations: 104 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.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.001626/0.001626, allocations: 192.2 kB / 24.53 MB, free: 3.852 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.516/1.516, 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.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.365e-05, allocations: 5.516 kB / 371.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.2853/0.2854, allocations: 11.81 MB / 383.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.2997, allocations: 10.14 MB / 393.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.2999, allocations: 5.219 kB / 393.7 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.3003, allocations: 63.28 kB / 393.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.3007, allocations: 88.7 kB / 393.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02006/0.3208, allocations: 5.034 MB / 398.8 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.3214, allocations: 317.2 kB / 399.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.472e-05/0.3215, allocations: 5.109 kB / 399.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006411/0.3221, allocations: 232.3 kB / 399.4 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.3222, allocations: 75.77 kB / 399.4 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.3223, allocations: 12.75 kB / 399.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/0.3371, allocations: 6.171 MB / 405.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003711/0.3375, allocations: 260.5 kB / 405.9 MB, free: 2.809 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001238/0.3376, allocations: 163.9 kB / 406 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.3376, allocations: 17.81 kB / 406.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.556e-05/0.3377, allocations: 1.594 kB / 406.1 MB, free: 2.699 MB / 302.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.001255/0.3389, allocations: 1.004 MB / 407.1 MB, free: 1.906 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.23e-05/0.339, allocations: 85.3 kB / 407.2 MB, free: 1.828 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001492/0.3405, allocations: 1.627 MB / 408.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002111/0.3407, allocations: 169.2 kB / 408.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001012/0.3417, allocations: 0.7166 MB / 409.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002811/0.342, allocations: 199.8 kB / 409.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001378/0.3421, allocations: 110.9 kB / 410 MB, free: 15.7 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0004509/0.3426, allocations: 329.2 kB / 410.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004202/0.343, allocations: 268.1 kB / 410.5 MB, free: 15.23 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005845/0.3436, allocations: 479 kB / 411 MB, free: 14.9 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.004664/0.3483, allocations: 3.09 MB / 414.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002258/0.3505, allocations: 2.06 MB / 416.2 MB, free: 9.902 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.001069/0.3516, allocations: 0.671 MB / 416.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.002992/0.3546, allocations: 2.779 MB / 419.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 4.541e-05/0.3546, allocations: 22.75 kB / 419.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0004484/0.3551, allocations: 419.3 kB / 420 MB, free: 5.941 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.00219/0.3573, allocations: 1.44 MB / 421.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0001335/0.3574, allocations: 75.19 kB / 421.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 9.32e-07/0.3574, allocations: 0 / 421.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001438/0.3588, allocations: 0.9415 MB / 422.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.133e-05/0.3588, allocations: 4.328 kB / 422.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0003075/0.3592, allocations: 188.2 kB / 422.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 2.334e-05/0.3592, allocations: 7.984 kB / 422.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.005834/0.365, allocations: 4.29 MB / 427 MB, free: 15.02 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.02688/0.3919, allocations: 22.66 MB / 449.7 MB, free: 6.867 MB / 350.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.0002013/0.3921, allocations: 42.8 kB / 449.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of SimCode: time 0.03879/0.4309, allocations: 13.83 MB / 463.5 MB, free: 8.918 MB / 366.1 MB Notification: Performance of Templates: time 0.0899/0.5208, allocations: 59.86 MB / 0.5111 GB, free: 12.96 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.0.0_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.842056827968918] Failed to read output from testmodel.py, exit status != 0: ['time', 'V', 'medium.h', 'medium.p'] 0.5303791190381162 0.545326628 0.204356317 Calling exit ...