Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001186/0.001186, allocations: 108 kB / 15.61 MB, free: 152 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.001323/0.001323, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.458/1.458, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3077/0.3077, allocations: 37.99 MB / 307.8 MB, free: 9.992 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.1. 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.001737/0.001737, allocations: 70.61 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1198, allocations: 56.46 MB / 431.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.2432/0.3631, allocations: 59.17 MB / 490.9 MB, free: 20.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.3777, allocations: 16.38 MB / 0.4954 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008551/0.3787, allocations: 18.56 kB / 0.4954 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.3799, allocations: 439.1 kB / 0.4958 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.3936, allocations: 4.986 MB / 0.5007 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007068/0.4007, allocations: 2.333 MB / 0.5029 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004272/0.4049, allocations: 2.751 MB / 0.5056 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.4066, allocations: 0.8858 MB / 0.5065 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007078/0.4137, allocations: 2.687 MB / 0.5091 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005345/0.419, allocations: 2.433 MB / 0.5115 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.4193, allocations: 102.8 kB / 0.5116 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.015/0.4344, allocations: 7.179 MB / 0.5186 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005458/0.4349, allocations: 337.8 kB / 0.5189 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.4361, allocations: 0.5849 MB / 0.5195 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.4487, allocations: 5.456 MB / 0.5248 GB, free: 10.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.4487, allocations: 0 / 0.5248 GB, free: 10.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4487, allocations: 0 / 0.5248 GB, free: 10.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.4488, allocations: 4 kB / 0.5248 GB, free: 10.51 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.005491/0.4543, allocations: 1.874 MB / 0.5267 GB, free: 9.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4543, allocations: 13.48 kB / 0.5267 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.4565, allocations: 312.8 kB / 0.527 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.4577, allocations: 0.6487 MB / 0.5276 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.458, allocations: 300.6 kB / 0.5279 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.4581, allocations: 80.97 kB / 0.528 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.4614, allocations: 1.515 MB / 0.5295 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.4614, allocations: 7.312 kB / 0.5295 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.4615, allocations: 34.88 kB / 0.5295 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-05/0.4616, allocations: 42.45 kB / 0.5295 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.4646, allocations: 1.342 MB / 0.5308 GB, free: 6.574 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.009199/0.4738, allocations: 6.406 MB / 0.5371 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.4767, allocations: 0.9665 MB / 0.538 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009019/0.4776, allocations: 449.3 kB / 0.5385 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03531/0.5129, allocations: 15.7 MB / 0.5538 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.513, allocations: 39.12 kB / 0.5538 GB, free: 13.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=59): time 2.445e-06/0.513, allocations: 0 / 0.5538 GB, free: 13.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.009147/0.5222, allocations: 2.944 MB / 0.5567 GB, free: 10.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.5223, allocations: 162.8 kB / 0.5569 GB, free: 10.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5234, allocations: 0.8169 MB / 0.5577 GB, free: 9.395 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.5235, allocations: 53.62 kB / 0.5577 GB, free: 9.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.5239, allocations: 439.4 kB / 0.5581 GB, free: 8.902 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.5241, allocations: 221 kB / 0.5584 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.5244, allocations: 174.5 kB / 0.5585 GB, free: 8.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5246, allocations: 402.7 kB / 0.5589 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009818/0.5256, allocations: 441.7 kB / 0.5593 GB, free: 7.672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.5268, allocations: 0.6649 MB / 0.56 GB, free: 6.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.5287, allocations: 0.9609 MB / 0.5609 GB, free: 5.867 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5287, allocations: 0 / 0.5609 GB, free: 5.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002774/0.5315, allocations: 1.219 MB / 0.5621 GB, free: 4.637 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.5316, allocations: 8 kB / 0.5621 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.5316, allocations: 4 kB / 0.5621 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.532, allocations: 93.48 kB / 0.5622 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/0.5353, allocations: 340.1 kB / 0.5625 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006917/0.5422, allocations: 6.8 MB / 0.5692 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.5437, allocations: 71.92 kB / 0.5692 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.5439, allocations: 43.92 kB / 0.5693 GB, free: 12.71 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.000947/0.5449, allocations: 347.8 kB / 0.5696 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004379/0.5453, allocations: 91.53 kB / 0.5697 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/0.5493, allocations: 2.186 MB / 0.5718 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.5493, allocations: 19.98 kB / 0.5719 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5493, allocations: 0.5625 kB / 0.5719 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.5494, allocations: 3.984 kB / 0.5719 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005836/0.5552, allocations: 3.462 MB / 0.5752 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5552, allocations: 64 / 0.5752 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003168/0.5584, allocations: 291.7 kB / 0.5755 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.5588, allocations: 108.6 kB / 0.5756 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.392e-05/0.5589, allocations: 19.98 kB / 0.5756 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00624/0.5652, allocations: 6.769 MB / 0.5823 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5652, allocations: 0 / 0.5823 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/0.5694, allocations: 2.168 MB / 0.5844 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/0.5698, allocations: 183.8 kB / 0.5845 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003257/0.5702, allocations: 75.33 kB / 0.5846 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009144/0.5711, allocations: 67.92 kB / 0.5847 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.5714, allocations: 124.3 kB / 0.5848 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.5715, allocations: 27.92 kB / 0.5848 GB, free: 12.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001312/0.5728, allocations: 0.9 MB / 0.5857 GB, free: 11.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5728, allocations: 0 / 0.5857 GB, free: 11.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004693/0.5775, allocations: 1.218 MB / 0.5869 GB, free: 9.938 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.007272/0.5848, allocations: 1.305 MB / 0.5882 GB, free: 8.629 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005894/0.5907, allocations: 1.43 MB / 0.5896 GB, free: 7.195 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.5907, allocations: 0 / 0.5896 GB, free: 7.195 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003926/0.5947, allocations: 0.9095 MB / 0.5905 GB, free: 6.281 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/0.5978, allocations: 0.551 MB / 0.591 GB, free: 5.727 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.6024, allocations: 2.577 MB / 0.5935 GB, free: 3.113 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/0.6033, allocations: 1.223 MB / 0.5947 GB, free: 1.863 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001152/0.6044, allocations: 0.4913 MB / 0.5952 GB, free: 1.371 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.6047, allocations: 83.42 kB / 0.5953 GB, free: 1.289 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6047, allocations: 4 kB / 0.5953 GB, free: 1.285 MB / 462.1 MB Notification: Performance of Templates: time 0.2341/0.8388, allocations: 55.38 MB / 0.6494 GB, free: 152.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.pipe 2>&1)