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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.813/1.813, allocations: 209.2 MB / 224.8 MB, free: 1.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004541, allocations: 16 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.08888, allocations: 48.7 MB / 331.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7892/0.8781, allocations: 309.6 MB / 0.6259 GB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.8784, allocations: 85.64 kB / 0.626 GB, free: 1.359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7267/1.605, allocations: 163.6 MB / 0.7857 GB, free: 26.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.478e-06/1.605, allocations: 4 kB / 0.7857 GB, free: 26.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.912e-05/1.605, allocations: 23.98 kB / 0.7857 GB, free: 26.65 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.002959/1.608, allocations: 1.135 MB / 0.7868 GB, free: 25.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.608, allocations: 8.031 kB / 0.7869 GB, free: 25.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000555/1.609, allocations: 106.9 kB / 0.787 GB, free: 25.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/1.61, allocations: 0.6322 MB / 0.7876 GB, free: 24.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/1.61, allocations: 45.3 kB / 0.7876 GB, free: 24.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/1.611, allocations: 48 kB / 0.7877 GB, free: 24.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/1.612, allocations: 0.8367 MB / 0.7885 GB, free: 23.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/1.612, allocations: 3.984 kB / 0.7885 GB, free: 23.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.613, allocations: 27.94 kB / 0.7885 GB, free: 23.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/1.613, allocations: 17 kB / 0.7885 GB, free: 23.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/1.615, allocations: 0.7884 MB / 0.7893 GB, free: 22.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005204/1.62, allocations: 3.296 MB / 0.7925 GB, free: 19.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/1.621, allocations: 486.4 kB / 0.793 GB, free: 18.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/1.622, allocations: 0.5704 MB / 0.7935 GB, free: 18.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/1.622, allocations: 44.39 kB / 0.7936 GB, free: 18.16 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008829/1.622, allocations: 119.5 kB / 0.7937 GB, free: 18.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 4.046e-06/1.622, allocations: 0 / 0.7937 GB, free: 18.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.04777/1.67, allocations: 7.433 MB / 0.801 GB, free: 10.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/1.67, allocations: 115.4 kB / 0.8011 GB, free: 10.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000792/1.671, allocations: 0.4915 MB / 0.8015 GB, free: 9.812 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/1.671, allocations: 37.7 kB / 0.8016 GB, free: 9.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/1.672, allocations: 406.2 kB / 0.802 GB, free: 9.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/1.672, allocations: 256.3 kB / 0.8022 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/1.672, allocations: 12 kB / 0.8022 GB, free: 9.105 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/1.672, allocations: 346.8 kB / 0.8026 GB, free: 8.758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/1.674, allocations: 489.6 kB / 0.803 GB, free: 8.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/1.675, allocations: 0.7159 MB / 0.8037 GB, free: 7.453 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/1.677, allocations: 0.5497 MB / 0.8043 GB, free: 6.906 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.719e-06/1.677, allocations: 0 / 0.8043 GB, free: 6.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004513/1.682, allocations: 1.471 MB / 0.8057 GB, free: 5.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005923/1.682, allocations: 2.971 MB / 0.8086 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/1.682, allocations: 8 kB / 0.8086 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009227/1.691, allocations: 1.215 MB / 0.8098 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.693, allocations: 255.6 kB / 0.81 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2399/1.933, allocations: 1.608 MB / 0.8116 GB, free: 76.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/1.934, allocations: 123.7 kB / 0.8117 GB, free: 76.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/1.935, allocations: 64.89 kB / 0.8118 GB, free: 76.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.935, allocations: 8.125 kB / 0.8118 GB, free: 76.75 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005089/1.94, allocations: 1.407 MB / 0.8132 GB, free: 76.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.94, allocations: 10.97 kB / 0.8132 GB, free: 76.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/1.942, allocations: 388.3 kB / 0.8135 GB, free: 76.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.944, allocations: 267.3 kB / 0.8138 GB, free: 76.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/1.948, allocations: 2.661 MB / 0.8164 GB, free: 74.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/1.95, allocations: 125.5 kB / 0.8165 GB, free: 74.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/1.95, allocations: 62.77 kB / 0.8166 GB, free: 74.89 MB / 426.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.0006675/1.951, allocations: 302.3 kB / 0.8169 GB, free: 74.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/1.951, allocations: 76.22 kB / 0.8169 GB, free: 74.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006963/1.958, allocations: 1.828 MB / 0.8187 GB, free: 74.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/1.958, allocations: 10.19 kB / 0.8187 GB, free: 74.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.705e-06/1.958, allocations: 3.953 kB / 0.8187 GB, free: 74.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/1.958, allocations: 9.281 kB / 0.8187 GB, free: 74.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009174/1.967, allocations: 2.753 MB / 0.8214 GB, free: 74.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.967, allocations: 0 / 0.8214 GB, free: 74.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.968, allocations: 184.2 kB / 0.8216 GB, free: 74.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008125/1.977, allocations: 1.19 MB / 0.8228 GB, free: 74.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/1.977, allocations: 32.45 kB / 0.8228 GB, free: 74.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/1.979, allocations: 1.559 MB / 0.8243 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.731e-06/1.979, allocations: 0.8438 kB / 0.8243 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008022/1.987, allocations: 2.204 MB / 0.8265 GB, free: 72.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006739/1.988, allocations: 273.3 kB / 0.8267 GB, free: 72.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/1.988, allocations: 13.5 kB / 0.8267 GB, free: 72.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.989, allocations: 109.1 kB / 0.8269 GB, free: 72.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/1.989, allocations: 64.28 kB / 0.8269 GB, free: 72.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/1.989, allocations: 41.19 kB / 0.827 GB, free: 72.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006186/1.99, allocations: 387 kB / 0.8273 GB, free: 72.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.29e-07/1.99, allocations: 0 / 0.8273 GB, free: 72.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002844/1.993, allocations: 0.6701 MB / 0.828 GB, free: 72.75 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 () * 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.001713/1.995, allocations: 0.5816 MB / 0.8285 GB, free: 72.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007948/2.003, allocations: 2.11 MB / 0.8306 GB, free: 72.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.974e-06/2.003, allocations: 0 / 0.8306 GB, free: 72.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/2.005, allocations: 0.6618 MB / 0.8313 GB, free: 72.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/2.007, allocations: 297.7 kB / 0.8315 GB, free: 72.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/2.012, allocations: 2.14 MB / 0.8336 GB, free: 71.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/2.012, allocations: 0.9906 MB / 0.8346 GB, free: 70.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/2.013, allocations: 103.1 kB / 0.8347 GB, free: 70.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.948e-06/2.013, allocations: 3.062 kB / 0.8347 GB, free: 70.9 MB / 426.7 MB Notification: Performance of Templates: time 0.03545/2.048, allocations: 23.53 MB / 0.8577 GB, free: 69.8 MB / 426.7 MB