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.TestWaterPumpRecirculation.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.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|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|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadModel(ModelicaTest): time 2.06/2.06, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004365, allocations: 12 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2731, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8817/1.155, allocations: 315.9 MB / 0.6691 GB, free: 181.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.155, allocations: 96.03 kB / 0.6692 GB, free: 181.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4516/1.607, allocations: 163.7 MB / 0.8291 GB, free: 21.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.299e-06/1.607, allocations: 0 / 0.8291 GB, free: 21.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.333e-05/1.607, allocations: 20 kB / 0.8291 GB, free: 21.26 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002932/1.61, allocations: 1.139 MB / 0.8302 GB, free: 20.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/1.61, allocations: 8.031 kB / 0.8302 GB, free: 20.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005397/1.61, allocations: 98.95 kB / 0.8303 GB, free: 19.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/1.612, allocations: 0.6322 MB / 0.8309 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/1.612, allocations: 45.27 kB / 0.831 GB, free: 19.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/1.612, allocations: 52 kB / 0.831 GB, free: 19.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.614, allocations: 0.829 MB / 0.8318 GB, free: 18.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/1.614, allocations: 7.938 kB / 0.8318 GB, free: 18.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.614, allocations: 28 kB / 0.8319 GB, free: 18.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/1.614, allocations: 17 kB / 0.8319 GB, free: 18.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/1.616, allocations: 0.7884 MB / 0.8326 GB, free: 17.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005154/1.621, allocations: 3.3 MB / 0.8359 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/1.623, allocations: 481 kB / 0.8363 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/1.623, allocations: 0.5743 MB / 0.8369 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/1.623, allocations: 40.44 kB / 0.8369 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008319/1.624, allocations: 123.4 kB / 0.837 GB, free: 12.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.945e-06/1.624, allocations: 0 / 0.837 GB, free: 12.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.04663/1.67, allocations: 7.442 MB / 0.8443 GB, free: 5.043 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.671, allocations: 111.5 kB / 0.8444 GB, free: 4.906 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007775/1.671, allocations: 499.3 kB / 0.8449 GB, free: 4.414 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/1.671, allocations: 37.7 kB / 0.8449 GB, free: 4.371 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/1.672, allocations: 402.2 kB / 0.8453 GB, free: 3.973 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/1.672, allocations: 248.3 kB / 0.8455 GB, free: 3.727 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/1.672, allocations: 20 kB / 0.8456 GB, free: 3.707 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/1.672, allocations: 346.8 kB / 0.8459 GB, free: 3.359 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/1.674, allocations: 481.6 kB / 0.8464 GB, free: 2.891 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.675, allocations: 0.7276 MB / 0.8471 GB, free: 2.055 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/1.677, allocations: 0.5388 MB / 0.8476 GB, free: 1.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/1.677, allocations: 0 / 0.8476 GB, free: 1.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004419/1.681, allocations: 1.47 MB / 0.849 GB, free: 36 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2717/1.953, allocations: 2.967 MB / 0.8519 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.7e-05/1.953, allocations: 8.031 kB / 0.8519 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01862/1.972, allocations: 1.218 MB / 0.8531 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/1.975, allocations: 252.1 kB / 0.8534 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005304/1.98, allocations: 1.621 MB / 0.8549 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/1.983, allocations: 121.8 kB / 0.8551 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/1.983, allocations: 63.72 kB / 0.8551 GB, free: 102.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.984, allocations: 7.656 kB / 0.8551 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009485/1.993, allocations: 1.41 MB / 0.8565 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/1.993, allocations: 8.484 kB / 0.8565 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004152/1.997, allocations: 387.6 kB / 0.8569 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/2, allocations: 268.3 kB / 0.8571 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008223/2.009, allocations: 2.672 MB / 0.8598 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/2.014, allocations: 124.5 kB / 0.8599 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003643/2.014, allocations: 61.97 kB / 0.8599 GB, free: 101 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * 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 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.00126/2.015, allocations: 304.7 kB / 0.8602 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/2.016, allocations: 78.5 kB / 0.8603 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/2.029, allocations: 1.821 MB / 0.8621 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.821e-05/2.029, allocations: 11 kB / 0.8621 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.217e-06/2.029, allocations: 0 / 0.8621 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.871e-05/2.029, allocations: 3.891 kB / 0.8621 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009992/2.039, allocations: 2.758 MB / 0.8648 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/2.039, allocations: 7.562 kB / 0.8648 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/2.04, allocations: 178.7 kB / 0.865 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00783/2.048, allocations: 1.196 MB / 0.8661 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/2.048, allocations: 29 kB / 0.8662 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/2.05, allocations: 1.559 MB / 0.8677 GB, free: 99.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.653e-06/2.05, allocations: 2.688 kB / 0.8677 GB, free: 99.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007118/2.057, allocations: 2.209 MB / 0.8698 GB, free: 99.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006205/2.058, allocations: 250.9 kB / 0.8701 GB, free: 98.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/2.058, allocations: 16.81 kB / 0.8701 GB, free: 98.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/2.059, allocations: 117.8 kB / 0.8702 GB, free: 98.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/2.059, allocations: 66.41 kB / 0.8703 GB, free: 98.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/2.06, allocations: 39.5 kB / 0.8703 GB, free: 98.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005848/2.06, allocations: 389.2 kB / 0.8707 GB, free: 98.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.62e-07/2.06, allocations: 0 / 0.8707 GB, free: 98.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002675/2.063, allocations: 0.6754 MB / 0.8713 GB, free: 98.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 6,3 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.001721/2.065, allocations: 0.5864 MB / 0.8719 GB, free: 98.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007437/2.072, allocations: 2.109 MB / 0.874 GB, free: 98.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.544e-06/2.072, allocations: 0 / 0.874 GB, free: 98.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002234/2.074, allocations: 0.6635 MB / 0.8746 GB, free: 98.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/2.076, allocations: 313.2 kB / 0.8749 GB, free: 98.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/2.081, allocations: 2.127 MB / 0.877 GB, free: 97.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/2.081, allocations: 0.9906 MB / 0.878 GB, free: 96.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/2.082, allocations: 96.55 kB / 0.8781 GB, free: 96.98 MB / 490.7 MB Notification: Performance of SimCode: time 2.403e-06/2.082, allocations: 0 / 0.8781 GB, free: 96.98 MB / 490.7 MB Notification: Performance of Templates: time 0.03401/2.116, allocations: 23.52 MB / 0.901 GB, free: 95.94 MB / 490.7 MB