Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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.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.255/2.255, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004388, allocations: 8 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3022, allocations: 54.87 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.323/6.625, allocations: 2.627 GB / 2.987 GB, free: 112.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/6.625, allocations: 95.94 kB / 2.987 GB, free: 112.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.218/8.843, allocations: 0.492 GB / 3.479 GB, free: 48.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.56e-06/8.843, allocations: 0 / 3.479 GB, free: 48.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.46e-05/8.843, allocations: 17.41 kB / 3.479 GB, free: 48.51 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.006184/8.849, allocations: 1.8 MB / 3.481 GB, free: 47.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/8.849, allocations: 11.41 kB / 3.481 GB, free: 47.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/8.852, allocations: 321.5 kB / 3.482 GB, free: 47.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/8.854, allocations: 0.6123 MB / 3.482 GB, free: 47.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/8.854, allocations: 104.4 kB / 3.482 GB, free: 47.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/8.854, allocations: 59.69 kB / 3.482 GB, free: 47.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003187/8.857, allocations: 1.16 MB / 3.483 GB, free: 47.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/8.858, allocations: 6.156 kB / 3.483 GB, free: 47.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/8.858, allocations: 28.73 kB / 3.483 GB, free: 47.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.136e-05/8.858, allocations: 49.12 kB / 3.484 GB, free: 47.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/8.86, allocations: 0.8249 MB / 3.484 GB, free: 47.23 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.006901/8.867, allocations: 5.48 MB / 3.49 GB, free: 43.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/8.869, allocations: 0.571 MB / 3.49 GB, free: 43.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1115/8.98, allocations: 49.01 MB / 3.538 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/8.98, allocations: 40.84 kB / 3.538 GB, free: 30.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 3.152e-06/8.98, allocations: 0 / 3.538 GB, free: 30.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.006403/8.987, allocations: 1.921 MB / 3.54 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/8.987, allocations: 169.7 kB / 3.54 GB, free: 29.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008111/8.988, allocations: 0.5405 MB / 3.541 GB, free: 29.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/8.988, allocations: 35.61 kB / 3.541 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/8.988, allocations: 439.1 kB / 3.541 GB, free: 29.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/8.988, allocations: 170.5 kB / 3.541 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/8.988, allocations: 14.72 kB / 3.541 GB, free: 29.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001818/8.989, allocations: 345.5 kB / 3.542 GB, free: 28.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/8.989, allocations: 218.1 kB / 3.542 GB, free: 28.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006322/8.99, allocations: 0.5945 MB / 3.542 GB, free: 28.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/8.99, allocations: 338.4 kB / 3.543 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/8.99, allocations: 3.188 kB / 3.543 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001863/8.992, allocations: 0.8534 MB / 3.544 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/8.992, allocations: 10.44 kB / 3.544 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/8.992, allocations: 11.53 kB / 3.544 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/8.993, allocations: 73.66 kB / 3.544 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/8.994, allocations: 283.6 kB / 3.544 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/8.996, allocations: 1.988 MB / 3.546 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/8.997, allocations: 65.05 kB / 3.546 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/8.997, allocations: 44.94 kB / 3.546 GB, free: 26.28 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.0006004/8.998, allocations: 282.7 kB / 3.546 GB, free: 26.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/8.998, allocations: 79.11 kB / 3.546 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/9.001, allocations: 2.207 MB / 3.549 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/9.001, allocations: 35.34 kB / 3.549 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/9.001, allocations: 0 / 3.549 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.924e-06/9.001, allocations: 3.156 kB / 3.549 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004329/9.006, allocations: 3.271 MB / 3.552 GB, free: 25.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.684e-06/9.006, allocations: 7.203 kB / 3.552 GB, free: 25.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/9.007, allocations: 195.5 kB / 3.552 GB, free: 25.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000527/9.008, allocations: 92.39 kB / 3.552 GB, free: 25.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/9.008, allocations: 10 kB / 3.552 GB, free: 25.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/9.01, allocations: 1.999 MB / 3.554 GB, free: 23.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.641e-06/9.01, allocations: 7.703 kB / 3.554 GB, free: 23.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/9.012, allocations: 1.983 MB / 3.556 GB, free: 23.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/9.013, allocations: 283 kB / 3.556 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/9.013, allocations: 11.19 kB / 3.556 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008602/9.014, allocations: 58.17 kB / 3.556 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/9.014, allocations: 34.98 kB / 3.556 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/9.014, allocations: 18.31 kB / 3.556 GB, free: 22.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008438/9.015, allocations: 0.4976 MB / 3.557 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-07/9.015, allocations: 0 / 3.557 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004725/9.02, allocations: 1.134 MB / 3.558 GB, free: 22.7 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.007659/9.027, allocations: 1.545 MB / 3.559 GB, free: 22.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002213/9.03, allocations: 0.9192 MB / 3.56 GB, free: 22.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.974e-06/9.03, allocations: 3.844 kB / 3.56 GB, free: 22.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/9.031, allocations: 0.6498 MB / 3.561 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/9.034, allocations: 360.7 kB / 3.561 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/9.038, allocations: 2.754 MB / 3.564 GB, free: 21.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008868/9.038, allocations: 1.133 MB / 3.565 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/9.039, allocations: 73.03 kB / 3.565 GB, free: 20.35 MB / 0.4948 GB Notification: Performance of SimCode: time 1.903e-06/9.039, allocations: 0 / 3.565 GB, free: 20.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.05943/9.098, allocations: 40.62 MB / 3.605 GB, free: 17.1 MB / 0.4948 GB