Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003955/0.003962, allocations: 348.2 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.845/3.845, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003661/0.003661, allocations: 218.1 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5479/0.5479, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006916/0.0006919, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09808/0.09881, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.798/7.897, allocations: 2.486 GB / 3.093 GB, free: 42.57 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/7.897, allocations: 87.89 kB / 3.093 GB, free: 42.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.903/10.8, allocations: 0.5143 GB / 3.607 GB, free: 27.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.624e-06/10.8, allocations: 0 / 3.607 GB, free: 27.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.215e-05/10.8, allocations: 27.12 kB / 3.607 GB, free: 27.14 MB / 442.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.009547/10.81, allocations: 2.071 MB / 3.609 GB, free: 25.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/10.81, allocations: 9.406 kB / 3.609 GB, free: 25.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/10.81, allocations: 315.4 kB / 3.609 GB, free: 25.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/10.82, allocations: 0.6984 MB / 3.61 GB, free: 25.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/10.82, allocations: 301.3 kB / 3.61 GB, free: 25.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/10.82, allocations: 79.06 kB / 3.61 GB, free: 25.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005079/10.82, allocations: 1.508 MB / 3.612 GB, free: 24.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/10.82, allocations: 12.36 kB / 3.612 GB, free: 24.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/10.82, allocations: 39.7 kB / 3.612 GB, free: 24.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.365e-05/10.82, allocations: 40.16 kB / 3.612 GB, free: 24.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005077/10.83, allocations: 1.369 MB / 3.613 GB, free: 24.14 MB / 442.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.01215/10.84, allocations: 6.359 MB / 3.62 GB, free: 19.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/10.84, allocations: 0.9898 MB / 3.621 GB, free: 19.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/10.85, allocations: 439.7 kB / 3.621 GB, free: 18.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05547/10.9, allocations: 18.54 MB / 3.639 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.099e-05/10.9, allocations: 46.81 kB / 3.639 GB, free: 15.64 MB / 458.7 MB Notification: Performance of pre-optimization done (n=59): time 5.09e-06/10.9, allocations: 3.75 kB / 3.639 GB, free: 15.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.01513/10.92, allocations: 2.971 MB / 3.642 GB, free: 12.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/10.92, allocations: 170.7 kB / 3.642 GB, free: 12.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/10.92, allocations: 0.7817 MB / 3.643 GB, free: 11.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002876/10.92, allocations: 49.69 kB / 3.643 GB, free: 11.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/10.92, allocations: 462.4 kB / 3.643 GB, free: 11.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/10.92, allocations: 214.7 kB / 3.644 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/10.92, allocations: 16 kB / 3.644 GB, free: 10.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002607/10.92, allocations: 406.7 kB / 3.644 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/10.92, allocations: 457.6 kB / 3.644 GB, free: 10.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/10.92, allocations: 0.7146 MB / 3.645 GB, free: 9.199 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/10.93, allocations: 494 kB / 3.646 GB, free: 8.719 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/10.93, allocations: 4 kB / 3.646 GB, free: 8.715 MB / 458.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.005094/10.93, allocations: 1.282 MB / 3.647 GB, free: 7.422 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/10.93, allocations: 8.094 kB / 3.647 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/10.93, allocations: 12 kB / 3.647 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005605/10.93, allocations: 96.78 kB / 3.647 GB, free: 7.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00755/10.94, allocations: 426.8 kB / 3.647 GB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3706/11.31, allocations: 6.41 MB / 3.654 GB, free: 49.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/11.31, allocations: 147.1 kB / 3.654 GB, free: 49.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/11.31, allocations: 45.14 kB / 3.654 GB, free: 49.76 MB / 458.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.000956/11.31, allocations: 343.1 kB / 3.654 GB, free: 49.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/11.31, allocations: 87.28 kB / 3.654 GB, free: 49.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/11.32, allocations: 2.195 MB / 3.656 GB, free: 49.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-05/11.32, allocations: 25.12 kB / 3.656 GB, free: 49.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/11.32, allocations: 4.469 kB / 3.656 GB, free: 49.51 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/11.32, allocations: 4.672 kB / 3.656 GB, free: 49.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009352/11.33, allocations: 3.43 MB / 3.66 GB, free: 49.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/11.33, allocations: 3.875 kB / 3.66 GB, free: 49.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006952/11.34, allocations: 368.3 kB / 3.66 GB, free: 49.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005692/11.34, allocations: 99.56 kB / 3.66 GB, free: 49.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/11.34, allocations: 21.64 kB / 3.66 GB, free: 49.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00868/11.35, allocations: 6.405 MB / 3.667 GB, free: 43.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/11.35, allocations: 2.344 kB / 3.667 GB, free: 43.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006195/11.35, allocations: 2.168 MB / 3.669 GB, free: 43.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007764/11.35, allocations: 316.1 kB / 3.669 GB, free: 42.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/11.35, allocations: 31.02 kB / 3.669 GB, free: 42.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/11.35, allocations: 112.8 kB / 3.669 GB, free: 42.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004855/11.35, allocations: 134.8 kB / 3.669 GB, free: 42.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/11.36, allocations: 25.45 kB / 3.669 GB, free: 42.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001634/11.36, allocations: 0.7808 MB / 3.67 GB, free: 42.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.82e-07/11.36, allocations: 0 / 3.67 GB, free: 42.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007708/11.36, allocations: 1.282 MB / 3.671 GB, free: 42.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.medium.h,tank.level) * Number of discrete variables: 20 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.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 (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 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01242/11.38, allocations: 1.87 MB / 3.673 GB, free: 42.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009481/11.39, allocations: 1.358 MB / 3.674 GB, free: 42.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/11.39, allocations: 0 / 3.674 GB, free: 42.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007931/11.39, allocations: 0.9532 MB / 3.675 GB, free: 42.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005459/11.4, allocations: 0.5278 MB / 3.676 GB, free: 42.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007399/11.41, allocations: 2.978 MB / 3.679 GB, free: 41.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009985/11.41, allocations: 1.227 MB / 3.68 GB, free: 40.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002165/11.41, allocations: 0.4968 MB / 3.68 GB, free: 40.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/11.41, allocations: 81.09 kB / 3.681 GB, free: 40.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.703e-06/11.41, allocations: 0 / 3.681 GB, free: 40.66 MB / 458.7 MB Notification: Performance of Templates: time 0.1148/11.53, allocations: 53.33 MB / 3.733 GB, free: 38.63 MB / 458.7 MB