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.002044/0.002044, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002649/0.002649, allocations: 204.7 kB / 24.55 MB, free: 3.73 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.456/1.456, 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.2491/0.2491, allocations: 46.97 MB / 361.7 MB, free: 3.996 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.094e-05/2.094e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.3602/0.3603, allocations: 59.61 MB / 0.5556 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03686/0.3971, allocations: 24.29 MB / 0.5793 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/0.3987, allocations: 35.69 kB / 0.5794 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.4006, allocations: 0.52 MB / 0.5799 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01801/0.4186, allocations: 5.236 MB / 0.585 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0117/0.4303, allocations: 3.595 MB / 0.5885 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00466/0.435, allocations: 2.935 MB / 0.5914 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.4365, allocations: 0.7921 MB / 0.5921 GB, free: 108 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.4467, allocations: 4.729 MB / 0.5968 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.4485, allocations: 0.712 MB / 0.5975 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.4487, allocations: 88 kB / 0.5975 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/0.4623, allocations: 6.146 MB / 0.6035 GB, free: 4.367 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.002279/0.4646, allocations: 2.09 MB / 0.6056 GB, free: 2.258 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.001105/0.4657, allocations: 1.289 MB / 0.6068 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.466, allocations: 108 kB / 0.607 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0002752/0.4663, allocations: 43.78 kB / 0.607 GB, free: 0.8047 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.4725, allocations: 5.19 MB / 0.6121 GB, free: 11.41 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008348/0.4733, allocations: 0.5929 MB / 0.6126 GB, free: 10.81 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.007943/0.4812, allocations: 6.16 MB / 0.6187 GB, free: 4.629 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001352/0.4826, allocations: 0.6774 MB / 0.6193 GB, free: 3.887 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.006171/0.4888, allocations: 4.082 MB / 0.6233 GB, free: 15.38 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001132/0.4899, allocations: 0.6452 MB / 0.6239 GB, free: 14.68 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005503/0.4904, allocations: 449.9 kB / 0.6244 GB, free: 14.21 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0009661/0.4914, allocations: 0.8538 MB / 0.6252 GB, free: 13.3 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.0009912/0.4924, allocations: 0.6809 MB / 0.6259 GB, free: 12.64 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.002197/0.4946, allocations: 1.818 MB / 0.6276 GB, free: 10.63 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.004897/0.4995, allocations: 3.32 MB / 0.6309 GB, free: 7.113 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004469/0.504, allocations: 4.122 MB / 0.6349 GB, free: 2.988 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.002698/0.5067, allocations: 1.459 MB / 0.6363 GB, free: 1.422 MB / 462.1 MB Notification: Performance of [INI] Inline: time 0.00553/0.5122, allocations: 5.034 MB / 0.6412 GB, free: 12.38 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 0.000187/0.5124, allocations: 68 kB / 0.6413 GB, free: 12.3 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.001118/0.5135, allocations: 0.9951 MB / 0.6423 GB, free: 11.29 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.01155/0.5251, allocations: 7.656 MB / 0.6498 GB, free: 3.52 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.001367/0.5264, allocations: 1.072 MB / 0.6508 GB, free: 2.449 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 1.864e-06/0.5264, allocations: 4 kB / 0.6508 GB, free: 2.445 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.002013/0.5284, allocations: 1.423 MB / 0.6522 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.521e-05/0.5285, allocations: 5 kB / 0.6522 GB, free: 0.918 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 0.0007616/0.5292, allocations: 0.6235 MB / 0.6528 GB, free: 304 kB / 478.1 MB Notification: Performance of [SIM] Categorize: time 5.553e-05/0.5293, allocations: 11.94 kB / 0.6528 GB, free: 292 kB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.007053/0.5363, allocations: 4.625 MB / 0.6573 GB, free: 11.75 MB / 494.1 MB Notification: Performance of [SIM] Jacobian: time 0.03007/0.5664, allocations: 26.64 MB / 0.6834 GB, free: 14.98 MB / 0.5137 GB 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.0002237/0.5666, allocations: 132.4 kB / 0.6835 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0455/0.6121, allocations: 17.71 MB / 0.7008 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of Templates: time 0.399/1.011, allocations: 73.82 MB / 0.7729 GB, free: 101.2 MB / 0.545 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: 8.428802205016837] 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'] 1.0195958469994366 1.028010816 0.5593183850000001 Calling exit ...