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.TestWaterPumpDefault.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.TestWaterPumpDefault,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.TestWaterPumpDefault") Notification: Performance of loadModel(ModelicaTest): time 2.17/2.17, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004538, allocations: 20 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2807, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.151/6.432, allocations: 2.613 GB / 2.973 GB, free: 154.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/6.432, allocations: 85.28 kB / 2.973 GB, free: 154.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.815/8.246, allocations: 437.5 MB / 3.401 GB, free: 59.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.167e-06/8.246, allocations: 3.906 kB / 3.401 GB, free: 59.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.342e-05/8.246, allocations: 20.97 kB / 3.401 GB, free: 59.77 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006065/8.253, allocations: 1.819 MB / 3.402 GB, free: 58.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/8.253, allocations: 7.875 kB / 3.402 GB, free: 58.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003277/8.256, allocations: 328 kB / 3.403 GB, free: 58.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/8.257, allocations: 0.5779 MB / 3.403 GB, free: 58.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/8.257, allocations: 54.73 kB / 3.403 GB, free: 58.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/8.258, allocations: 55.88 kB / 3.403 GB, free: 58.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/8.26, allocations: 0.9922 MB / 3.404 GB, free: 58.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/8.26, allocations: 3.188 kB / 3.404 GB, free: 58.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.404e-05/8.26, allocations: 25.69 kB / 3.404 GB, free: 58.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/8.261, allocations: 23.22 kB / 3.404 GB, free: 58.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/8.264, allocations: 0.9 MB / 3.405 GB, free: 58.36 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.005595/8.27, allocations: 4.717 MB / 3.41 GB, free: 55.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/8.272, allocations: 0.6789 MB / 3.41 GB, free: 55.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04364/8.316, allocations: 21.38 MB / 3.431 GB, free: 41.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/8.316, allocations: 38.97 kB / 3.431 GB, free: 41.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.675e-06/8.316, allocations: 0 / 3.431 GB, free: 41.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.02972/8.346, allocations: 4.327 MB / 3.436 GB, free: 40.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/8.346, allocations: 109.1 kB / 3.436 GB, free: 40.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/8.347, allocations: 430.4 kB / 3.436 GB, free: 40.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/8.347, allocations: 37.64 kB / 3.436 GB, free: 40.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/8.347, allocations: 387.7 kB / 3.437 GB, free: 39.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/8.347, allocations: 205.9 kB / 3.437 GB, free: 39.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/8.347, allocations: 16 kB / 3.437 GB, free: 39.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.435e-05/8.347, allocations: 342.2 kB / 3.437 GB, free: 39.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/8.348, allocations: 372.8 kB / 3.437 GB, free: 39.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/8.35, allocations: 0.5766 MB / 3.438 GB, free: 38.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/8.351, allocations: 423.7 kB / 3.438 GB, free: 38.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/8.351, allocations: 7.562 kB / 3.438 GB, free: 38.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003679/8.355, allocations: 1.206 MB / 3.44 GB, free: 38.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004971/8.355, allocations: 2.449 MB / 3.442 GB, free: 35.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/8.355, allocations: 7.906 kB / 3.442 GB, free: 35.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00542/8.361, allocations: 0.9021 MB / 3.443 GB, free: 35.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/8.361, allocations: 165.9 kB / 3.443 GB, free: 35.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/8.364, allocations: 1.687 MB / 3.445 GB, free: 34.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/8.366, allocations: 99.61 kB / 3.445 GB, free: 34.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/8.366, allocations: 54.89 kB / 3.445 GB, free: 34.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/8.366, allocations: 8.969 kB / 3.445 GB, free: 34.17 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003879/8.37, allocations: 1.177 MB / 3.446 GB, free: 33.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/8.37, allocations: 3.844 kB / 3.446 GB, free: 33.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/8.373, allocations: 0.5852 MB / 3.447 GB, free: 33.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008321/8.374, allocations: 161.4 kB / 3.447 GB, free: 33.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/8.376, allocations: 1.632 MB / 3.448 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009093/8.377, allocations: 101.7 kB / 3.448 GB, free: 32.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/8.377, allocations: 41.03 kB / 3.448 GB, free: 32.3 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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.0005383/8.378, allocations: 295.6 kB / 3.449 GB, free: 32.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/8.378, allocations: 71.77 kB / 3.449 GB, free: 32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006418/8.384, allocations: 3.802 MB / 3.452 GB, free: 30.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.654e-05/8.385, allocations: 45.11 kB / 3.453 GB, free: 30.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.97e-06/8.385, allocations: 0 / 3.453 GB, free: 30.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/8.385, allocations: 7.516 kB / 3.453 GB, free: 30.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008111/8.393, allocations: 5.09 MB / 3.458 GB, free: 27.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/8.393, allocations: 0 / 3.458 GB, free: 27.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/8.393, allocations: 110.3 kB / 3.458 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006143/8.399, allocations: 1.653 MB / 3.459 GB, free: 27.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/8.4, allocations: 28.91 kB / 3.459 GB, free: 27.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/8.403, allocations: 2.366 MB / 3.462 GB, free: 25.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.806e-06/8.403, allocations: 0 / 3.462 GB, free: 25.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004818/8.408, allocations: 2.604 MB / 3.464 GB, free: 24.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/8.408, allocations: 340.4 kB / 3.464 GB, free: 24.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/8.409, allocations: 15.56 kB / 3.464 GB, free: 24.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008873/8.41, allocations: 98.86 kB / 3.465 GB, free: 24.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/8.41, allocations: 70.66 kB / 3.465 GB, free: 24.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/8.41, allocations: 29.77 kB / 3.465 GB, free: 24.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006613/8.41, allocations: 433 kB / 3.465 GB, free: 23.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.37e-07/8.41, allocations: 0 / 3.465 GB, free: 23.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005533/8.416, allocations: 1.556 MB / 3.467 GB, free: 22.47 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.008392/8.424, allocations: 1.837 MB / 3.468 GB, free: 21.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004988/8.429, allocations: 1.988 MB / 3.47 GB, free: 19.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.761e-06/8.43, allocations: 4.125 kB / 3.47 GB, free: 19.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/8.432, allocations: 1.113 MB / 3.471 GB, free: 18.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/8.434, allocations: 311.2 kB / 3.472 GB, free: 18.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4794/8.913, allocations: 78.58 MB / 3.548 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/8.914, allocations: 1.173 MB / 3.55 GB, free: 64.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/8.914, allocations: 65.3 kB / 3.55 GB, free: 64.78 MB / 0.4948 GB Notification: Performance of SimCode: time 1.738e-06/8.914, allocations: 3.594 kB / 3.55 GB, free: 64.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.06745/8.981, allocations: 45.82 MB / 3.594 GB, free: 62.2 MB / 0.4948 GB