Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006467/0.0006469, allocations: 12 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3807, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.022/8.403, allocations: 2.627 GB / 2.988 GB, free: 69.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/8.403, allocations: 104.7 kB / 2.988 GB, free: 69.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.874/11.28, allocations: 0.492 GB / 3.48 GB, free: 48.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/11.28, allocations: 1.219 kB / 3.48 GB, free: 48.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.596e-05/11.28, allocations: 22.56 kB / 3.48 GB, free: 48.4 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008302/11.29, allocations: 1.794 MB / 3.482 GB, free: 47.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/11.29, allocations: 7.438 kB / 3.482 GB, free: 47.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/11.29, allocations: 324 kB / 3.482 GB, free: 47.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/11.29, allocations: 0.6101 MB / 3.483 GB, free: 47.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/11.29, allocations: 115.7 kB / 3.483 GB, free: 47.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/11.29, allocations: 64.92 kB / 3.483 GB, free: 47.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003818/11.3, allocations: 1.159 MB / 3.484 GB, free: 46.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/11.3, allocations: 3.656 kB / 3.484 GB, free: 46.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/11.3, allocations: 31.12 kB / 3.484 GB, free: 46.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-05/11.3, allocations: 45.61 kB / 3.484 GB, free: 46.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/11.3, allocations: 0.8294 MB / 3.485 GB, free: 46.98 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.009247/11.31, allocations: 5.479 MB / 3.49 GB, free: 43.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/11.31, allocations: 0.561 MB / 3.491 GB, free: 43.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1583/11.47, allocations: 49.01 MB / 3.539 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/11.47, allocations: 44.39 kB / 3.539 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 3.006e-06/11.47, allocations: 0 / 3.539 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.007993/11.48, allocations: 1.928 MB / 3.541 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/11.48, allocations: 165.5 kB / 3.541 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/11.48, allocations: 0.6114 MB / 3.541 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/11.48, allocations: 36.95 kB / 3.541 GB, free: 28.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/11.48, allocations: 434.4 kB / 3.542 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/11.48, allocations: 166.4 kB / 3.542 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/11.48, allocations: 16.09 kB / 3.542 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001687/11.48, allocations: 339.5 kB / 3.542 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006898/11.48, allocations: 227.6 kB / 3.542 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/11.48, allocations: 0.59 MB / 3.543 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/11.48, allocations: 340.1 kB / 3.543 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/11.48, allocations: 7.5 kB / 3.543 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002317/11.48, allocations: 0.8483 MB / 3.544 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/11.48, allocations: 12.09 kB / 3.544 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/11.48, allocations: 15.69 kB / 3.544 GB, free: 27.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004507/11.48, allocations: 65.38 kB / 3.544 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/11.49, allocations: 291.8 kB / 3.545 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/11.49, allocations: 1.984 MB / 3.546 GB, free: 25.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/11.49, allocations: 63.84 kB / 3.547 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/11.49, allocations: 45.75 kB / 3.547 GB, free: 25.49 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007135/11.49, allocations: 279 kB / 3.547 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/11.49, allocations: 80.72 kB / 3.547 GB, free: 25.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/11.49, allocations: 2.214 MB / 3.549 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/11.5, allocations: 30.66 kB / 3.549 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/11.5, allocations: 0 / 3.549 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/11.5, allocations: 2.625 kB / 3.549 GB, free: 25.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005806/11.5, allocations: 3.283 MB / 3.552 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/11.5, allocations: 3.422 kB / 3.552 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/11.5, allocations: 188.1 kB / 3.553 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000654/11.5, allocations: 88.67 kB / 3.553 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.402e-05/11.5, allocations: 13.98 kB / 3.553 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/11.51, allocations: 1.998 MB / 3.555 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/11.51, allocations: 0 / 3.555 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/11.51, allocations: 1.978 MB / 3.556 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007508/11.51, allocations: 285.4 kB / 3.557 GB, free: 22.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/11.51, allocations: 10.94 kB / 3.557 GB, free: 22.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/11.51, allocations: 54.16 kB / 3.557 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/11.51, allocations: 33.48 kB / 3.557 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/11.51, allocations: 29.45 kB / 3.557 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001016/11.51, allocations: 0.4935 MB / 3.557 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.42e-07/11.51, allocations: 4 kB / 3.557 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00698/11.52, allocations: 1.128 MB / 3.558 GB, free: 21.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0132/11.53, allocations: 1.546 MB / 3.56 GB, free: 21.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003875/11.54, allocations: 0.9332 MB / 3.561 GB, free: 21.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/11.54, allocations: 2.25 kB / 3.561 GB, free: 21.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/11.54, allocations: 0.6625 MB / 3.562 GB, free: 21.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/11.54, allocations: 357.2 kB / 3.562 GB, free: 21.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/11.55, allocations: 2.761 MB / 3.565 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/11.55, allocations: 1.127 MB / 3.566 GB, free: 19.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/11.55, allocations: 80.98 kB / 3.566 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/11.55, allocations: 0 / 3.566 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.08839/11.64, allocations: 40.63 MB / 3.605 GB, free: 10.11 MB / 0.4948 GB