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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.273/2.273, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.589e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2759, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.126/6.402, allocations: 2.617 GB / 2.967 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/6.402, allocations: 80.61 kB / 2.967 GB, free: 436 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033/8.435, allocations: 433 MB / 3.389 GB, free: 64.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.235e-06/8.435, allocations: 3.812 kB / 3.389 GB, free: 64.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.88e-05/8.435, allocations: 18.12 kB / 3.39 GB, free: 64.25 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.006139/8.441, allocations: 1.764 MB / 3.391 GB, free: 63.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/8.441, allocations: 10.19 kB / 3.391 GB, free: 63.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/8.445, allocations: 347.5 kB / 3.392 GB, free: 63.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/8.447, allocations: 0.5873 MB / 3.392 GB, free: 63.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/8.447, allocations: 28.39 kB / 3.392 GB, free: 63.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/8.447, allocations: 32.94 kB / 3.392 GB, free: 63.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001238/8.448, allocations: 0.5469 MB / 3.393 GB, free: 63.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/8.449, allocations: 0.6644 MB / 3.393 GB, free: 62.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/8.449, allocations: 3.219 kB / 3.393 GB, free: 62.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/8.45, allocations: 0 / 3.393 GB, free: 62.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/8.45, allocations: 28.22 kB / 3.393 GB, free: 62.98 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.09478/8.544, allocations: 36.73 MB / 3.429 GB, free: 43.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/8.545, allocations: 361.3 kB / 3.43 GB, free: 43.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/8.546, allocations: 195.7 kB / 3.43 GB, free: 43.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04402/8.59, allocations: 20.29 MB / 3.45 GB, free: 30.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/8.59, allocations: 34.31 kB / 3.45 GB, free: 30.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 4.457e-06/8.59, allocations: 3.75 kB / 3.45 GB, free: 30.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.02574/8.616, allocations: 3.306 MB / 3.453 GB, free: 29.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/8.616, allocations: 114.6 kB / 3.453 GB, free: 29.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006172/8.616, allocations: 403.9 kB / 3.453 GB, free: 29.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.977e-05/8.616, allocations: 29.36 kB / 3.453 GB, free: 29.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/8.617, allocations: 401.8 kB / 3.454 GB, free: 29.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/8.617, allocations: 189.8 kB / 3.454 GB, free: 29.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/8.617, allocations: 0 / 3.454 GB, free: 29.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/8.617, allocations: 341.5 kB / 3.454 GB, free: 28.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/8.617, allocations: 269.8 kB / 3.455 GB, free: 28.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/8.618, allocations: 494.5 kB / 3.455 GB, free: 28.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/8.621, allocations: 486.6 kB / 3.456 GB, free: 28.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.508e-06/8.621, allocations: 3.688 kB / 3.456 GB, free: 28.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00433/8.625, allocations: 1.107 MB / 3.457 GB, free: 28.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004706/8.625, allocations: 2.443 MB / 3.459 GB, free: 25.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/8.626, allocations: 7.938 kB / 3.459 GB, free: 25.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/8.628, allocations: 0.567 MB / 3.46 GB, free: 25.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/8.629, allocations: 160.2 kB / 3.46 GB, free: 25.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/8.632, allocations: 1.749 MB / 3.461 GB, free: 24.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/8.634, allocations: 105.8 kB / 3.461 GB, free: 24.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/8.634, allocations: 48.91 kB / 3.462 GB, free: 24.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/8.634, allocations: 6.594 kB / 3.462 GB, free: 24.84 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004595/8.639, allocations: 0.9619 MB / 3.462 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/8.639, allocations: 6.625 kB / 3.462 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/8.641, allocations: 329.6 kB / 3.463 GB, free: 24.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/8.641, allocations: 183.1 kB / 3.463 GB, free: 24.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/8.643, allocations: 1.457 MB / 3.464 GB, free: 23.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/8.644, allocations: 89.48 kB / 3.464 GB, free: 23.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/8.644, allocations: 42.91 kB / 3.465 GB, free: 23.7 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (68): * Single equations (assignments): 66 * 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.0003347/8.645, allocations: 131.3 kB / 3.465 GB, free: 23.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/8.645, allocations: 63.45 kB / 3.465 GB, free: 23.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006759/8.652, allocations: 3.355 MB / 3.468 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-05/8.652, allocations: 40.95 kB / 3.468 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.978e-06/8.652, allocations: 0 / 3.468 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/8.652, allocations: 3.656 kB / 3.468 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007284/8.659, allocations: 4.288 MB / 3.472 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/8.659, allocations: 7.672 kB / 3.472 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/8.66, allocations: 95.22 kB / 3.472 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003503/8.663, allocations: 1.544 MB / 3.474 GB, free: 22.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.453e-05/8.663, allocations: 13.95 kB / 3.474 GB, free: 22.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003462/8.667, allocations: 2.634 MB / 3.476 GB, free: 21.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.999e-06/8.667, allocations: 0 / 3.476 GB, free: 21.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/8.671, allocations: 2.329 MB / 3.479 GB, free: 21.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005968/8.672, allocations: 307 kB / 3.479 GB, free: 20.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/8.672, allocations: 0 / 3.479 GB, free: 20.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009677/8.673, allocations: 91.69 kB / 3.479 GB, free: 20.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/8.673, allocations: 52.77 kB / 3.479 GB, free: 20.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.223e-05/8.673, allocations: 31.17 kB / 3.479 GB, free: 20.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005191/8.674, allocations: 363.1 kB / 3.479 GB, free: 20.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.73e-07/8.674, allocations: 0 / 3.479 GB, free: 20.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005727/8.679, allocations: 1.509 MB / 3.481 GB, free: 19.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.008978/8.688, allocations: 1.927 MB / 3.483 GB, free: 18.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003672/8.692, allocations: 1.545 MB / 3.484 GB, free: 17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.771e-06/8.692, allocations: 3.938 kB / 3.484 GB, free: 17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/8.694, allocations: 0.9137 MB / 3.485 GB, free: 16.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/8.695, allocations: 262.2 kB / 3.486 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/8.699, allocations: 1.792 MB / 3.487 GB, free: 14.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/8.699, allocations: 1.127 MB / 3.488 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/8.7, allocations: 73.25 kB / 3.488 GB, free: 13.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.84e-06/8.7, allocations: 2.156 kB / 3.488 GB, free: 13.25 MB / 490.7 MB Notification: Performance of Templates: time 0.3712/9.071, allocations: 45.12 MB / 3.532 GB, free: 76.36 MB / 0.4948 GB