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/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.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.124/2.124, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.569e-05/1.572e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2723, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.86/6.133, allocations: 2.595 GB / 2.945 GB, free: 28.65 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/6.133, allocations: 79.95 kB / 2.945 GB, free: 28.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993/8.126, allocations: 413.7 MB / 3.349 GB, free: 66.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.751e-06/8.126, allocations: 0 / 3.349 GB, free: 66.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.732e-05/8.126, allocations: 18.02 kB / 3.349 GB, free: 66.23 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.005784/8.132, allocations: 1.643 MB / 3.35 GB, free: 65.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/8.132, allocations: 12.67 kB / 3.351 GB, free: 65.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/8.135, allocations: 302.4 kB / 3.351 GB, free: 65.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/8.136, allocations: 0.5431 MB / 3.351 GB, free: 65.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/8.136, allocations: 25.94 kB / 3.351 GB, free: 65.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.018e-05/8.136, allocations: 28.94 kB / 3.351 GB, free: 65.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001163/8.137, allocations: 0.5122 MB / 3.352 GB, free: 65.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/8.139, allocations: 0.6344 MB / 3.352 GB, free: 65.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/8.139, allocations: 1.312 kB / 3.352 GB, free: 65.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.11e-05/8.139, allocations: 7.562 kB / 3.353 GB, free: 65.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/8.139, allocations: 20.06 kB / 3.353 GB, free: 65.15 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.09245/8.231, allocations: 36.46 MB / 3.388 GB, free: 46.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/8.232, allocations: 373.6 kB / 3.388 GB, free: 46.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/8.233, allocations: 184.3 kB / 3.389 GB, free: 46.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04299/8.276, allocations: 20.03 MB / 3.408 GB, free: 33.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/8.276, allocations: 42.34 kB / 3.408 GB, free: 33.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 3.819e-06/8.276, allocations: 0 / 3.408 GB, free: 33.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.01129/8.287, allocations: 2.337 MB / 3.411 GB, free: 32.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/8.287, allocations: 114.2 kB / 3.411 GB, free: 32.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/8.288, allocations: 361.3 kB / 3.411 GB, free: 32.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/8.288, allocations: 25.7 kB / 3.411 GB, free: 32.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/8.288, allocations: 389.9 kB / 3.411 GB, free: 32.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/8.288, allocations: 175.7 kB / 3.412 GB, free: 32.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/8.288, allocations: 2.844 kB / 3.412 GB, free: 32.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/8.288, allocations: 341 kB / 3.412 GB, free: 31.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/8.289, allocations: 213.6 kB / 3.412 GB, free: 31.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/8.289, allocations: 427.3 kB / 3.412 GB, free: 31.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/8.291, allocations: 377.6 kB / 3.413 GB, free: 31.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.094e-06/8.291, allocations: 3.5 kB / 3.413 GB, free: 31.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00755/8.299, allocations: 0.9856 MB / 3.414 GB, free: 31.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006797/8.3, allocations: 2.353 MB / 3.416 GB, free: 29.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/8.3, allocations: 8.375 kB / 3.416 GB, free: 29.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004675/8.304, allocations: 421.2 kB / 3.417 GB, free: 29.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/8.306, allocations: 142.8 kB / 3.417 GB, free: 29.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/8.31, allocations: 1.544 MB / 3.418 GB, free: 28.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/8.312, allocations: 86.08 kB / 3.418 GB, free: 28.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/8.312, allocations: 39.47 kB / 3.418 GB, free: 28.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/8.312, allocations: 3.969 kB / 3.418 GB, free: 28.09 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007542/8.319, allocations: 0.8884 MB / 3.419 GB, free: 28.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/8.32, allocations: 5.062 kB / 3.419 GB, free: 28.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/8.322, allocations: 322.8 kB / 3.419 GB, free: 28.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/8.324, allocations: 143.4 kB / 3.42 GB, free: 28.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/8.327, allocations: 1.465 MB / 3.421 GB, free: 26.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/8.328, allocations: 73.23 kB / 3.421 GB, free: 26.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/8.329, allocations: 38.98 kB / 3.421 GB, free: 26.96 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (62): * Single equations (assignments): 60 * 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.0004673/8.329, allocations: 131 kB / 3.421 GB, free: 26.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/8.329, allocations: 56.61 kB / 3.421 GB, free: 26.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009571/8.339, allocations: 2.918 MB / 3.424 GB, free: 26.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.448e-05/8.339, allocations: 39.45 kB / 3.424 GB, free: 26.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/8.339, allocations: 3.312 kB / 3.424 GB, free: 26.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/8.339, allocations: 3.609 kB / 3.424 GB, free: 26.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/8.352, allocations: 3.846 MB / 3.428 GB, free: 26.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/8.352, allocations: 7.766 kB / 3.428 GB, free: 26.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/8.353, allocations: 92.33 kB / 3.428 GB, free: 26.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004511/8.357, allocations: 0.9633 MB / 3.429 GB, free: 26.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/8.357, allocations: 11.08 kB / 3.429 GB, free: 26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00415/8.362, allocations: 2.114 MB / 3.431 GB, free: 24.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.186e-06/8.362, allocations: 4.125 kB / 3.431 GB, free: 24.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007384/8.369, allocations: 1.998 MB / 3.433 GB, free: 24.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008975/8.37, allocations: 285.6 kB / 3.433 GB, free: 24.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/8.37, allocations: 0 / 3.433 GB, free: 24.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/8.372, allocations: 76.78 kB / 3.433 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/8.372, allocations: 52.08 kB / 3.433 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/8.372, allocations: 24.06 kB / 3.433 GB, free: 24.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008706/8.373, allocations: 327.2 kB / 3.434 GB, free: 24.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-06/8.373, allocations: 0 / 3.434 GB, free: 24.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01023/8.383, allocations: 1.353 MB / 3.435 GB, free: 24.16 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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01234/8.396, allocations: 1.816 MB / 3.437 GB, free: 23.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005877/8.402, allocations: 1.335 MB / 3.438 GB, free: 23.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.206e-06/8.402, allocations: 0 / 3.438 GB, free: 23.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/8.404, allocations: 0.769 MB / 3.439 GB, free: 23.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003202/8.407, allocations: 247 kB / 3.439 GB, free: 23.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/8.412, allocations: 1.627 MB / 3.441 GB, free: 23.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009166/8.413, allocations: 1.101 MB / 3.442 GB, free: 22.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/8.414, allocations: 66.94 kB / 3.442 GB, free: 22.57 MB / 490.7 MB Notification: Performance of SimCode: time 2.371e-06/8.414, allocations: 0 / 3.442 GB, free: 22.57 MB / 490.7 MB Notification: Performance of Templates: time 0.07403/8.488, allocations: 41.34 MB / 3.482 GB, free: 16.89 MB / 490.7 MB