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.004916/0.004916, allocations: 103.4 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 4.359 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.3488/0.3488, allocations: 38 MB / 307.9 MB, free: 10.35 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.001732/0.001732, allocations: 71.91 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3278, allocations: 56.46 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.05647/0.3843, allocations: 59.17 MB / 0.5358 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02294/0.4073, allocations: 16.39 MB / 0.5518 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.4086, allocations: 23.88 kB / 0.5518 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.4102, allocations: 445.3 kB / 0.5522 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0181/0.4283, allocations: 4.974 MB / 0.5571 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008108/0.4364, allocations: 2.319 MB / 0.5593 GB, free: 24 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004088/0.4405, allocations: 2.746 MB / 0.562 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.442, allocations: 0.8952 MB / 0.5629 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005766/0.4477, allocations: 2.707 MB / 0.5655 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004534/0.4523, allocations: 2.438 MB / 0.5679 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.4525, allocations: 104 kB / 0.568 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01532/0.4679, allocations: 7.348 MB / 0.5752 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.4684, allocations: 323.1 kB / 0.5755 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009704/0.4694, allocations: 0.5912 MB / 0.5761 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01711/0.4865, allocations: 5.457 MB / 0.5814 GB, free: 9.316 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4866, allocations: 4 kB / 0.5814 GB, free: 9.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4866, allocations: 0 / 0.5814 GB, free: 9.312 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.4866, allocations: 0 / 0.5814 GB, free: 9.312 MB / 462.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.005167/0.4918, allocations: 1.871 MB / 0.5832 GB, free: 7.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4918, allocations: 11.89 kB / 0.5833 GB, free: 7.375 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.4942, allocations: 303.5 kB / 0.5835 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.4954, allocations: 0.6689 MB / 0.5842 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.4956, allocations: 300.2 kB / 0.5845 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.4958, allocations: 88.11 kB / 0.5846 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/0.4989, allocations: 1.5 MB / 0.586 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.499, allocations: 7.875 kB / 0.586 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-05/0.4991, allocations: 40 kB / 0.5861 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.941e-05/0.4991, allocations: 37.98 kB / 0.5861 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.5022, allocations: 1.342 MB / 0.5874 GB, free: 2.93 MB / 462.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.008445/0.5107, allocations: 6.385 MB / 0.5937 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.5135, allocations: 0.9557 MB / 0.5946 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008541/0.5144, allocations: 447 kB / 0.595 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03187/0.5463, allocations: 15.77 MB / 0.6104 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.5464, allocations: 47.12 kB / 0.6105 GB, free: 8.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=59): time 2.825e-06/0.5464, allocations: 0 / 0.6105 GB, free: 8.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=64): time 0.00919/0.5556, allocations: 2.942 MB / 0.6133 GB, free: 5.969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.5557, allocations: 174.8 kB / 0.6135 GB, free: 5.762 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.5567, allocations: 0.8129 MB / 0.6143 GB, free: 4.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.028e-05/0.5568, allocations: 45.69 kB / 0.6143 GB, free: 4.887 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.5572, allocations: 439.4 kB / 0.6148 GB, free: 4.449 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.5574, allocations: 221 kB / 0.615 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.5577, allocations: 178.5 kB / 0.6151 GB, free: 4.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5578, allocations: 398.7 kB / 0.6155 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009069/0.5588, allocations: 445.7 kB / 0.6159 GB, free: 3.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.5598, allocations: 0.661 MB / 0.6166 GB, free: 2.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.5616, allocations: 0.9609 MB / 0.6175 GB, free: 1.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5616, allocations: 0 / 0.6175 GB, free: 1.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002501/0.5641, allocations: 1.219 MB / 0.6187 GB, free: 188 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.5642, allocations: 8.75 kB / 0.6187 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5642, allocations: 4 kB / 0.6187 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003526/0.5645, allocations: 92.8 kB / 0.6188 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.5677, allocations: 339.5 kB / 0.6191 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005498/0.5732, allocations: 6.796 MB / 0.6258 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009397/0.5742, allocations: 80.08 kB / 0.6259 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.5743, allocations: 39.98 kB / 0.6259 GB, free: 8.254 MB / 0.4981 GB 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.0006269/0.575, allocations: 339.6 kB / 0.6262 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.5752, allocations: 86.97 kB / 0.6263 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.5785, allocations: 2.18 MB / 0.6284 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.5786, allocations: 19.98 kB / 0.6285 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.5786, allocations: 0 / 0.6285 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5786, allocations: 3.984 kB / 0.6285 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005412/0.584, allocations: 3.47 MB / 0.6318 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.584, allocations: 4.125 kB / 0.6318 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002996/0.587, allocations: 283.5 kB / 0.6321 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/0.5874, allocations: 96.78 kB / 0.6322 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.076e-05/0.5875, allocations: 19.98 kB / 0.6322 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.284/0.8715, allocations: 6.766 MB / 0.6388 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.8716, allocations: 3.844 kB / 0.6388 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.8758, allocations: 2.17 MB / 0.641 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.8762, allocations: 184 kB / 0.6411 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.8764, allocations: 79.67 kB / 0.6412 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/0.8772, allocations: 64.3 kB / 0.6413 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/0.8776, allocations: 126.3 kB / 0.6414 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.8776, allocations: 26.92 kB / 0.6414 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001401/0.879, allocations: 0.8914 MB / 0.6423 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8791, allocations: 0 / 0.6423 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005085/0.8841, allocations: 1.223 MB / 0.6435 GB, free: 129.4 MB / 0.4981 GB 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.004911/0.8891, allocations: 1.296 MB / 0.6448 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005033/0.8941, allocations: 1.279 MB / 0.646 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.8941, allocations: 0 / 0.646 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003761/0.8979, allocations: 0.8973 MB / 0.6469 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.901, allocations: 0.5742 MB / 0.6474 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.9054, allocations: 2.525 MB / 0.6499 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009028/0.9063, allocations: 1.218 MB / 0.6511 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001433/0.9077, allocations: 0.4977 MB / 0.6516 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.908, allocations: 82.7 kB / 0.6517 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.908, allocations: 0 / 0.6517 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.07699/0.985, allocations: 56.02 MB / 0.7064 GB, free: 85.26 MB / 0.4981 GB 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)