Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001657/0.001657, allocations: 104.3 kB / 20.52 MB, free: 1.301 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.002012/0.002012, allocations: 215.9 kB / 23.82 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 207.7 MB / 234.7 MB, free: 9.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2288/0.2288, allocations: 44.27 MB / 331.2 MB, free: 9.363 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.473e-05, allocations: 3.828 kB / 468.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.06981/0.06984, allocations: 59.42 MB / 0.5159 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.3051/0.375, allocations: 24.24 MB / 0.5395 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.3764, allocations: 30.72 kB / 0.5396 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.3781, allocations: 0.5146 MB / 0.5401 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01738/0.3954, allocations: 5.203 MB / 0.5451 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.4056, allocations: 3.579 MB / 0.5486 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005042/0.4107, allocations: 2.895 MB / 0.5515 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.4123, allocations: 0.7943 MB / 0.5522 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/0.423, allocations: 4.704 MB / 0.5568 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.4253, allocations: 0.711 MB / 0.5575 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002965/0.4256, allocations: 84.44 kB / 0.5576 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01539/0.441, allocations: 6.137 MB / 0.5636 GB, free: 9.23 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.002482/0.4435, allocations: 2.083 MB / 0.5656 GB, free: 8.41 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008184/0.4443, allocations: 1.281 MB / 0.5669 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.4447, allocations: 108.4 kB / 0.567 GB, free: 7.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0002432/0.4449, allocations: 43.08 kB / 0.567 GB, free: 7.676 MB / 414.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.004745/0.4497, allocations: 5.162 MB / 0.5721 GB, free: 5.715 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006408/0.4503, allocations: 0.6059 MB / 0.5727 GB, free: 5.648 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.006848/0.4572, allocations: 6.156 MB / 0.5787 GB, free: 5.152 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001032/0.4582, allocations: 0.6727 MB / 0.5793 GB, free: 4.816 MB / 414.1 MB Notification: Performance of [SIM] Alias: time 0.004856/0.463, allocations: 4.077 MB / 0.5833 GB, free: 2.875 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008368/0.4639, allocations: 0.6561 MB / 0.584 GB, free: 2.48 MB / 414.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000398/0.4643, allocations: 437.2 kB / 0.5844 GB, free: 2.156 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.0006662/0.4649, allocations: 0.8613 MB / 0.5852 GB, free: 1.434 MB / 414.1 MB Notification: Performance of [SIM] Events: time 0.000784/0.4657, allocations: 0.6792 MB / 0.5859 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.001678/0.4674, allocations: 1.84 MB / 0.5877 GB, free: 15.65 MB / 430.1 MB Notification: Performance of [SIM] Causalize: time 0.004918/0.4723, allocations: 3.323 MB / 0.5909 GB, free: 14.32 MB / 430.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004525/0.4769, allocations: 4.151 MB / 0.595 GB, free: 11.45 MB / 430.1 MB Notification: Performance of [INI] Simplify: time 0.002659/0.4795, allocations: 1.456 MB / 0.5964 GB, free: 10.52 MB / 430.1 MB Notification: Performance of [INI] Inline: time 0.005639/0.4852, allocations: 5.049 MB / 0.6013 GB, free: 6.605 MB / 430.1 MB Notification: Performance of [INI] Partitioning: time 0.0002014/0.4854, allocations: 64.06 kB / 0.6014 GB, free: 6.531 MB / 430.1 MB Notification: Performance of [INI] Cleanup: time 0.001254/0.4866, allocations: 1.004 MB / 0.6024 GB, free: 5.551 MB / 430.1 MB Notification: Performance of [INI] Causalize: time 0.01228/0.4989, allocations: 7.708 MB / 0.6099 GB, free: 13.88 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 0.001677/0.5006, allocations: 1.081 MB / 0.611 GB, free: 12.81 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 2.885e-06/0.5006, allocations: 0 / 0.611 GB, free: 12.81 MB / 446.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.002389/0.503, allocations: 1.432 MB / 0.6124 GB, free: 11.28 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.698e-05/0.503, allocations: 8.094 kB / 0.6124 GB, free: 11.27 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 0.0008847/0.5039, allocations: 0.6225 MB / 0.613 GB, free: 10.66 MB / 446.1 MB Notification: Performance of [SIM] Categorize: time 5.181e-05/0.5039, allocations: 14.09 kB / 0.613 GB, free: 10.66 MB / 446.1 MB Notification: Performance of [SIM] Solve: time 0.007697/0.5116, allocations: 4.593 MB / 0.6175 GB, free: 6.156 MB / 446.1 MB Notification: Performance of [SIM] Jacobian: time 0.03036/0.542, allocations: 26.65 MB / 0.6435 GB, free: 9.074 MB / 478.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: ........... 146 (scalar:146, 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: ........... 189 (scalar:185, 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: ........... 209 (scalar:205, 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.0002262/0.5422, allocations: 124.3 kB / 0.6436 GB, free: 8.953 MB / 478.1 MB Notification: Performance of SimCode: time 0.0444/0.5866, allocations: 17.69 MB / 0.6609 GB, free: 7.879 MB / 494.1 MB Notification: Performance of Templates: time 0.1097/0.6963, allocations: 73.72 MB / 0.7329 GB, free: 14.09 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.168348748004064] 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.7061661949846894 0.721174424 0.272737548 Calling exit ...