Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.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.001602/0.001602, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002366/0.002366, allocations: 218.7 kB / 24.5 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.604/1.604, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2559/0.2559, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|density2_1.d|density2_2.d|density1_1.d|density1_2.d|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|density2_1.d|density2_2.d|density1_1.d|density1_2.d|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.694e-05, allocations: 4.953 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.3711/0.3711, allocations: 59.61 MB / 0.5555 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03889/0.41, allocations: 24.3 MB / 0.5792 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.4121, allocations: 31.69 kB / 0.5793 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.4145, allocations: 0.52 MB / 0.5798 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01818/0.4327, allocations: 5.229 MB / 0.5849 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0144/0.4471, allocations: 3.607 MB / 0.5884 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005469/0.4525, allocations: 2.942 MB / 0.5913 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.4544, allocations: 0.7959 MB / 0.592 GB, free: 104 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/0.4672, allocations: 4.71 MB / 0.5966 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.4695, allocations: 0.7588 MB / 0.5974 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.4698, allocations: 88 kB / 0.5975 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/0.4846, allocations: 6.373 MB / 0.6037 GB, free: 4.109 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.002725/0.4873, allocations: 2.098 MB / 0.6057 GB, free: 1.992 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.001238/0.4886, allocations: 1.299 MB / 0.607 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.4889, allocations: 108 kB / 0.6071 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0002737/0.4891, allocations: 35.86 kB / 0.6071 GB, free: 0.5391 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 (174) * Number of variables: 190 (190) Notification: Performance of [SIM] Bindings: time 0.006195/0.4953, allocations: 5.146 MB / 0.6122 GB, free: 11.19 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007498/0.4961, allocations: 0.6046 MB / 0.6128 GB, free: 10.57 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.006665/0.5027, allocations: 5.043 MB / 0.6177 GB, free: 5.504 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00128/0.504, allocations: 0.6986 MB / 0.6184 GB, free: 4.73 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.006573/0.5106, allocations: 3.862 MB / 0.6221 GB, free: 448 kB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001057/0.5116, allocations: 0.6541 MB / 0.6228 GB, free: 15.73 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004859/0.5121, allocations: 377.8 kB / 0.6231 GB, free: 15.33 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0008712/0.513, allocations: 0.7888 MB / 0.6239 GB, free: 14.49 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.00107/0.5141, allocations: 0.6612 MB / 0.6246 GB, free: 13.85 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.002011/0.5161, allocations: 1.693 MB / 0.6262 GB, free: 11.96 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.005439/0.5215, allocations: 3.308 MB / 0.6294 GB, free: 8.457 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005021/0.5265, allocations: 3.7 MB / 0.633 GB, free: 4.754 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.003112/0.5297, allocations: 1.543 MB / 0.6346 GB, free: 3.094 MB / 462.1 MB Notification: Performance of [INI] Inline: time 0.009129/0.5388, allocations: 5.988 MB / 0.6404 GB, free: 13.1 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 0.0004287/0.5392, allocations: 64.06 kB / 0.6405 GB, free: 13.02 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.002928/0.5421, allocations: 1.096 MB / 0.6415 GB, free: 11.91 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.01562/0.5578, allocations: 7.859 MB / 0.6492 GB, free: 3.934 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.002003/0.5598, allocations: 1.093 MB / 0.6503 GB, free: 2.844 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 2.895e-06/0.5598, allocations: 0 / 0.6503 GB, free: 2.844 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.003e-05/0.5598, allocations: 8.875 kB / 0.6503 GB, free: 2.836 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 0.001018/0.5609, allocations: 0.5804 MB / 0.6509 GB, free: 2.266 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 6.933e-05/0.5609, allocations: 11.94 kB / 0.6509 GB, free: 2.254 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.006135/0.5671, allocations: 2.907 MB / 0.6537 GB, free: 15.35 MB / 494.1 MB Notification: Performance of [SIM] Jacobian: time 0.002198/0.5693, allocations: 1.332 MB / 0.655 GB, free: 13.93 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 10 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 14 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 54 (54) {simpleGenericOrifice1.state_a.phase, simpleGenericOrifice1.state_b.phase, massFlowRate2.medium.state.phase, massFlowRate2.medium.phase, boundary_fixed1.medium.state.phase, boundary_fixed1.medium.phase, simpleGenericOrifice.state_a.phase, simpleGenericOrifice.state_b.phase, massFlowRate1.medium.state.phase, massFlowRate1.medium.phase, boundary_fixed.medium.state.phase, boundary_fixed.medium.phase, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_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: ........... 144 (scalar:144, 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: ........... 187 (scalar:183, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 207 (scalar:203, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.000237/0.5695, allocations: 108.5 kB / 0.6551 GB, free: 13.82 MB / 494.1 MB Notification: Performance of SimCode: time 0.03544/0.6049, allocations: 11.51 MB / 0.6663 GB, free: 2.223 MB / 494.1 MB Notification: Performance of Templates: time 0.08434/0.6893, allocations: 50.19 MB / 0.7154 GB, free: 0 / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.471411608625203] Failed to read output from testmodel.py, exit status != 0: ['time', 'density2_1.d', 'density2_2.d', 'density1_1.d', 'density1_2.d', 'simpleGenericOrifice.port_b.m_flow', 'simpleGenericOrifice.port_b.p', 'simpleGenericOrifice.port_b.h_outflow'] 0.6993754431605339 0.717280732 0.22447250100000002 Calling exit ...