Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.58e-05/1.594e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2664, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.809/1.075, allocations: 308.9 MB / 0.6142 GB, free: 153.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/1.076, allocations: 86.47 kB / 0.6142 GB, free: 153.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6902/1.766, allocations: 161.9 MB / 0.7723 GB, free: 85.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.766, allocations: 0 / 0.7723 GB, free: 85.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.281e-05/1.766, allocations: 24.75 kB / 0.7723 GB, free: 85.5 MB / 426.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.002782/1.769, allocations: 1.033 MB / 0.7733 GB, free: 85.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.769, allocations: 14.5 kB / 0.7734 GB, free: 85.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/1.769, allocations: 98.86 kB / 0.7734 GB, free: 85.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/1.771, allocations: 0.628 MB / 0.7741 GB, free: 84.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/1.771, allocations: 17.34 kB / 0.7741 GB, free: 84.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/1.771, allocations: 28.53 kB / 0.7741 GB, free: 84.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001527/1.773, allocations: 0.6204 MB / 0.7747 GB, free: 84.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/1.774, allocations: 0.6603 MB / 0.7754 GB, free: 84.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/1.774, allocations: 3.094 kB / 0.7754 GB, free: 84.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.071e-05/1.774, allocations: 3.156 kB / 0.7754 GB, free: 84.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/1.774, allocations: 21.34 kB / 0.7754 GB, free: 84.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005204/1.779, allocations: 3.215 MB / 0.7785 GB, free: 82.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/1.78, allocations: 370.2 kB / 0.7789 GB, free: 82.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/1.781, allocations: 234.9 kB / 0.7791 GB, free: 82.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/1.781, allocations: 0.5755 MB / 0.7797 GB, free: 82.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/1.781, allocations: 41.31 kB / 0.7797 GB, free: 82.16 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008696/1.782, allocations: 110.4 kB / 0.7798 GB, free: 82.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 5.151e-06/1.782, allocations: 0 / 0.7798 GB, free: 82.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=63): time 0.03726/1.82, allocations: 4.727 MB / 0.7844 GB, free: 81.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/1.82, allocations: 111.2 kB / 0.7845 GB, free: 81.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/1.82, allocations: 463.2 kB / 0.785 GB, free: 81.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.82, allocations: 25.7 kB / 0.785 GB, free: 81.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/1.821, allocations: 403.4 kB / 0.7854 GB, free: 80.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/1.821, allocations: 212.8 kB / 0.7856 GB, free: 80.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.675e-05/1.821, allocations: 0 / 0.7856 GB, free: 80.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/1.821, allocations: 344.6 kB / 0.7859 GB, free: 80.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/1.822, allocations: 258.4 kB / 0.7862 GB, free: 80.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/1.822, allocations: 0.4995 MB / 0.7866 GB, free: 80.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004334/1.827, allocations: 0.6163 MB / 0.7872 GB, free: 80.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.672e-06/1.827, allocations: 3.938 kB / 0.7873 GB, free: 80.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0057/1.832, allocations: 1.245 MB / 0.7885 GB, free: 80.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005685/1.833, allocations: 2.967 MB / 0.7914 GB, free: 76.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.833, allocations: 11.25 kB / 0.7914 GB, free: 76.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/1.838, allocations: 0.6961 MB / 0.7921 GB, free: 76.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/1.839, allocations: 212.2 kB / 0.7923 GB, free: 76.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/1.843, allocations: 1.806 MB / 0.794 GB, free: 75.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.845, allocations: 93.31 kB / 0.7941 GB, free: 75.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/1.845, allocations: 57.05 kB / 0.7942 GB, free: 75.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.845, allocations: 3.438 kB / 0.7942 GB, free: 75.91 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004972/1.85, allocations: 1.014 MB / 0.7952 GB, free: 75.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.85, allocations: 7 kB / 0.7952 GB, free: 75.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/1.851, allocations: 224.2 kB / 0.7954 GB, free: 75.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.852, allocations: 228.8 kB / 0.7956 GB, free: 75.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004937/1.857, allocations: 3.661 MB / 0.7992 GB, free: 73.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.859, allocations: 79.92 kB / 0.7992 GB, free: 73.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.859, allocations: 45.19 kB / 0.7993 GB, free: 73.29 MB / 426.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.0003674/1.859, allocations: 137.1 kB / 0.7994 GB, free: 73.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/1.859, allocations: 73.19 kB / 0.7995 GB, free: 73.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005155/1.864, allocations: 1.357 MB / 0.8008 GB, free: 73.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.87e-05/1.865, allocations: 11.59 kB / 0.8008 GB, free: 73.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.978e-06/1.865, allocations: 7.891 kB / 0.8008 GB, free: 73.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.865, allocations: 3.797 kB / 0.8008 GB, free: 73.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006806/1.871, allocations: 2.11 MB / 0.8029 GB, free: 72.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.871, allocations: 0 / 0.8029 GB, free: 72.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008193/1.872, allocations: 153 kB / 0.803 GB, free: 72.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/1.875, allocations: 484.9 kB / 0.8035 GB, free: 72.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.875, allocations: 18.45 kB / 0.8035 GB, free: 72.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/1.877, allocations: 1.585 MB / 0.8051 GB, free: 71.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.807e-06/1.877, allocations: 0 / 0.8051 GB, free: 71.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/1.883, allocations: 1.543 MB / 0.8066 GB, free: 71.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/1.883, allocations: 242.9 kB / 0.8068 GB, free: 71.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/1.883, allocations: 3.5 kB / 0.8068 GB, free: 71.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.884, allocations: 87.52 kB / 0.8069 GB, free: 71.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/1.885, allocations: 54.58 kB / 0.807 GB, free: 71.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.854e-05/1.885, allocations: 41 kB / 0.807 GB, free: 71.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004752/1.885, allocations: 341.7 kB / 0.8073 GB, free: 71.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.53e-07/1.885, allocations: 0 / 0.8073 GB, free: 71.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00257/1.888, allocations: 0.6125 MB / 0.8079 GB, free: 71.1 MB / 426.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.001621/1.889, allocations: 0.5452 MB / 0.8084 GB, free: 70.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003608/1.893, allocations: 1.389 MB / 0.8098 GB, free: 70.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.482e-06/1.893, allocations: 0 / 0.8098 GB, free: 70.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.894, allocations: 409.4 kB / 0.8102 GB, free: 70.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/1.896, allocations: 292.2 kB / 0.8105 GB, free: 70.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/1.899, allocations: 1.141 MB / 0.8116 GB, free: 70.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/1.9, allocations: 0.9834 MB / 0.8125 GB, free: 69.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/1.9, allocations: 82.02 kB / 0.8126 GB, free: 69.63 MB / 426.7 MB Notification: Performance of SimCode: time 2.564e-06/1.9, allocations: 2.75 kB / 0.8126 GB, free: 69.63 MB / 426.7 MB Notification: Performance of Templates: time 0.03236/1.933, allocations: 22.41 MB / 0.8345 GB, free: 68.38 MB / 426.7 MB