Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.WaterIF97.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.001668/0.001668, 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.002149/0.002149, allocations: 222.3 kB / 24.56 MB, free: 3.816 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.623/1.623, allocations: 230.5 MB / 258.2 MB, free: 7.727 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.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.511e-05, allocations: 3.125 kB / 379 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.2358/0.2358, allocations: 11.93 MB / 390.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.2489, allocations: 10.13 MB / 401.1 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.2491, allocations: 4.938 kB / 401.1 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.2495, allocations: 55.8 kB / 401.1 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.2498, allocations: 93.2 kB / 401.2 MB, free: 1.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02017/0.27, allocations: 5.046 MB / 406.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006397/0.2706, allocations: 321.4 kB / 406.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.681e-05/0.2707, allocations: 8.844 kB / 406.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.2713, allocations: 228.1 kB / 406.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.2714, allocations: 76.12 kB / 406.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.2715, allocations: 9.156 kB / 406.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/0.2869, allocations: 6.179 MB / 413.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004514/0.2873, allocations: 262.7 kB / 413.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001419/0.2874, allocations: 165.9 kB / 413.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.2875, allocations: 20 kB / 413.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.75e-05/0.2875, allocations: 0 / 413.5 MB, free: 10.67 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: 34 (26) * Number of variables: 34 (34) Notification: Performance of [SIM] Bindings: time 0.001376/0.2889, allocations: 0.998 MB / 414.5 MB, free: 9.543 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001128/0.289, allocations: 91.89 kB / 414.6 MB, free: 9.441 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.001935/0.2909, allocations: 1.622 MB / 416.2 MB, free: 7.789 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002563/0.2912, allocations: 181.8 kB / 416.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001152/0.2924, allocations: 0.7189 MB / 417.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000262/0.2926, allocations: 195 kB / 417.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001458/0.2928, allocations: 128.2 kB / 417.4 MB, free: 6.375 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0004291/0.2932, allocations: 304.2 kB / 417.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004474/0.2936, allocations: 272.5 kB / 418 MB, free: 5.77 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005687/0.2942, allocations: 489.6 kB / 418.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.004599/0.2988, allocations: 3.093 MB / 421.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00221/0.301, allocations: 2.06 MB / 423.6 MB, free: 4 kB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.00109/0.3021, allocations: 0.6615 MB / 424.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.002873/0.305, allocations: 2.783 MB / 427.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 4.481e-05/0.305, allocations: 22.75 kB / 427.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0004616/0.3055, allocations: 419.4 kB / 427.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.002202/0.3077, allocations: 1.436 MB / 428.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0001535/0.3078, allocations: 75.91 kB / 429 MB, free: 10.52 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.012e-06/0.3078, allocations: 0 / 429 MB, free: 10.52 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001484/0.3093, allocations: 0.9237 MB / 429.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.649e-05/0.3093, allocations: 8.266 kB / 429.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0003273/0.3097, allocations: 194.4 kB / 430.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 2.161e-05/0.3097, allocations: 3.938 kB / 430.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.005881/0.3156, allocations: 4.269 MB / 434.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.02609/0.3417, allocations: 22.69 MB / 457.1 MB, free: 13.02 MB / 366.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 6.751e-05/0.3417, allocations: 46.39 kB / 457.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 0.03463/0.3764, allocations: 13.88 MB / 471 MB, free: 15.02 MB / 382.1 MB Notification: Performance of Templates: time 0.08853/0.4649, allocations: 59.96 MB / 0.5186 GB, free: 2.984 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_trunk_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.743404632958118] Failed to read output from testmodel.py, exit status != 0: ['time', 'V', 'medium.h', 'medium.p'] 0.4739146190113388 0.48889678900000005 0.198165007 Calling exit ...