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.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadModel(ModelicaTest): time 2.08/2.08, allocations: 234.9 MB / 250.5 MB, free: 9.527 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004281, allocations: 8 kB / 314.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2702, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.99/6.26, allocations: 2.596 GB / 2.956 GB, free: 147.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/6.261, allocations: 84.64 kB / 2.957 GB, free: 147.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.672/7.932, allocations: 419 MB / 3.366 GB, free: 61.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.274e-06/7.932, allocations: 3.969 kB / 3.366 GB, free: 61.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.684e-05/7.933, allocations: 14.25 kB / 3.366 GB, free: 61.33 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005535/7.938, allocations: 1.72 MB / 3.367 GB, free: 60.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/7.938, allocations: 10.06 kB / 3.367 GB, free: 60.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/7.941, allocations: 297.1 kB / 3.368 GB, free: 60.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/7.942, allocations: 0.5415 MB / 3.368 GB, free: 60.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/7.942, allocations: 47.75 kB / 3.368 GB, free: 60.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/7.942, allocations: 54.72 kB / 3.368 GB, free: 60.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/7.945, allocations: 0.9735 MB / 3.369 GB, free: 60.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/7.945, allocations: 2.719 kB / 3.369 GB, free: 60.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.813e-05/7.946, allocations: 23.03 kB / 3.369 GB, free: 60.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/7.946, allocations: 20.38 kB / 3.369 GB, free: 60.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/7.949, allocations: 0.8676 MB / 3.37 GB, free: 60.15 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005265/7.954, allocations: 4.549 MB / 3.375 GB, free: 56.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/7.957, allocations: 0.7322 MB / 3.375 GB, free: 56.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04366/8.001, allocations: 21.38 MB / 3.396 GB, free: 43.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/8.001, allocations: 44.22 kB / 3.396 GB, free: 43.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.525e-06/8.001, allocations: 0 / 3.396 GB, free: 43.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.01517/8.016, allocations: 3.266 MB / 3.399 GB, free: 42.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/8.016, allocations: 107.3 kB / 3.4 GB, free: 42.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/8.017, allocations: 378.8 kB / 3.4 GB, free: 42.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/8.017, allocations: 32.83 kB / 3.4 GB, free: 42.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/8.017, allocations: 377.9 kB / 3.4 GB, free: 42.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/8.017, allocations: 197.9 kB / 3.401 GB, free: 42.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/8.017, allocations: 15 kB / 3.401 GB, free: 42.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.33e-05/8.017, allocations: 336.8 kB / 3.401 GB, free: 41.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/8.018, allocations: 312.2 kB / 3.401 GB, free: 41.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/8.019, allocations: 0.5008 MB / 3.402 GB, free: 41.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/8.021, allocations: 350.8 kB / 3.402 GB, free: 41.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.914e-06/8.021, allocations: 3.656 kB / 3.402 GB, free: 41.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004214/8.025, allocations: 1.113 MB / 3.403 GB, free: 41.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004868/8.025, allocations: 2.357 MB / 3.405 GB, free: 39.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/8.025, allocations: 6.688 kB / 3.405 GB, free: 39.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002929/8.028, allocations: 479.3 kB / 3.406 GB, free: 39.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/8.029, allocations: 153.2 kB / 3.406 GB, free: 39.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/8.031, allocations: 1.528 MB / 3.407 GB, free: 38.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/8.032, allocations: 89.92 kB / 3.408 GB, free: 38.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/8.032, allocations: 41.03 kB / 3.408 GB, free: 38.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/8.032, allocations: 3.938 kB / 3.408 GB, free: 38.06 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004016/8.036, allocations: 1.055 MB / 3.409 GB, free: 38.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/8.036, allocations: 11.36 kB / 3.409 GB, free: 38.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002537/8.039, allocations: 408.8 kB / 3.409 GB, free: 38.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/8.04, allocations: 149.5 kB / 3.409 GB, free: 38.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/8.042, allocations: 1.476 MB / 3.411 GB, free: 36.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/8.043, allocations: 89.17 kB / 3.411 GB, free: 36.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/8.043, allocations: 38.3 kB / 3.411 GB, free: 36.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * 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 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000529/8.043, allocations: 289.5 kB / 3.411 GB, free: 36.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/8.043, allocations: 60.56 kB / 3.411 GB, free: 36.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005741/8.049, allocations: 3.41 MB / 3.414 GB, free: 36.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-05/8.049, allocations: 47.52 kB / 3.414 GB, free: 36.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.955e-06/8.049, allocations: 0 / 3.414 GB, free: 36.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/8.049, allocations: 3.938 kB / 3.414 GB, free: 36.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007914/8.057, allocations: 4.656 MB / 3.419 GB, free: 35.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/8.057, allocations: 0 / 3.419 GB, free: 35.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/8.058, allocations: 109.7 kB / 3.419 GB, free: 35.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003379/8.061, allocations: 0.9117 MB / 3.42 GB, free: 35.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/8.061, allocations: 19.42 kB / 3.42 GB, free: 35.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/8.064, allocations: 1.952 MB / 3.422 GB, free: 34.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.72e-06/8.064, allocations: 0 / 3.422 GB, free: 34.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003987/8.068, allocations: 2.19 MB / 3.424 GB, free: 34.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/8.068, allocations: 316.9 kB / 3.424 GB, free: 34.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/8.068, allocations: 14.59 kB / 3.424 GB, free: 34.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007938/8.069, allocations: 87.67 kB / 3.424 GB, free: 34.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/8.069, allocations: 65.45 kB / 3.425 GB, free: 34.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.949e-05/8.07, allocations: 27.38 kB / 3.425 GB, free: 34.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005335/8.07, allocations: 391.2 kB / 3.425 GB, free: 34.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.79e-07/8.07, allocations: 2.938 kB / 3.425 GB, free: 34.13 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005277/8.075, allocations: 1.41 MB / 3.426 GB, free: 33.94 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 8,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008283/8.084, allocations: 1.735 MB / 3.428 GB, free: 33.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005009/8.089, allocations: 1.75 MB / 3.43 GB, free: 33.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.617e-06/8.089, allocations: 0 / 3.43 GB, free: 33.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/8.091, allocations: 0.9823 MB / 3.431 GB, free: 33.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/8.093, allocations: 274.1 kB / 3.431 GB, free: 33.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1765/8.269, allocations: 78.32 MB / 3.507 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009679/8.27, allocations: 1.155 MB / 3.509 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/8.27, allocations: 67.09 kB / 3.509 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.99e-06/8.27, allocations: 0 / 3.509 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.4182/8.689, allocations: 42.58 MB / 3.55 GB, free: 60.84 MB / 0.4948 GB