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.TestWaterPumpDefault.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.TestWaterPumpDefault,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.06e-05, allocations: 4 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3292, allocations: 54.86 MB / 364.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.352/6.681, allocations: 2.613 GB / 2.969 GB, free: 105.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/6.681, allocations: 87.53 kB / 2.969 GB, free: 105.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.819/8.5, allocations: 436.2 MB / 3.395 GB, free: 54.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.939e-06/8.5, allocations: 0 / 3.395 GB, free: 54.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.907e-05/8.5, allocations: 13.42 kB / 3.395 GB, free: 54.17 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005902/8.506, allocations: 1.745 MB / 3.396 GB, free: 53.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/8.506, allocations: 11.66 kB / 3.396 GB, free: 53.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/8.51, allocations: 335.1 kB / 3.397 GB, free: 53.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/8.511, allocations: 0.574 MB / 3.397 GB, free: 53.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/8.511, allocations: 49.02 kB / 3.397 GB, free: 53.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/8.511, allocations: 58.78 kB / 3.397 GB, free: 53.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/8.514, allocations: 0.9628 MB / 3.398 GB, free: 52.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/8.514, allocations: 5.281 kB / 3.398 GB, free: 52.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/8.514, allocations: 26.44 kB / 3.398 GB, free: 52.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/8.514, allocations: 22.75 kB / 3.398 GB, free: 52.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/8.516, allocations: 0.8016 MB / 3.399 GB, free: 52.8 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005599/8.522, allocations: 4.724 MB / 3.404 GB, free: 49.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/8.524, allocations: 0.6175 MB / 3.404 GB, free: 49.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/8.525, allocations: 211 kB / 3.405 GB, free: 49.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04574/8.571, allocations: 21.46 MB / 3.425 GB, free: 35.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/8.571, allocations: 40.66 kB / 3.426 GB, free: 35.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.652e-06/8.571, allocations: 0 / 3.426 GB, free: 35.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.02831/8.599, allocations: 3.76 MB / 3.429 GB, free: 35.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/8.599, allocations: 115.2 kB / 3.429 GB, free: 35.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/8.6, allocations: 424.9 kB / 3.43 GB, free: 35.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/8.6, allocations: 35.08 kB / 3.43 GB, free: 35.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/8.6, allocations: 390 kB / 3.43 GB, free: 34.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/8.6, allocations: 205.1 kB / 3.43 GB, free: 34.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/8.6, allocations: 18.34 kB / 3.43 GB, free: 34.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/8.6, allocations: 337.5 kB / 3.431 GB, free: 34.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/8.601, allocations: 269.9 kB / 3.431 GB, free: 34.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/8.602, allocations: 484.9 kB / 3.431 GB, free: 34.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/8.603, allocations: 336.2 kB / 3.432 GB, free: 34.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.724e-06/8.603, allocations: 0 / 3.432 GB, free: 34.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002424/8.605, allocations: 0.9833 MB / 3.433 GB, free: 33.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004868/8.606, allocations: 2.442 MB / 3.435 GB, free: 31.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/8.606, allocations: 7.406 kB / 3.435 GB, free: 31.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005272/8.611, allocations: 0.8147 MB / 3.436 GB, free: 31.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/8.612, allocations: 162.1 kB / 3.436 GB, free: 31.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/8.614, allocations: 1.604 MB / 3.438 GB, free: 30.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/8.616, allocations: 107.2 kB / 3.438 GB, free: 30.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/8.616, allocations: 45.72 kB / 3.438 GB, free: 30.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/8.616, allocations: 3.25 kB / 3.438 GB, free: 30.28 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002679/8.618, allocations: 0.9482 MB / 3.439 GB, free: 30.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/8.618, allocations: 7.156 kB / 3.439 GB, free: 30.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/8.621, allocations: 0.5187 MB / 3.439 GB, free: 30.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/8.622, allocations: 167.2 kB / 3.439 GB, free: 30.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/8.624, allocations: 1.542 MB / 3.441 GB, free: 28.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/8.625, allocations: 91.19 kB / 3.441 GB, free: 28.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/8.625, allocations: 56.94 kB / 3.441 GB, free: 28.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002833/8.625, allocations: 148.2 kB / 3.441 GB, free: 28.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/8.626, allocations: 69.77 kB / 3.441 GB, free: 28.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/8.632, allocations: 3.906 MB / 3.445 GB, free: 26.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.212e-05/8.632, allocations: 44.72 kB / 3.445 GB, free: 26.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.039e-06/8.632, allocations: 0 / 3.445 GB, free: 26.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/8.632, allocations: 3.891 kB / 3.445 GB, free: 26.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007248/8.639, allocations: 4.994 MB / 3.45 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/8.639, allocations: 0 / 3.45 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/8.64, allocations: 108.1 kB / 3.45 GB, free: 24.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005792/8.646, allocations: 1.777 MB / 3.452 GB, free: 23.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/8.646, allocations: 18.78 kB / 3.452 GB, free: 23.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/8.649, allocations: 2.366 MB / 3.454 GB, free: 22.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/8.649, allocations: 3.969 kB / 3.454 GB, free: 22.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/8.653, allocations: 2.466 MB / 3.456 GB, free: 20.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006205/8.653, allocations: 339.7 kB / 3.457 GB, free: 20.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/8.653, allocations: 23.38 kB / 3.457 GB, free: 20.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009781/8.654, allocations: 94.09 kB / 3.457 GB, free: 20.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/8.655, allocations: 61.86 kB / 3.457 GB, free: 20.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/8.655, allocations: 30.39 kB / 3.457 GB, free: 20.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006127/8.655, allocations: 423 kB / 3.457 GB, free: 20.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.98e-07/8.655, allocations: 0 / 3.457 GB, free: 20.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00603/8.661, allocations: 1.562 MB / 3.459 GB, free: 20.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009184/8.671, allocations: 1.842 MB / 3.461 GB, free: 19.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003786/8.674, allocations: 1.703 MB / 3.462 GB, free: 19.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.922e-06/8.675, allocations: 0 / 3.462 GB, free: 19.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/8.676, allocations: 1.021 MB / 3.463 GB, free: 18.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/8.678, allocations: 299.2 kB / 3.464 GB, free: 18.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4926/9.171, allocations: 77.67 MB / 3.54 GB, free: 64.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/9.172, allocations: 1.17 MB / 3.541 GB, free: 63.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/9.172, allocations: 69.62 kB / 3.541 GB, free: 63.62 MB / 0.4948 GB Notification: Performance of SimCode: time 1.976e-06/9.172, allocations: 3.594 kB / 3.541 GB, free: 63.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.06546/9.237, allocations: 45.5 MB / 3.585 GB, free: 61.46 MB / 0.4948 GB