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.TestWaterPumpDefaultCV.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.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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadModel(ModelicaTest): time 2.125/2.125, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/2.004e-05, allocations: 4 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2697, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.361/6.631, allocations: 2.612 GB / 2.962 GB, free: 104.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/6.631, allocations: 83.56 kB / 2.962 GB, free: 104.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.74/8.371, allocations: 433.1 MB / 3.385 GB, free: 58.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.331e-06/8.371, allocations: 0 / 3.385 GB, free: 58.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.8e-05/8.371, allocations: 21.42 kB / 3.385 GB, free: 58.95 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.005951/8.377, allocations: 1.787 MB / 3.387 GB, free: 58.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/8.377, allocations: 10.5 kB / 3.387 GB, free: 58.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/8.38, allocations: 326 kB / 3.387 GB, free: 58.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/8.382, allocations: 0.5887 MB / 3.388 GB, free: 57.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/8.382, allocations: 32.95 kB / 3.388 GB, free: 57.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/8.382, allocations: 33.31 kB / 3.388 GB, free: 57.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001325/8.383, allocations: 0.5593 MB / 3.388 GB, free: 57.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/8.385, allocations: 0.6723 MB / 3.389 GB, free: 57.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/8.385, allocations: 3.656 kB / 3.389 GB, free: 57.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/8.385, allocations: 5 kB / 3.389 GB, free: 57.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/8.385, allocations: 23.69 kB / 3.389 GB, free: 57.64 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.09312/8.478, allocations: 36.65 MB / 3.425 GB, free: 38.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/8.479, allocations: 448.7 kB / 3.425 GB, free: 38.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/8.48, allocations: 211.6 kB / 3.425 GB, free: 38.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04278/8.522, allocations: 20.03 MB / 3.445 GB, free: 25.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.009e-05/8.522, allocations: 36.5 kB / 3.445 GB, free: 25.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.804e-06/8.522, allocations: 4 kB / 3.445 GB, free: 25.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.02816/8.551, allocations: 3.624 MB / 3.449 GB, free: 24.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/8.551, allocations: 117.3 kB / 3.449 GB, free: 24.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/8.551, allocations: 419.1 kB / 3.449 GB, free: 24.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/8.551, allocations: 28.98 kB / 3.449 GB, free: 24.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/8.552, allocations: 403.4 kB / 3.449 GB, free: 24.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/8.552, allocations: 205.5 kB / 3.45 GB, free: 24.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/8.552, allocations: 0 / 3.45 GB, free: 24.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.966e-05/8.552, allocations: 340.1 kB / 3.45 GB, free: 23.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007105/8.553, allocations: 332.9 kB / 3.45 GB, free: 23.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008059/8.554, allocations: 0.5297 MB / 3.451 GB, free: 23.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003066/8.557, allocations: 0.5533 MB / 3.451 GB, free: 23.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.855e-06/8.557, allocations: 0 / 3.451 GB, free: 23.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005049/8.562, allocations: 1.3 MB / 3.453 GB, free: 23.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001632/8.563, allocations: 2.441 MB / 3.455 GB, free: 36.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/8.563, allocations: 3.625 kB / 3.455 GB, free: 36.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/8.568, allocations: 0.8029 MB / 3.456 GB, free: 36.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/8.568, allocations: 176.5 kB / 3.456 GB, free: 36.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/8.572, allocations: 1.96 MB / 3.458 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/8.574, allocations: 122.5 kB / 3.458 GB, free: 35.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/8.574, allocations: 57.02 kB / 3.458 GB, free: 35.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/8.574, allocations: 7.25 kB / 3.458 GB, free: 35.7 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004174/8.578, allocations: 0.9671 MB / 3.459 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/8.579, allocations: 5.75 kB / 3.459 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/8.58, allocations: 339.3 kB / 3.459 GB, free: 35.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/8.581, allocations: 205.8 kB / 3.46 GB, free: 35.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/8.584, allocations: 1.455 MB / 3.461 GB, free: 34.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/8.585, allocations: 94.58 kB / 3.461 GB, free: 34.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/8.585, allocations: 40.58 kB / 3.461 GB, free: 34.56 MB / 0.4948 GB 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 (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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003826/8.585, allocations: 131.8 kB / 3.461 GB, free: 34.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/8.586, allocations: 65.66 kB / 3.461 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006435/8.592, allocations: 3.446 MB / 3.465 GB, free: 34.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/8.592, allocations: 40.98 kB / 3.465 GB, free: 34.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/8.592, allocations: 4 kB / 3.465 GB, free: 34.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/8.592, allocations: 3.656 kB / 3.465 GB, free: 34.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008134/8.6, allocations: 4.632 MB / 3.469 GB, free: 32.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/8.6, allocations: 0 / 3.469 GB, free: 32.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/8.601, allocations: 91.97 kB / 3.469 GB, free: 32.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004625/8.606, allocations: 1.709 MB / 3.471 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/8.606, allocations: 19.12 kB / 3.471 GB, free: 32.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004141/8.61, allocations: 2.798 MB / 3.474 GB, free: 29.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.113e-06/8.61, allocations: 0 / 3.474 GB, free: 29.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/8.615, allocations: 2.586 MB / 3.476 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/8.616, allocations: 324.6 kB / 3.477 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/8.616, allocations: 0 / 3.477 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009591/8.617, allocations: 97.97 kB / 3.477 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/8.617, allocations: 56.67 kB / 3.477 GB, free: 26.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.802e-05/8.617, allocations: 35.84 kB / 3.477 GB, free: 26.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005533/8.618, allocations: 361 kB / 3.477 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.68e-07/8.618, allocations: 0 / 3.477 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005625/8.623, allocations: 1.527 MB / 3.479 GB, free: 24.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.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 (41): * Single equations (assignments): 32 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.008776/8.632, allocations: 1.933 MB / 3.48 GB, free: 23.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004053/8.636, allocations: 1.698 MB / 3.482 GB, free: 21.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.758e-06/8.636, allocations: 0 / 3.482 GB, free: 21.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/8.638, allocations: 0.966 MB / 3.483 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/8.64, allocations: 269.9 kB / 3.483 GB, free: 20.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/8.643, allocations: 1.831 MB / 3.485 GB, free: 19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008368/8.644, allocations: 1.135 MB / 3.486 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/8.644, allocations: 67.17 kB / 3.486 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of SimCode: time 1.704e-06/8.644, allocations: 3.938 kB / 3.486 GB, free: 17.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.3577/9.002, allocations: 45.47 MB / 3.531 GB, free: 69.62 MB / 0.4948 GB