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/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.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.123/2.123, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.776e-05, allocations: 0 / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3128, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.903/1.216, allocations: 315.2 MB / 0.6574 GB, free: 117.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.216, allocations: 83.88 kB / 0.6575 GB, free: 117.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7276/1.944, allocations: 162 MB / 0.8157 GB, free: 102.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.118e-06/1.944, allocations: 0 / 0.8157 GB, free: 102.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.817e-05/1.944, allocations: 19.77 kB / 0.8157 GB, free: 102.2 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.002779/1.947, allocations: 1.042 MB / 0.8167 GB, free: 101.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.947, allocations: 7.938 kB / 0.8167 GB, free: 101.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/1.947, allocations: 100.7 kB / 0.8168 GB, free: 101.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/1.949, allocations: 0.6323 MB / 0.8174 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.949, allocations: 23.05 kB / 0.8175 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/1.949, allocations: 32.75 kB / 0.8175 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00133/1.951, allocations: 0.6171 MB / 0.8181 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/1.952, allocations: 0.6581 MB / 0.8187 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/1.952, allocations: 11.11 kB / 0.8187 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/1.952, allocations: 0 / 0.8187 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/1.952, allocations: 25.81 kB / 0.8188 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/1.958, allocations: 3.193 MB / 0.8219 GB, free: 99.63 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008793/1.958, allocations: 380.5 kB / 0.8222 GB, free: 99.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/1.959, allocations: 229.3 kB / 0.8225 GB, free: 99.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/1.959, allocations: 0.5801 MB / 0.823 GB, free: 98.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/1.959, allocations: 38.44 kB / 0.8231 GB, free: 98.89 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008885/1.96, allocations: 111.8 kB / 0.8232 GB, free: 98.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=45): time 4.677e-06/1.96, allocations: 0 / 0.8232 GB, free: 98.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=63): time 0.03724/1.998, allocations: 4.73 MB / 0.8278 GB, free: 98.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.998, allocations: 116.8 kB / 0.8279 GB, free: 97.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/1.998, allocations: 453.4 kB / 0.8283 GB, free: 97.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/1.999, allocations: 29.67 kB / 0.8284 GB, free: 97.83 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/1.999, allocations: 405.3 kB / 0.8288 GB, free: 97.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/1.999, allocations: 211.5 kB / 0.829 GB, free: 97.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/1.999, allocations: 0 / 0.829 GB, free: 97.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.973e-05/1.999, allocations: 343.4 kB / 0.8293 GB, free: 97.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00061/2, allocations: 256.3 kB / 0.8295 GB, free: 97.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/2.001, allocations: 0.4974 MB / 0.83 GB, free: 96.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00412/2.005, allocations: 0.6211 MB / 0.8306 GB, free: 96.87 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.322e-06/2.005, allocations: 3.625 kB / 0.8306 GB, free: 96.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.006262/2.011, allocations: 1.242 MB / 0.8318 GB, free: 96.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005946/2.012, allocations: 2.968 MB / 0.8347 GB, free: 93.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/2.012, allocations: 11.73 kB / 0.8347 GB, free: 93.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005727/2.017, allocations: 0.6884 MB / 0.8354 GB, free: 93.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/2.018, allocations: 216.8 kB / 0.8356 GB, free: 93.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/2.023, allocations: 1.805 MB / 0.8374 GB, free: 92.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/2.025, allocations: 97.62 kB / 0.8375 GB, free: 92.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/2.025, allocations: 53.64 kB / 0.8375 GB, free: 92.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/2.025, allocations: 5.812 kB / 0.8375 GB, free: 92.64 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005151/2.03, allocations: 1.008 MB / 0.8385 GB, free: 92.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/2.03, allocations: 15.03 kB / 0.8385 GB, free: 92.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/2.031, allocations: 232.3 kB / 0.8388 GB, free: 92.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/2.033, allocations: 229.9 kB / 0.839 GB, free: 92.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/2.038, allocations: 3.656 MB / 0.8425 GB, free: 90.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/2.039, allocations: 83.73 kB / 0.8426 GB, free: 90.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/2.039, allocations: 42.06 kB / 0.8427 GB, free: 90.02 MB / 474.7 MB 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 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 (71): * Single equations (assignments): 69 * 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.0003655/2.039, allocations: 134.1 kB / 0.8428 GB, free: 89.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/2.039, allocations: 73.03 kB / 0.8429 GB, free: 89.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/2.044, allocations: 1.361 MB / 0.8442 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/2.045, allocations: 6.719 kB / 0.8442 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.571e-06/2.045, allocations: 3.859 kB / 0.8442 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/2.045, allocations: 6.609 kB / 0.8442 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007072/2.052, allocations: 2.109 MB / 0.8463 GB, free: 89.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/2.052, allocations: 0 / 0.8463 GB, free: 89.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/2.053, allocations: 151.1 kB / 0.8464 GB, free: 89.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/2.055, allocations: 492.4 kB / 0.8469 GB, free: 89.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/2.055, allocations: 23.03 kB / 0.8469 GB, free: 89.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/2.058, allocations: 1.57 MB / 0.8484 GB, free: 88.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.008e-06/2.058, allocations: 3.953 kB / 0.8484 GB, free: 88.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005296/2.063, allocations: 1.536 MB / 0.8499 GB, free: 88.13 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/2.064, allocations: 239.8 kB / 0.8502 GB, free: 87.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/2.064, allocations: 11.12 kB / 0.8502 GB, free: 87.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/2.065, allocations: 78.52 kB / 0.8503 GB, free: 87.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/2.065, allocations: 63.3 kB / 0.8503 GB, free: 87.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/2.065, allocations: 31.48 kB / 0.8503 GB, free: 87.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005174/2.066, allocations: 347 kB / 0.8507 GB, free: 87.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.07e-07/2.066, allocations: 0 / 0.8507 GB, free: 87.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002651/2.069, allocations: 0.6131 MB / 0.8513 GB, free: 87.82 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 (56): * Single equations (assignments): 50 * 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.001709/2.07, allocations: 0.571 MB / 0.8518 GB, free: 87.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00413/2.074, allocations: 1.383 MB / 0.8532 GB, free: 87.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/2.075, allocations: 2.906 kB / 0.8532 GB, free: 87.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/2.076, allocations: 401.8 kB / 0.8536 GB, free: 87.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/2.078, allocations: 291.2 kB / 0.8539 GB, free: 87.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/2.081, allocations: 1.149 MB / 0.855 GB, free: 87.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/2.081, allocations: 0.9829 MB / 0.8559 GB, free: 86.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/2.082, allocations: 81.36 kB / 0.856 GB, free: 86.33 MB / 474.7 MB Notification: Performance of SimCode: time 1.846e-06/2.082, allocations: 0 / 0.856 GB, free: 86.33 MB / 474.7 MB Notification: Performance of Templates: time 0.0336/2.115, allocations: 22.42 MB / 0.8779 GB, free: 85.05 MB / 474.7 MB