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.001097/0.001098, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00209/0.00209, allocations: 188.7 kB / 16.25 MB, free: 6.617 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.443/1.443, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.288/0.288, allocations: 39.93 MB / 309.4 MB, free: 9.012 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.001265/0.001265, allocations: 63.91 kB / 377.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1079, allocations: 56.88 MB / 434 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.2273/0.3353, allocations: 59.7 MB / 493.7 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.3502, allocations: 16.58 MB / 0.4983 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.3513, allocations: 28.72 kB / 0.4983 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.3525, allocations: 395.8 kB / 0.4987 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01447/0.367, allocations: 4.428 MB / 0.503 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00633/0.3734, allocations: 2.115 MB / 0.5051 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003151/0.3765, allocations: 2.762 MB / 0.5078 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.3778, allocations: 0.8779 MB / 0.5087 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00671/0.3845, allocations: 2.697 MB / 0.5113 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004831/0.3894, allocations: 2.474 MB / 0.5137 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.3897, allocations: 104.4 kB / 0.5138 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01389/0.4036, allocations: 7.233 MB / 0.5209 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007776/0.4044, allocations: 345.8 kB / 0.5212 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.4056, allocations: 0.5888 MB / 0.5218 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.4185, allocations: 5.472 MB / 0.5271 GB, free: 7.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4186, allocations: 0 / 0.5271 GB, free: 7.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4186, allocations: 0 / 0.5271 GB, free: 7.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.454e-05/0.4186, allocations: 0 / 0.5271 GB, free: 7.684 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.005474/0.4241, allocations: 1.883 MB / 0.529 GB, free: 6.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4242, allocations: 13.64 kB / 0.529 GB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.4265, allocations: 311.4 kB / 0.5293 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.4275, allocations: 0.6421 MB / 0.5299 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.4278, allocations: 299.8 kB / 0.5302 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.4279, allocations: 85.34 kB / 0.5303 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.431, allocations: 1.515 MB / 0.5317 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.431, allocations: 6.75 kB / 0.5318 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.4311, allocations: 33.5 kB / 0.5318 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.4312, allocations: 43.95 kB / 0.5318 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/0.4342, allocations: 1.334 MB / 0.5331 GB, free: 3.301 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.008011/0.4422, allocations: 6.408 MB / 0.5394 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.4448, allocations: 0.9485 MB / 0.5403 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/0.4456, allocations: 449.3 kB / 0.5407 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03037/0.476, allocations: 15.69 MB / 0.5561 GB, free: 9.457 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.4761, allocations: 45.56 kB / 0.5561 GB, free: 9.406 MB / 430.1 MB Notification: Performance of pre-optimization done (n=59): time 2.685e-06/0.4761, allocations: 0 / 0.5561 GB, free: 9.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.008409/0.4845, allocations: 2.94 MB / 0.559 GB, free: 6.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.4847, allocations: 162.8 kB / 0.5591 GB, free: 6.215 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.4858, allocations: 0.8169 MB / 0.5599 GB, free: 5.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.486, allocations: 49.69 kB / 0.56 GB, free: 5.332 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.4864, allocations: 443.4 kB / 0.5604 GB, free: 4.891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.4865, allocations: 221 kB / 0.5606 GB, free: 4.672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.4869, allocations: 182.4 kB / 0.5608 GB, free: 4.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.4871, allocations: 394.8 kB / 0.5612 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008862/0.488, allocations: 441.7 kB / 0.5616 GB, free: 3.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.4891, allocations: 0.6727 MB / 0.5622 GB, free: 2.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.4908, allocations: 0.9648 MB / 0.5632 GB, free: 1.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4908, allocations: 4 kB / 0.5632 GB, free: 1.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002451/0.4933, allocations: 1.211 MB / 0.5644 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4933, allocations: 8 kB / 0.5644 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4933, allocations: 8 kB / 0.5644 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/0.4937, allocations: 97.53 kB / 0.5645 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00342/0.4971, allocations: 335.4 kB / 0.5648 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006029/0.5032, allocations: 6.801 MB / 0.5714 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.5044, allocations: 107.9 kB / 0.5715 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.249e-05/0.5045, allocations: 39.98 kB / 0.5716 GB, free: 8.652 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.0005528/0.5051, allocations: 339.7 kB / 0.5719 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.5053, allocations: 90.91 kB / 0.572 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/0.5084, allocations: 2.192 MB / 0.5741 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.5084, allocations: 15.98 kB / 0.5741 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5085, allocations: 4 kB / 0.5742 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.5085, allocations: 3.984 kB / 0.5742 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004937/0.5134, allocations: 3.466 MB / 0.5775 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.5134, allocations: 5.562 kB / 0.5775 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/0.5167, allocations: 291.6 kB / 0.5778 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003549/0.5171, allocations: 104.8 kB / 0.5779 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.5171, allocations: 15.98 kB / 0.5779 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005981/0.5231, allocations: 6.777 MB / 0.5846 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5232, allocations: 3.938 kB / 0.5846 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/0.5267, allocations: 2.168 MB / 0.5867 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.5271, allocations: 183.8 kB / 0.5869 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.5273, allocations: 75.27 kB / 0.5869 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/0.5281, allocations: 91.91 kB / 0.587 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.5284, allocations: 120.3 kB / 0.5871 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.5285, allocations: 29.59 kB / 0.5872 GB, free: 7.977 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.5296, allocations: 0.8922 MB / 0.588 GB, free: 7.078 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5296, allocations: 3.938 kB / 0.588 GB, free: 7.074 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00401/0.5336, allocations: 1.222 MB / 0.5892 GB, free: 5.852 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.005151/0.5387, allocations: 1.299 MB / 0.5905 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00528/0.544, allocations: 1.438 MB / 0.5919 GB, free: 3.117 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.5441, allocations: 7.938 kB / 0.5919 GB, free: 3.109 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003694/0.5478, allocations: 0.8978 MB / 0.5928 GB, free: 2.207 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.5506, allocations: 0.5629 MB / 0.5933 GB, free: 1.656 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.5547, allocations: 3.013 MB / 0.5963 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007163/0.5554, allocations: 1.215 MB / 0.5975 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001098/0.5565, allocations: 0.4955 MB / 0.5979 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.5568, allocations: 83.42 kB / 0.598 GB, free: 12.77 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.5568, allocations: 0 / 0.598 GB, free: 12.77 MB / 478.1 MB Notification: Performance of Templates: time 0.2315/0.7882, allocations: 54.84 MB / 0.6516 GB, free: 149.2 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)