Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001375/0.001375, allocations: 103.6 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.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.001502/0.001502, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.226/0.226, allocations: 44.93 MB / 359.7 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.018e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.3046/0.3046, allocations: 59.61 MB / 0.5525 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03114/0.3358, allocations: 24.3 MB / 0.5763 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.3372, allocations: 34.16 kB / 0.5763 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.3388, allocations: 0.5108 MB / 0.5768 GB, free: 204 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01587/0.3547, allocations: 5.244 MB / 0.5819 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0122/0.3669, allocations: 3.59 MB / 0.5854 GB, free: 8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004466/0.3713, allocations: 2.931 MB / 0.5883 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.3726, allocations: 0.7961 MB / 0.5891 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009472/0.3821, allocations: 4.724 MB / 0.5937 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.3838, allocations: 0.7158 MB / 0.5944 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.384, allocations: 84 kB / 0.5945 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.3965, allocations: 6.15 MB / 0.6005 GB, free: 8.512 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.002163/0.3987, allocations: 2.098 MB / 0.6025 GB, free: 6.395 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.001015/0.3997, allocations: 1.303 MB / 0.6038 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.3999, allocations: 108 kB / 0.6039 GB, free: 4.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0002301/0.4001, allocations: 35.86 kB / 0.6039 GB, free: 4.941 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.005575/0.4057, allocations: 5.181 MB / 0.609 GB, free: 15.56 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006347/0.4064, allocations: 0.5929 MB / 0.6096 GB, free: 14.95 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.007286/0.4136, allocations: 6.169 MB / 0.6156 GB, free: 8.758 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001148/0.4148, allocations: 0.6676 MB / 0.6163 GB, free: 8.027 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.005764/0.4205, allocations: 4.071 MB / 0.6202 GB, free: 3.527 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00102/0.4216, allocations: 0.6504 MB / 0.6209 GB, free: 2.82 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005131/0.4221, allocations: 438.1 kB / 0.6213 GB, free: 2.363 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.0008705/0.423, allocations: 0.8552 MB / 0.6221 GB, free: 1.453 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.0009102/0.4239, allocations: 0.6839 MB / 0.6228 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.002029/0.4259, allocations: 1.834 MB / 0.6246 GB, free: 14.76 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.00463/0.4305, allocations: 3.295 MB / 0.6278 GB, free: 11.27 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004352/0.4349, allocations: 4.143 MB / 0.6318 GB, free: 7.121 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.002406/0.4373, allocations: 1.459 MB / 0.6333 GB, free: 5.559 MB / 462.1 MB Notification: Performance of [INI] Inline: time 0.00515/0.4424, allocations: 5.034 MB / 0.6382 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of [INI] Partitioning: time 0.0001486/0.4426, allocations: 68 kB / 0.6382 GB, free: 440 kB / 462.1 MB Notification: Performance of [INI] Cleanup: time 0.001013/0.4436, allocations: 0.9951 MB / 0.6392 GB, free: 15.42 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.01111/0.4547, allocations: 7.648 MB / 0.6467 GB, free: 7.66 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.001308/0.456, allocations: 1.084 MB / 0.6477 GB, free: 6.582 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 1.493e-06/0.456, allocations: 3.938 kB / 0.6477 GB, free: 6.578 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001886/0.4579, allocations: 1.42 MB / 0.6491 GB, free: 5.059 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.842e-05/0.4579, allocations: 16.88 kB / 0.6491 GB, free: 5.039 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 0.0006981/0.4586, allocations: 0.604 MB / 0.6497 GB, free: 4.445 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 4.252e-05/0.4587, allocations: 19.86 kB / 0.6498 GB, free: 4.426 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.006779/0.4654, allocations: 4.621 MB / 0.6543 GB, free: 15.89 MB / 494.1 MB Notification: Performance of [SIM] Jacobian: time 0.02785/0.4933, allocations: 26.65 MB / 0.6803 GB, free: 3.113 MB / 0.4981 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.0002173/0.4935, allocations: 124.5 kB / 0.6804 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of SimCode: time 0.04148/0.535, allocations: 17.71 MB / 0.6977 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of Templates: time 0.3928/0.9278, allocations: 73.81 MB / 0.7698 GB, free: 106.8 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.080073132994585] 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.9355082320398651 0.9439574260000001 0.5416158990000001 Calling exit ...