Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.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(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 196.8 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.322/0.322, allocations: 39.94 MB / 309.7 MB, free: 9.285 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 62.41 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.0983, allocations: 56.89 MB / 434.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.2228/0.3211, allocations: 59.15 MB / 493.7 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01515/0.3363, allocations: 16.38 MB / 0.4981 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006315/0.337, allocations: 20.03 kB / 0.4981 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.3381, allocations: 442 kB / 0.4985 GB, free: 5.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.013/0.3511, allocations: 4.98 MB / 0.5034 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00672/0.3579, allocations: 2.324 MB / 0.5057 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003756/0.3616, allocations: 2.754 MB / 0.5083 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.3634, allocations: 0.8909 MB / 0.5092 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006321/0.3697, allocations: 2.695 MB / 0.5118 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005215/0.375, allocations: 2.43 MB / 0.5142 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.3753, allocations: 104.1 kB / 0.5143 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/0.3906, allocations: 7.184 MB / 0.5213 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006529/0.3913, allocations: 333.4 kB / 0.5216 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.3925, allocations: 0.5853 MB / 0.5222 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01506/0.4076, allocations: 5.457 MB / 0.5276 GB, free: 7.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4077, allocations: 1.375 kB / 0.5276 GB, free: 7.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4077, allocations: 0 / 0.5276 GB, free: 7.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.741e-05/0.4077, allocations: 4 kB / 0.5276 GB, free: 7.395 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.006959/0.4147, allocations: 1.88 MB / 0.5294 GB, free: 6.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4147, allocations: 11.45 kB / 0.5294 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.4172, allocations: 303.4 kB / 0.5297 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.4184, allocations: 0.6485 MB / 0.5303 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.4186, allocations: 294.7 kB / 0.5306 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.4188, allocations: 80.22 kB / 0.5307 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/0.4221, allocations: 1.52 MB / 0.5322 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.4221, allocations: 3.938 kB / 0.5322 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.4222, allocations: 35.66 kB / 0.5322 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/0.4223, allocations: 43.77 kB / 0.5322 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003142/0.4254, allocations: 1.344 MB / 0.5336 GB, free: 3.086 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008804/0.4343, allocations: 6.421 MB / 0.5398 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.4372, allocations: 0.9548 MB / 0.5408 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008815/0.4381, allocations: 445.3 kB / 0.5412 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03271/0.4708, allocations: 15.7 MB / 0.5565 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.4709, allocations: 43.12 kB / 0.5566 GB, free: 9.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=59): time 2.825e-06/0.4709, allocations: 0 / 0.5566 GB, free: 9.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.008949/0.4798, allocations: 2.943 MB / 0.5594 GB, free: 6.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/0.4799, allocations: 170.8 kB / 0.5596 GB, free: 5.969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.481, allocations: 0.813 MB / 0.5604 GB, free: 5.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.026e-05/0.4811, allocations: 45.7 kB / 0.5604 GB, free: 5.094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.4815, allocations: 451.3 kB / 0.5609 GB, free: 4.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.4817, allocations: 217 kB / 0.5611 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.482, allocations: 178.5 kB / 0.5612 GB, free: 4.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4822, allocations: 398.7 kB / 0.5616 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.4832, allocations: 433.7 kB / 0.562 GB, free: 3.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.4844, allocations: 0.6688 MB / 0.5627 GB, free: 2.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.4862, allocations: 0.9648 MB / 0.5636 GB, free: 1.613 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4863, allocations: 0 / 0.5636 GB, free: 1.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002849/0.4891, allocations: 1.219 MB / 0.5648 GB, free: 392 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.4892, allocations: 9.406 kB / 0.5648 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.4892, allocations: 11.94 kB / 0.5648 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.4896, allocations: 93.48 kB / 0.5649 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/0.493, allocations: 343.5 kB / 0.5653 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.4991, allocations: 6.789 MB / 0.5719 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.5003, allocations: 75.92 kB / 0.572 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.5005, allocations: 43.98 kB / 0.572 GB, free: 8.449 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 21 (Boundary_fixed.medium.phase,massFlowRate[2].medium.phase,massFlowRate[1].medium.phase,tank.aboveLevel[4],$PRE.tank.aboveLevel[4],tank.aboveLevel[3],$PRE.tank.aboveLevel[3],tank.aboveLevel[2],$PRE.tank.aboveLevel[2],tank.aboveLevel[1],$PRE.tank.aboveLevel[1],tank.ports_m_flow_out[4],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[1],tank.heatTransfer.states[1].phase,Boundary_fixed.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005872/0.5011, allocations: 335.8 kB / 0.5723 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.5013, allocations: 90.91 kB / 0.5724 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.5051, allocations: 2.193 MB / 0.5745 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/0.5051, allocations: 15.98 kB / 0.5746 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5051, allocations: 4 kB / 0.5746 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.5051, allocations: 3.984 kB / 0.5746 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/0.5111, allocations: 3.47 MB / 0.578 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.5111, allocations: 4 kB / 0.578 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003052/0.5142, allocations: 287.7 kB / 0.5782 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/0.5146, allocations: 100.8 kB / 0.5783 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.5146, allocations: 15.98 kB / 0.5783 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00599/0.5206, allocations: 6.781 MB / 0.585 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5207, allocations: 0 / 0.585 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.5243, allocations: 2.172 MB / 0.5871 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.5247, allocations: 187.6 kB / 0.5873 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/0.5249, allocations: 71.42 kB / 0.5873 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007935/0.5257, allocations: 63.92 kB / 0.5874 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.526, allocations: 120.3 kB / 0.5875 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.5261, allocations: 27.98 kB / 0.5875 GB, free: 7.805 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00124/0.5273, allocations: 0.8922 MB / 0.5884 GB, free: 6.906 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5273, allocations: 0 / 0.5884 GB, free: 6.906 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003949/0.5313, allocations: 1.226 MB / 0.5896 GB, free: 5.68 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.level,tank.medium.h) * Number of discrete variables: 20 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,tank.heatTransfer.states[1].phase,tank.ports_m_flow_out[1],tank.ports_m_flow_out[2],tank.ports_m_flow_out[3],tank.ports_m_flow_out[4],tank.aboveLevel[1],tank.aboveLevel[2],tank.aboveLevel[3],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase) * Number of discrete states: 8 (tank.aboveLevel[1],tank.ports_m_flow_out[1],tank.aboveLevel[2],tank.ports_m_flow_out[2],tank.aboveLevel[3],tank.ports_m_flow_out[3],tank.aboveLevel[4],tank.ports_m_flow_out[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006812/0.5381, allocations: 1.302 MB / 0.5909 GB, free: 4.375 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006033/0.5442, allocations: 1.446 MB / 0.5923 GB, free: 2.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.5442, allocations: 0 / 0.5923 GB, free: 2.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003798/0.548, allocations: 0.8901 MB / 0.5932 GB, free: 2.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.5511, allocations: 0.566 MB / 0.5937 GB, free: 1.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.5552, allocations: 2.578 MB / 0.5962 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008208/0.5561, allocations: 1.223 MB / 0.5974 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001102/0.5572, allocations: 491.5 kB / 0.5979 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.5574, allocations: 83.41 kB / 0.598 GB, free: 13.04 MB / 478.1 MB Notification: Performance of SimCode: time 4e-07/0.5575, allocations: 0 / 0.598 GB, free: 13.04 MB / 478.1 MB Notification: Performance of Templates: time 0.2487/0.8062, allocations: 55.39 MB / 0.6521 GB, free: 149.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1)