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.004167/0.004173, allocations: 363 kB / 15.95 MB, free: 6.207 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.583/4.583, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.00358/0.00358, allocations: 223.8 kB / 451 MB, free: 145 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.5278/0.5278, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004894, allocations: 8 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.102/8.21, allocations: 2.597 GB / 3.277 GB, free: 49.94 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/8.21, allocations: 96.77 kB / 3.277 GB, free: 49.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906/11.12, allocations: 0.5248 GB / 3.802 GB, free: 45.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/11.12, allocations: 3.812 kB / 3.802 GB, free: 45.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.883e-05/11.12, allocations: 21.19 kB / 3.802 GB, free: 45.48 MB / 490.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.01008/11.13, allocations: 2.127 MB / 3.804 GB, free: 44.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/11.13, allocations: 10.69 kB / 3.804 GB, free: 44.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/11.13, allocations: 320.8 kB / 3.804 GB, free: 44.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/11.13, allocations: 0.6962 MB / 3.805 GB, free: 43.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/11.13, allocations: 299.9 kB / 3.805 GB, free: 43.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/11.13, allocations: 83.98 kB / 3.805 GB, free: 43.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005155/11.14, allocations: 1.511 MB / 3.807 GB, free: 42.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/11.14, allocations: 0 / 3.807 GB, free: 42.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/11.14, allocations: 33.72 kB / 3.807 GB, free: 42.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/11.14, allocations: 44.53 kB / 3.807 GB, free: 42.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005456/11.14, allocations: 1.372 MB / 3.808 GB, free: 42.48 MB / 490.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.01217/11.16, allocations: 6.36 MB / 3.814 GB, free: 37.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/11.16, allocations: 0.9854 MB / 3.815 GB, free: 37.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/11.16, allocations: 435.1 kB / 3.816 GB, free: 37.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05661/11.22, allocations: 18.65 MB / 3.834 GB, free: 24.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/11.22, allocations: 46.06 kB / 3.834 GB, free: 24.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 4.499e-06/11.22, allocations: 4 kB / 3.834 GB, free: 24.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01435/11.23, allocations: 2.982 MB / 3.837 GB, free: 23.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.224e-05/11.23, allocations: 161.3 kB / 3.837 GB, free: 23.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/11.23, allocations: 0.7962 MB / 3.838 GB, free: 23.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/11.23, allocations: 46.83 kB / 3.838 GB, free: 23.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/11.24, allocations: 457.5 kB / 3.838 GB, free: 22.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/11.24, allocations: 216.8 kB / 3.838 GB, free: 22.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/11.24, allocations: 18.66 kB / 3.838 GB, free: 22.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/11.24, allocations: 396.4 kB / 3.839 GB, free: 22.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/11.24, allocations: 453.8 kB / 3.839 GB, free: 22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/11.24, allocations: 0.7224 MB / 3.84 GB, free: 21.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/11.24, allocations: 486.7 kB / 3.84 GB, free: 21.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/11.24, allocations: 3.938 kB / 3.84 GB, free: 21.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.004461/11.25, allocations: 1.284 MB / 3.842 GB, free: 20.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/11.25, allocations: 7.156 kB / 3.842 GB, free: 20.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/11.25, allocations: 10.94 kB / 3.842 GB, free: 20.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000558/11.25, allocations: 92.5 kB / 3.842 GB, free: 20.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007187/11.25, allocations: 432.3 kB / 3.842 GB, free: 20.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008528/11.26, allocations: 6.418 MB / 3.848 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/11.26, allocations: 144.6 kB / 3.849 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/11.26, allocations: 42.69 kB / 3.849 GB, free: 14.57 MB / 490.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.0008331/11.26, allocations: 343 kB / 3.849 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/11.27, allocations: 86.47 kB / 3.849 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005101/11.27, allocations: 2.211 MB / 3.851 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/11.27, allocations: 19.09 kB / 3.851 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/11.27, allocations: 4 kB / 3.851 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/11.27, allocations: 3.703 kB / 3.851 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008087/11.28, allocations: 3.435 MB / 3.855 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/11.28, allocations: 3.344 kB / 3.855 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006774/11.29, allocations: 365.2 kB / 3.855 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005719/11.29, allocations: 101.6 kB / 3.855 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/11.29, allocations: 17.61 kB / 3.855 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008925/11.3, allocations: 6.403 MB / 3.861 GB, free: 21.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/11.3, allocations: 0 / 3.861 GB, free: 21.6 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005493/11.3, allocations: 2.178 MB / 3.863 GB, free: 20.59 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/11.3, allocations: 307 kB / 3.864 GB, free: 20.36 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/11.3, allocations: 27.41 kB / 3.864 GB, free: 20.35 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/11.3, allocations: 112.5 kB / 3.864 GB, free: 20.33 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/11.3, allocations: 132.4 kB / 3.864 GB, free: 20.31 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/11.3, allocations: 33.67 kB / 3.864 GB, free: 20.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001472/11.31, allocations: 0.7839 MB / 3.865 GB, free: 19.98 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.81e-07/11.31, allocations: 4 kB / 3.865 GB, free: 19.98 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00687/11.31, allocations: 1.295 MB / 3.866 GB, free: 18.79 MB / 0.4949 GB 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.0114/11.32, allocations: 1.883 MB / 3.868 GB, free: 17.36 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.009311/11.33, allocations: 1.352 MB / 3.869 GB, free: 16.26 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/11.33, allocations: 0 / 3.869 GB, free: 16.26 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007424/11.34, allocations: 0.9556 MB / 3.87 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005118/11.35, allocations: 0.5231 MB / 3.871 GB, free: 15.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006802/11.35, allocations: 2.971 MB / 3.873 GB, free: 12.41 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/11.35, allocations: 1.23 MB / 3.875 GB, free: 11.35 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002134/11.36, allocations: 0.4976 MB / 3.875 GB, free: 11.03 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/11.36, allocations: 82.91 kB / 3.875 GB, free: 10.95 MB / 0.4949 GB Notification: Performance of SimCode: time 1.493e-06/11.36, allocations: 0 / 3.875 GB, free: 10.95 MB / 0.4949 GB Notification: Performance of Templates: time 0.5143/11.87, allocations: 53.6 MB / 3.928 GB, free: 56.16 MB / 0.4949 GB