Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003971/0.003977, allocations: 349.9 kB / 15.94 MB, free: 6.219 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.739/3.739, 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.00366/0.003659, allocations: 218.1 kB / 397.9 MB, free: 4.973 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.4816/0.4816, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004617, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09329, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.7/7.793, allocations: 2.503 GB / 3.109 GB, free: 22.93 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/7.794, allocations: 93.2 kB / 3.109 GB, free: 22.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.34/10.13, allocations: 410.3 MB / 3.51 GB, free: 44.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/10.13, allocations: 0 / 3.51 GB, free: 44.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.58e-05/10.13, allocations: 20.86 kB / 3.51 GB, free: 44.66 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008789/10.14, allocations: 1.817 MB / 3.512 GB, free: 43.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/10.14, allocations: 6.969 kB / 3.512 GB, free: 43.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/10.15, allocations: 317 kB / 3.512 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/10.15, allocations: 0.6004 MB / 3.513 GB, free: 43.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.767e-05/10.15, allocations: 49.09 kB / 3.513 GB, free: 43.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/10.15, allocations: 54.36 kB / 3.513 GB, free: 43.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/10.15, allocations: 1.018 MB / 3.514 GB, free: 43.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/10.15, allocations: 2.625 kB / 3.514 GB, free: 43.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/10.15, allocations: 30.08 kB / 3.514 GB, free: 43.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/10.15, allocations: 25.72 kB / 3.514 GB, free: 43.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004306/10.16, allocations: 0.9256 MB / 3.515 GB, free: 43.43 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.007801/10.16, allocations: 4.75 MB / 3.519 GB, free: 40.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004108/10.17, allocations: 0.8116 MB / 3.52 GB, free: 40.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/10.17, allocations: 288.9 kB / 3.521 GB, free: 40.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06743/10.24, allocations: 21.32 MB / 3.541 GB, free: 26.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/10.24, allocations: 40.44 kB / 3.541 GB, free: 26.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 3.347e-06/10.24, allocations: 0 / 3.541 GB, free: 26.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.0524/10.29, allocations: 4.951 MB / 3.546 GB, free: 25.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/10.29, allocations: 110.8 kB / 3.546 GB, free: 25.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/10.29, allocations: 0.5032 MB / 3.547 GB, free: 25.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001956/10.29, allocations: 38.58 kB / 3.547 GB, free: 25.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/10.29, allocations: 352.4 kB / 3.547 GB, free: 25.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/10.29, allocations: 233.5 kB / 3.547 GB, free: 25.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/10.29, allocations: 13.69 kB / 3.547 GB, free: 25.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/10.29, allocations: 375.9 kB / 3.548 GB, free: 24.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/10.29, allocations: 475.4 kB / 3.548 GB, free: 24.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/10.3, allocations: 0.6828 MB / 3.549 GB, free: 24.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/10.3, allocations: 0.515 MB / 3.549 GB, free: 24.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/10.3, allocations: 4.938 kB / 3.549 GB, free: 24.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.006013/10.3, allocations: 1.524 MB / 3.551 GB, free: 24.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/10.3, allocations: 271.2 kB / 3.551 GB, free: 24.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/10.3, allocations: 7.875 kB / 3.551 GB, free: 24.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01787/10.32, allocations: 1.801 MB / 3.553 GB, free: 24.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/10.32, allocations: 173.4 kB / 3.553 GB, free: 24.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005045/10.33, allocations: 1.957 MB / 3.555 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/10.33, allocations: 121.5 kB / 3.555 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/10.33, allocations: 50.25 kB / 3.555 GB, free: 23.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/10.33, allocations: 3.969 kB / 3.555 GB, free: 23.22 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006313/10.34, allocations: 1.459 MB / 3.557 GB, free: 23.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/10.34, allocations: 3.844 kB / 3.557 GB, free: 23.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009217/10.35, allocations: 1.039 MB / 3.558 GB, free: 23.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/10.35, allocations: 190 kB / 3.558 GB, free: 23.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004413/10.35, allocations: 1.853 MB / 3.56 GB, free: 22.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/10.35, allocations: 120 kB / 3.56 GB, free: 22.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/10.35, allocations: 53.36 kB / 3.56 GB, free: 22.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006515/10.35, allocations: 305.9 kB / 3.56 GB, free: 21.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/10.36, allocations: 72.36 kB / 3.56 GB, free: 21.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009462/10.36, allocations: 4.064 MB / 3.564 GB, free: 21.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-05/10.36, allocations: 46.91 kB / 3.564 GB, free: 21.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/10.36, allocations: 3.422 kB / 3.564 GB, free: 21.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/10.36, allocations: 7.375 kB / 3.564 GB, free: 21.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/10.38, allocations: 5.509 MB / 3.57 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/10.38, allocations: 0 / 3.57 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007317/10.38, allocations: 108.6 kB / 3.57 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01523/10.39, allocations: 2.348 MB / 3.572 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/10.39, allocations: 24.41 kB / 3.572 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/10.4, allocations: 2.629 MB / 3.575 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/10.4, allocations: 1.5 kB / 3.575 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00728/10.41, allocations: 2.911 MB / 3.577 GB, free: 19.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000824/10.41, allocations: 359 kB / 3.578 GB, free: 19.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/10.41, allocations: 13.69 kB / 3.578 GB, free: 19.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/10.41, allocations: 120.8 kB / 3.578 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/10.41, allocations: 61.05 kB / 3.578 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/10.41, allocations: 33.44 kB / 3.578 GB, free: 19.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007939/10.41, allocations: 447.5 kB / 3.578 GB, free: 19 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/10.41, allocations: 0 / 3.578 GB, free: 19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007732/10.42, allocations: 1.575 MB / 3.58 GB, free: 18.78 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01259/10.43, allocations: 1.837 MB / 3.582 GB, free: 18.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01453/10.44, allocations: 2.331 MB / 3.584 GB, free: 17.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/10.44, allocations: 0 / 3.584 GB, free: 17.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005164/10.45, allocations: 1.227 MB / 3.585 GB, free: 17.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00482/10.45, allocations: 314.2 kB / 3.585 GB, free: 17.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1566/10.61, allocations: 40.72 MB / 3.625 GB, free: 5.227 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/10.61, allocations: 1.198 MB / 3.626 GB, free: 4.184 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002886/10.61, allocations: 0.6606 MB / 3.627 GB, free: 3.797 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/10.62, allocations: 67.19 kB / 3.627 GB, free: 3.734 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/10.62, allocations: 3.938 kB / 3.627 GB, free: 3.73 MB / 442.7 MB Notification: Performance of Templates: time 0.6354/11.25, allocations: 57.53 MB / 3.683 GB, free: 56.25 MB / 458.7 MB