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/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.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.093/2.093, allocations: 234.9 MB / 250.5 MB, free: 9.523 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.000433, allocations: 12 kB / 314.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.272, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.24/6.512, allocations: 2.613 GB / 2.974 GB, free: 97.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/6.512, allocations: 88.14 kB / 2.974 GB, free: 97.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.77/8.282, allocations: 438.6 MB / 3.402 GB, free: 45.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.163e-06/8.282, allocations: 0 / 3.402 GB, free: 45.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.727e-05/8.282, allocations: 19.12 kB / 3.402 GB, free: 45.03 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.006042/8.288, allocations: 1.861 MB / 3.404 GB, free: 43.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/8.288, allocations: 15.59 kB / 3.404 GB, free: 43.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/8.292, allocations: 329.6 kB / 3.404 GB, free: 43.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/8.293, allocations: 0.595 MB / 3.405 GB, free: 42.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/8.293, allocations: 53.31 kB / 3.405 GB, free: 42.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/8.293, allocations: 55.47 kB / 3.405 GB, free: 42.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/8.296, allocations: 1.014 MB / 3.406 GB, free: 41.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/8.296, allocations: 0 / 3.406 GB, free: 41.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/8.296, allocations: 27.8 kB / 3.406 GB, free: 41.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/8.296, allocations: 25.31 kB / 3.406 GB, free: 41.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/8.299, allocations: 0.9264 MB / 3.407 GB, free: 40.76 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.005519/8.305, allocations: 4.753 MB / 3.412 GB, free: 36.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/8.308, allocations: 0.8056 MB / 3.412 GB, free: 35.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03975/8.347, allocations: 21.39 MB / 3.433 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/8.347, allocations: 39 kB / 3.433 GB, free: 12.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.23e-06/8.348, allocations: 4 kB / 3.433 GB, free: 12.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.02981/8.377, allocations: 4.832 MB / 3.438 GB, free: 7.465 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/8.377, allocations: 107.4 kB / 3.438 GB, free: 7.336 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/8.378, allocations: 461.8 kB / 3.439 GB, free: 6.879 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/8.378, allocations: 41.7 kB / 3.439 GB, free: 6.832 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/8.378, allocations: 385.2 kB / 3.439 GB, free: 6.453 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/8.379, allocations: 231.8 kB / 3.439 GB, free: 6.227 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/8.379, allocations: 12 kB / 3.439 GB, free: 6.215 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/8.379, allocations: 338.8 kB / 3.439 GB, free: 5.875 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/8.38, allocations: 469.7 kB / 3.44 GB, free: 5.418 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/8.381, allocations: 0.6602 MB / 3.441 GB, free: 4.664 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/8.383, allocations: 0.5029 MB / 3.441 GB, free: 4.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.537e-06/8.383, allocations: 4 kB / 3.441 GB, free: 4.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004208/8.387, allocations: 1.474 MB / 3.443 GB, free: 2.672 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004545/8.388, allocations: 2.446 MB / 3.445 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/8.388, allocations: 8 kB / 3.445 GB, free: 32 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009651/8.397, allocations: 1.449 MB / 3.446 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009206/8.398, allocations: 175.7 kB / 3.446 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/8.402, allocations: 1.917 MB / 3.448 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/8.404, allocations: 112 kB / 3.448 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/8.404, allocations: 51.97 kB / 3.449 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/8.404, allocations: 4 kB / 3.449 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005007/8.409, allocations: 1.426 MB / 3.45 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/8.409, allocations: 8 kB / 3.45 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004569/8.414, allocations: 0.8092 MB / 3.451 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009089/8.414, allocations: 187.7 kB / 3.451 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/8.418, allocations: 1.792 MB / 3.453 GB, free: 8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/8.419, allocations: 119.9 kB / 3.453 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/8.419, allocations: 47.98 kB / 3.453 GB, free: 7.836 MB / 0.4948 GB 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.0006576/8.42, allocations: 308.8 kB / 3.453 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/8.42, allocations: 71.16 kB / 3.453 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008287/8.429, allocations: 4.039 MB / 3.457 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.488e-05/8.429, allocations: 39.94 kB / 3.457 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.176e-06/8.429, allocations: 0 / 3.457 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/8.429, allocations: 3.984 kB / 3.457 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3037/8.732, allocations: 5.517 MB / 3.463 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/8.732, allocations: 8.5 kB / 3.463 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/8.733, allocations: 106.6 kB / 3.463 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01005/8.743, allocations: 2.155 MB / 3.465 GB, free: 69.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/8.743, allocations: 27.47 kB / 3.465 GB, free: 69.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004193/8.747, allocations: 2.587 MB / 3.467 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.368e-06/8.747, allocations: 4.656 kB / 3.467 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006166/8.754, allocations: 2.955 MB / 3.47 GB, free: 68.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006947/8.754, allocations: 358.5 kB / 3.471 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/8.755, allocations: 14.91 kB / 3.471 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/8.756, allocations: 113.4 kB / 3.471 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/8.756, allocations: 64.22 kB / 3.471 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-05/8.756, allocations: 34.2 kB / 3.471 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006711/8.757, allocations: 440.2 kB / 3.471 GB, free: 68.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.634e-06/8.757, allocations: 0 / 3.471 GB, free: 68.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005705/8.762, allocations: 1.597 MB / 3.473 GB, free: 68.02 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: 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.007682/8.77, allocations: 1.845 MB / 3.475 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006084/8.776, allocations: 2.281 MB / 3.477 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.935e-06/8.776, allocations: 0 / 3.477 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/8.779, allocations: 1.206 MB / 3.478 GB, free: 67.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/8.781, allocations: 306.4 kB / 3.478 GB, free: 67.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.178/8.959, allocations: 78.63 MB / 3.555 GB, free: 63.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/8.959, allocations: 1.194 MB / 3.556 GB, free: 63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/8.96, allocations: 70.23 kB / 3.556 GB, free: 62.99 MB / 0.4948 GB Notification: Performance of SimCode: time 1.67e-06/8.96, allocations: 0 / 3.556 GB, free: 62.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.06479/9.025, allocations: 46.68 MB / 3.602 GB, free: 43.11 MB / 0.4948 GB