Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadModel(ModelicaTest): time 2.117/2.117, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.998e-05/3.011e-05, allocations: 4 kB / 309.7 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 54.85 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.248/6.57, allocations: 2.618 GB / 2.974 GB, free: 108.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/6.57, allocations: 86.44 kB / 2.974 GB, free: 108.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.811/8.381, allocations: 437.2 MB / 3.401 GB, free: 52.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/8.381, allocations: 6.812 kB / 3.401 GB, free: 52.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.299e-05/8.381, allocations: 13.47 kB / 3.401 GB, free: 52.81 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006191/8.387, allocations: 1.767 MB / 3.402 GB, free: 51.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/8.387, allocations: 10.88 kB / 3.402 GB, free: 51.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/8.391, allocations: 355.5 kB / 3.403 GB, free: 51.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/8.392, allocations: 0.5787 MB / 3.403 GB, free: 51.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-05/8.392, allocations: 54.45 kB / 3.403 GB, free: 51.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/8.392, allocations: 60.47 kB / 3.403 GB, free: 51.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/8.395, allocations: 0.9782 MB / 3.404 GB, free: 51.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/8.395, allocations: 3.281 kB / 3.404 GB, free: 51.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/8.395, allocations: 31.34 kB / 3.404 GB, free: 51.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/8.395, allocations: 24.62 kB / 3.404 GB, free: 51.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/8.398, allocations: 0.8119 MB / 3.405 GB, free: 51.43 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005517/8.403, allocations: 4.826 MB / 3.41 GB, free: 48.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/8.406, allocations: 0.687 MB / 3.411 GB, free: 48.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/8.406, allocations: 230.5 kB / 3.411 GB, free: 48.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04666/8.453, allocations: 21.71 MB / 3.432 GB, free: 34.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/8.453, allocations: 38.62 kB / 3.432 GB, free: 34.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.409e-06/8.453, allocations: 0 / 3.432 GB, free: 34.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.02734/8.48, allocations: 3.797 MB / 3.436 GB, free: 33.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/8.481, allocations: 111.2 kB / 3.436 GB, free: 33.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/8.481, allocations: 428.5 kB / 3.436 GB, free: 33.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/8.481, allocations: 41.61 kB / 3.436 GB, free: 33.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/8.482, allocations: 383.3 kB / 3.437 GB, free: 32.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/8.482, allocations: 213.8 kB / 3.437 GB, free: 32.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/8.482, allocations: 12 kB / 3.437 GB, free: 32.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/8.482, allocations: 338.6 kB / 3.437 GB, free: 32.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/8.483, allocations: 276.7 kB / 3.437 GB, free: 32.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/8.483, allocations: 496.9 kB / 3.438 GB, free: 31.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008302/8.484, allocations: 340.1 kB / 3.438 GB, free: 31.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.378e-06/8.484, allocations: 0 / 3.438 GB, free: 31.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002542/8.487, allocations: 1.021 MB / 3.439 GB, free: 31.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004652/8.487, allocations: 2.438 MB / 3.442 GB, free: 28.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/8.487, allocations: 7.719 kB / 3.442 GB, free: 28.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005017/8.492, allocations: 0.8205 MB / 3.442 GB, free: 28.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/8.493, allocations: 165.8 kB / 3.443 GB, free: 28.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/8.495, allocations: 1.603 MB / 3.444 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/8.497, allocations: 114.7 kB / 3.444 GB, free: 27.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/8.497, allocations: 50.31 kB / 3.444 GB, free: 27.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/8.497, allocations: 3.188 kB / 3.444 GB, free: 27.16 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002729/8.5, allocations: 0.9801 MB / 3.445 GB, free: 26.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/8.5, allocations: 6.406 kB / 3.445 GB, free: 26.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/8.502, allocations: 0.5205 MB / 3.446 GB, free: 26.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/8.503, allocations: 166.4 kB / 3.446 GB, free: 26.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/8.505, allocations: 1.545 MB / 3.447 GB, free: 25.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/8.506, allocations: 99.94 kB / 3.448 GB, free: 25.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/8.506, allocations: 50.3 kB / 3.448 GB, free: 25.36 MB / 490.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002785/8.507, allocations: 153.5 kB / 3.448 GB, free: 25.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/8.507, allocations: 65.16 kB / 3.448 GB, free: 25.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006447/8.513, allocations: 3.966 MB / 3.452 GB, free: 23.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.617e-05/8.513, allocations: 52.03 kB / 3.452 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.418e-06/8.513, allocations: 3.953 kB / 3.452 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/8.514, allocations: 3.938 kB / 3.452 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007469/8.521, allocations: 5.162 MB / 3.457 GB, free: 20.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.417e-06/8.521, allocations: 0 / 3.457 GB, free: 20.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/8.522, allocations: 117 kB / 3.457 GB, free: 20.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005495/8.527, allocations: 1.744 MB / 3.459 GB, free: 20.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/8.527, allocations: 18.7 kB / 3.459 GB, free: 20.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/8.53, allocations: 2.374 MB / 3.461 GB, free: 18.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.304e-06/8.53, allocations: 3.953 kB / 3.461 GB, free: 18.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/8.534, allocations: 2.496 MB / 3.463 GB, free: 17.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/8.535, allocations: 349.5 kB / 3.464 GB, free: 17.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/8.535, allocations: 19.77 kB / 3.464 GB, free: 17.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009689/8.536, allocations: 102.8 kB / 3.464 GB, free: 17.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/8.536, allocations: 63.72 kB / 3.464 GB, free: 17.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/8.536, allocations: 33.38 kB / 3.464 GB, free: 17.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006285/8.537, allocations: 421.7 kB / 3.464 GB, free: 16.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.32e-07/8.537, allocations: 0 / 3.464 GB, free: 16.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005888/8.543, allocations: 1.572 MB / 3.466 GB, free: 16.65 MB / 490.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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * 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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.00881/8.551, allocations: 1.845 MB / 3.468 GB, free: 16.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003959/8.555, allocations: 1.74 MB / 3.469 GB, free: 15.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.792e-06/8.555, allocations: 7.469 kB / 3.469 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/8.557, allocations: 1.023 MB / 3.47 GB, free: 14.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/8.559, allocations: 300.4 kB / 3.471 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4804/9.04, allocations: 77.39 MB / 3.546 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/9.04, allocations: 1.179 MB / 3.547 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/9.041, allocations: 74.22 kB / 3.547 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of SimCode: time 2.408e-06/9.041, allocations: 0 / 3.547 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.0678/9.108, allocations: 45.96 MB / 3.592 GB, free: 59.66 MB / 0.4948 GB