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.214/2.214, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.685e-05, allocations: 0 / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3202, allocations: 54.86 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6473/0.9675, allocations: 315.8 MB / 0.6644 GB, free: 18.25 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.9677, allocations: 87.27 kB / 0.6645 GB, free: 18.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7714/1.739, allocations: 163 MB / 0.8237 GB, free: 64.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.105e-06/1.739, allocations: 192 / 0.8237 GB, free: 64.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.236e-05/1.739, allocations: 23.92 kB / 0.8238 GB, free: 64.59 MB / 474.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.002545/1.742, allocations: 1.038 MB / 0.8248 GB, free: 63.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.742, allocations: 12.03 kB / 0.8248 GB, free: 63.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005048/1.742, allocations: 94.97 kB / 0.8249 GB, free: 63.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/1.744, allocations: 0.6283 MB / 0.8255 GB, free: 62.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/1.744, allocations: 41.27 kB / 0.8255 GB, free: 62.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/1.744, allocations: 56 kB / 0.8256 GB, free: 62.63 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/1.745, allocations: 0.7589 MB / 0.8263 GB, free: 61.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/1.745, allocations: 7.938 kB / 0.8263 GB, free: 61.81 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.916e-05/1.746, allocations: 20 kB / 0.8263 GB, free: 61.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/1.746, allocations: 25 kB / 0.8264 GB, free: 61.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/1.747, allocations: 0.6519 MB / 0.827 GB, free: 61.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004991/1.752, allocations: 3.29 MB / 0.8302 GB, free: 57.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/1.753, allocations: 385.1 kB / 0.8306 GB, free: 57.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/1.753, allocations: 251 kB / 0.8308 GB, free: 57.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/1.754, allocations: 0.57 MB / 0.8314 GB, free: 56.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/1.754, allocations: 34.56 kB / 0.8314 GB, free: 56.28 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008253/1.755, allocations: 123.4 kB / 0.8315 GB, free: 56.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=45): time 5.966e-06/1.755, allocations: 4 kB / 0.8315 GB, free: 56.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.04051/1.795, allocations: 6.026 MB / 0.8374 GB, free: 49.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.795, allocations: 115.6 kB / 0.8375 GB, free: 49.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/1.796, allocations: 491.5 kB / 0.838 GB, free: 49.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/1.796, allocations: 41.7 kB / 0.838 GB, free: 49.31 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/1.796, allocations: 406 kB / 0.8384 GB, free: 48.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/1.797, allocations: 244.5 kB / 0.8387 GB, free: 48.67 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/1.797, allocations: 24 kB / 0.8387 GB, free: 48.64 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/1.797, allocations: 339.2 kB / 0.839 GB, free: 48.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/1.798, allocations: 317.9 kB / 0.8393 GB, free: 48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008284/1.798, allocations: 0.564 MB / 0.8399 GB, free: 47.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008849/1.799, allocations: 385.9 kB / 0.8402 GB, free: 46.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.77e-06/1.799, allocations: 4 kB / 0.8402 GB, free: 46.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002758/1.802, allocations: 1.126 MB / 0.8413 GB, free: 45.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005584/1.803, allocations: 2.964 MB / 0.8442 GB, free: 42.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.803, allocations: 8 kB / 0.8442 GB, free: 42.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008994/1.812, allocations: 1.178 MB / 0.8454 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.813, allocations: 247.6 kB / 0.8456 GB, free: 41.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/1.816, allocations: 1.577 MB / 0.8472 GB, free: 39.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/1.817, allocations: 116 kB / 0.8473 GB, free: 39.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.817, allocations: 63.94 kB / 0.8473 GB, free: 39.37 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.817, allocations: 4 kB / 0.8473 GB, free: 39.36 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002787/1.82, allocations: 1.062 MB / 0.8484 GB, free: 38.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.82, allocations: 8 kB / 0.8484 GB, free: 38.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/1.822, allocations: 361.8 kB / 0.8487 GB, free: 37.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.823, allocations: 263.6 kB / 0.849 GB, free: 37.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/1.827, allocations: 2.582 MB / 0.8515 GB, free: 34.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.828, allocations: 120 kB / 0.8516 GB, free: 34.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/1.828, allocations: 59.94 kB / 0.8517 GB, free: 34.75 MB / 474.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 () * 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.0002924/1.828, allocations: 164.6 kB / 0.8518 GB, free: 34.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/1.829, allocations: 79.06 kB / 0.8519 GB, free: 34.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/1.833, allocations: 1.473 MB / 0.8533 GB, free: 33.01 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.833, allocations: 15.98 kB / 0.8534 GB, free: 33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.833, allocations: 0 / 0.8534 GB, free: 33 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.833, allocations: 7.922 kB / 0.8534 GB, free: 32.99 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006324/1.839, allocations: 2.431 MB / 0.8557 GB, free: 30.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.07e-06/1.839, allocations: 3.953 kB / 0.8557 GB, free: 30.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.84, allocations: 195.7 kB / 0.8559 GB, free: 30.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008072/1.848, allocations: 1.139 MB / 0.857 GB, free: 29.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/1.849, allocations: 31.97 kB / 0.8571 GB, free: 29.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/1.85, allocations: 1.483 MB / 0.8585 GB, free: 27.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.85, allocations: 4.031 kB / 0.8585 GB, free: 27.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/1.854, allocations: 1.68 MB / 0.8602 GB, free: 25.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/1.855, allocations: 251.9 kB / 0.8604 GB, free: 25.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/1.855, allocations: 19.95 kB / 0.8604 GB, free: 25.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.856, allocations: 119.9 kB / 0.8605 GB, free: 25.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.856, allocations: 64.67 kB / 0.8606 GB, free: 25.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/1.857, allocations: 35.97 kB / 0.8606 GB, free: 25.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005278/1.857, allocations: 375.2 kB / 0.861 GB, free: 25.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.6e-07/1.857, allocations: 4 kB / 0.861 GB, free: 25.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002465/1.86, allocations: 0.6753 MB / 0.8617 GB, free: 24.34 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 58 * 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001564/1.861, allocations: 0.5749 MB / 0.8622 GB, free: 23.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004319/1.865, allocations: 1.607 MB / 0.8638 GB, free: 22.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.743e-06/1.866, allocations: 0 / 0.8638 GB, free: 22.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.867, allocations: 0.5004 MB / 0.8643 GB, free: 21.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.868, allocations: 294.5 kB / 0.8646 GB, free: 21.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/1.871, allocations: 1.268 MB / 0.8658 GB, free: 20.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/1.872, allocations: 0.9888 MB / 0.8668 GB, free: 19.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/1.872, allocations: 111.3 kB / 0.8669 GB, free: 18.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.766e-06/1.872, allocations: 0 / 0.8669 GB, free: 18.93 MB / 474.7 MB Notification: Performance of Templates: time 0.296/2.168, allocations: 23.43 MB / 0.8898 GB, free: 98.23 MB / 474.7 MB