Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.h|tank.aboveLevel.1.|tank.aboveLevel.2.|tank.aboveLevel.3.|tank.aboveLevel.4.|tank.ports_m_flow_out.1.|tank.ports_m_flow_out.2.|tank.ports_m_flow_out.3.|tank.ports_m_flow_out.4.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004195/0.004195, allocations: 369.3 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.126/4.126, allocations: 388.9 MB / 405.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00378/0.003779, allocations: 232.9 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5604/0.5604, allocations: 80.03 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004549, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09555, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.3926/0.4882, allocations: 55.13 MB / 0.7339 GB, free: 14.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02699/0.5153, allocations: 15.4 MB / 0.749 GB, free: 11.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.5167, allocations: 29.25 kB / 0.749 GB, free: 11.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.5187, allocations: 361.5 kB / 0.7494 GB, free: 11.09 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Examples/AST_BatchPlant.mo:1515:62-1515:67:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Examples/AST_BatchPlant.mo:1515:48-1515:55:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Examples/AST_BatchPlant.mo:1529:40-1529:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01845/0.5372, allocations: 3.973 MB / 0.7532 GB, free: 9.789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008774/0.546, allocations: 1.843 MB / 0.755 GB, free: 8.789 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004772/0.5508, allocations: 3.245 MB / 0.7582 GB, free: 6.879 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.5527, allocations: 0.6959 MB / 0.7589 GB, free: 6.453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/0.5637, allocations: 3.714 MB / 0.7625 GB, free: 5.406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00931/0.5731, allocations: 3.612 MB / 0.766 GB, free: 4.227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000404/0.5735, allocations: 52 kB / 0.7661 GB, free: 4.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02332/0.5969, allocations: 6.887 MB / 0.7728 GB, free: 13.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008895/0.5978, allocations: 271.1 kB / 0.7731 GB, free: 13.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008638/0.5988, allocations: 233.2 kB / 0.7733 GB, free: 12.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009825/0.6087, allocations: 3.75 MB / 0.777 GB, free: 9.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.6087, allocations: 0 / 0.777 GB, free: 9.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6087, allocations: 0 / 0.777 GB, free: 9.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.935e-05/0.6088, allocations: 0 / 0.777 GB, free: 9.023 MB / 362.7 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.007213/0.616, allocations: 1.703 MB / 0.7786 GB, free: 7.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.6161, allocations: 8.031 kB / 0.7786 GB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/0.6196, allocations: 326.5 kB / 0.7789 GB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.6216, allocations: 0.6407 MB / 0.7796 GB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004015/0.622, allocations: 299.6 kB / 0.7798 GB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.6224, allocations: 83.98 kB / 0.7799 GB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005789/0.6282, allocations: 1.527 MB / 0.7814 GB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/0.6283, allocations: 4 kB / 0.7814 GB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.6285, allocations: 32 kB / 0.7815 GB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.783e-05/0.6286, allocations: 45.98 kB / 0.7815 GB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006559/0.6352, allocations: 1.377 MB / 0.7828 GB, free: 2.773 MB / 362.7 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.01573/0.6509, allocations: 6.393 MB / 0.7891 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005185/0.6562, allocations: 1.014 MB / 0.7901 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.6581, allocations: 446.8 kB / 0.7905 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06889/0.727, allocations: 18.91 MB / 0.809 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.516e-05/0.7271, allocations: 47.12 kB / 0.809 GB, free: 5.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=59): time 4.308e-06/0.7271, allocations: 0 / 0.809 GB, free: 5.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.02112/0.7483, allocations: 3.024 MB / 0.812 GB, free: 2.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.7485, allocations: 166.7 kB / 0.8121 GB, free: 1.914 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/0.751, allocations: 0.7932 MB / 0.8129 GB, free: 1.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003083/0.7513, allocations: 49.69 kB / 0.8129 GB, free: 1.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007605/0.7521, allocations: 447 kB / 0.8134 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/0.7527, allocations: 221 kB / 0.8136 GB, free: 408 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.7529, allocations: 20 kB / 0.8136 GB, free: 388 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003618/0.7532, allocations: 402.7 kB / 0.814 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/0.7559, allocations: 457.7 kB / 0.8144 GB, free: 15.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003/0.759, allocations: 0.7233 MB / 0.8151 GB, free: 14.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.7617, allocations: 498.8 kB / 0.8156 GB, free: 14.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.7618, allocations: 0 / 0.8156 GB, free: 14.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.007194/0.769, allocations: 1.301 MB / 0.8169 GB, free: 12.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.7691, allocations: 12.12 kB / 0.8169 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.7691, allocations: 8 kB / 0.8169 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.7697, allocations: 92.8 kB / 0.817 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006845/0.7765, allocations: 355.4 kB / 0.8173 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.7879, allocations: 6.38 MB / 0.8235 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.7899, allocations: 135.8 kB / 0.8237 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.7901, allocations: 43.98 kB / 0.8237 GB, free: 5.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 21 (tank.heatTransfer.states[1].phase,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[4],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],$PRE.tank.aboveLevel[2],tank.aboveLevel[2],$PRE.tank.aboveLevel[3],tank.aboveLevel[3],$PRE.tank.aboveLevel[4],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.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 (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009112/0.7911, allocations: 343.6 kB / 0.824 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.7914, allocations: 86.97 kB / 0.8241 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00634/0.7977, allocations: 2.207 MB / 0.8263 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/0.7978, allocations: 7.984 kB / 0.8263 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.7978, allocations: 0 / 0.8263 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007052/0.7986, allocations: 307 kB / 0.8266 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004443/0.799, allocations: 31.98 kB / 0.8266 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/0.8009, allocations: 147.7 kB / 0.8268 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004981/0.8015, allocations: 116.3 kB / 0.8269 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01001/0.8115, allocations: 1.626 MB / 0.8285 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0066/0.8182, allocations: 2.119 MB / 0.8305 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001943/0.8202, allocations: 0.5985 MB / 0.8311 GB, free: 13.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001858/0.8221, allocations: 0.789 MB / 0.8319 GB, free: 12.88 MB / 426.7 MB Notification: Performance of Backend: time 1.272e-06/0.8221, allocations: 0 / 0.8319 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01746/0.8396, allocations: 2.331 MB / 0.8342 GB, free: 10.55 MB / 426.7 MB Notification: Performance of SimCode: time 0.008921/0.8485, allocations: 3.264 MB / 0.8373 GB, free: 7.242 MB / 426.7 MB Notification: Performance of Templates: time 0.1629/1.012, allocations: 56.73 MB / 0.8927 GB, free: 14.57 MB / 490.7 MB