Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.00199/0.00199, 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.002784/0.002784, allocations: 190.7 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.624/1.624, allocations: 225.7 MB / 253.4 MB, free: 12.79 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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.367e-05, allocations: 2.281 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.275/0.2751, allocations: 33.9 MB / 405.6 MB, free: 500 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007463/0.2825, allocations: 4.165 MB / 409.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005743/0.2831, allocations: 9.156 kB / 409.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.2843, allocations: 274 kB / 410.1 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.2857, allocations: 495.2 kB / 410.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005705/0.2914, allocations: 1.626 MB / 412.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.2938, allocations: 1.486 MB / 413.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.2941, allocations: 113.5 kB / 413.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.2951, allocations: 0.5764 MB / 414.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.2957, allocations: 371.7 kB / 414.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.632e-05/0.2958, allocations: 47.06 kB / 414.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.2981, allocations: 0.7677 MB / 415.5 MB, free: 9.781 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001061/0.2992, allocations: 0.9768 MB / 416.5 MB, free: 9.121 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000445/0.2996, allocations: 0.5713 MB / 417.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2997, allocations: 70.84 kB / 417.2 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.062e-05/0.2998, allocations: 8.125 kB / 417.2 MB, free: 8.734 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: 96 (96) * Number of variables: 96 (96) Notification: Performance of [SIM] Bindings: time 0.002961/0.3028, allocations: 2.506 MB / 419.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005353/0.3033, allocations: 256.5 kB / 419.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.001667/0.305, allocations: 1.382 MB / 421.3 MB, free: 5.238 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004591/0.3054, allocations: 247 kB / 421.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.003651/0.3091, allocations: 2.155 MB / 423.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003996/0.3095, allocations: 214 kB / 423.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000173/0.3096, allocations: 140.3 kB / 424 MB, free: 2.164 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0003971/0.31, allocations: 319.4 kB / 424.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001817/0.3102, allocations: 114.4 kB / 424.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.000605/0.3108, allocations: 0.4906 MB / 425 MB, free: 1.125 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.001473/0.3123, allocations: 1.049 MB / 426 MB, free: 12 kB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001141/0.3134, allocations: 1.04 MB / 427 MB, free: 14.97 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.00103/0.3145, allocations: 0.594 MB / 427.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.001461/0.3159, allocations: 1.385 MB / 429 MB, free: 12.91 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 7.196e-05/0.316, allocations: 32 kB / 429.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0001888/0.3162, allocations: 199.7 kB / 429.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.002153/0.3183, allocations: 1.459 MB / 430.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 6.984e-05/0.3184, allocations: 55.98 kB / 430.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.002e-06/0.3184, allocations: 0 / 430.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005759/0.319, allocations: 385.2 kB / 431.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.094e-05/0.319, allocations: 7.938 kB / 431.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0001512/0.3192, allocations: 127.8 kB / 431.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 1.851e-05/0.3192, allocations: 8 kB / 431.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.001871/0.321, allocations: 1.218 MB / 432.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.003302/0.3243, allocations: 3.278 MB / 435.8 MB, free: 5.637 MB / 334.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 5 * 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: ............................. 4 (4) {volume.m, volume.U, volume1.m, volume1.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {$SEV_6, $SEV_5, $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: ........... 51 (scalar:51, 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: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 85 (scalar:81, array:4, 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 8.215e-05/0.3244, allocations: 44.69 kB / 435.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of SimCode: time 0.006195/0.3306, allocations: 3.454 MB / 439.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of Templates: time 0.02227/0.3529, allocations: 11.66 MB / 450.9 MB, free: 6.414 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.53241657896433] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.p'] 0.36140762199647725 0.376930184 0.073688945 Calling exit ...