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.WaterIF97_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.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.303/2.303, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004258, allocations: 12 kB / 315 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3438, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.873/8.216, allocations: 2.627 GB / 2.988 GB, free: 69.71 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/8.217, allocations: 101.9 kB / 2.988 GB, free: 69.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.901/11.12, allocations: 0.4919 GB / 3.48 GB, free: 48.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.556e-06/11.12, allocations: 2.156 kB / 3.48 GB, free: 48.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.628e-05/11.12, allocations: 24.16 kB / 3.48 GB, free: 48.34 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.009037/11.13, allocations: 1.829 MB / 3.482 GB, free: 47.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/11.13, allocations: 8.719 kB / 3.482 GB, free: 47.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003527/11.13, allocations: 328.2 kB / 3.482 GB, free: 47.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/11.13, allocations: 0.6006 MB / 3.483 GB, free: 47.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/11.13, allocations: 120.8 kB / 3.483 GB, free: 47.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/11.13, allocations: 60.16 kB / 3.483 GB, free: 47.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005786/11.14, allocations: 1.207 MB / 3.484 GB, free: 46.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.824e-05/11.14, allocations: 6.25 kB / 3.484 GB, free: 46.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/11.14, allocations: 32.73 kB / 3.484 GB, free: 46.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/11.14, allocations: 45.36 kB / 3.484 GB, free: 46.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004687/11.14, allocations: 1.046 MB / 3.485 GB, free: 46.94 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.01022/11.15, allocations: 5.609 MB / 3.491 GB, free: 43.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/11.16, allocations: 0.7841 MB / 3.491 GB, free: 43.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05821/11.22, allocations: 18.8 MB / 3.51 GB, free: 31.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/11.22, allocations: 44.98 kB / 3.51 GB, free: 31.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 2.996e-06/11.22, allocations: 4.25 kB / 3.51 GB, free: 31.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.011/11.23, allocations: 2.351 MB / 3.512 GB, free: 30.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/11.23, allocations: 164.6 kB / 3.512 GB, free: 30.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/11.23, allocations: 0.596 MB / 3.513 GB, free: 30.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002143/11.23, allocations: 32.02 kB / 3.513 GB, free: 30.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/11.23, allocations: 430.7 kB / 3.513 GB, free: 30.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/11.23, allocations: 185.6 kB / 3.513 GB, free: 30.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/11.23, allocations: 11 kB / 3.513 GB, free: 30.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/11.23, allocations: 349.9 kB / 3.514 GB, free: 29.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/11.23, allocations: 293.6 kB / 3.514 GB, free: 29.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/11.23, allocations: 0.6387 MB / 3.515 GB, free: 29.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/11.23, allocations: 389.6 kB / 3.515 GB, free: 29.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/11.23, allocations: 3.969 kB / 3.515 GB, free: 29.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003367/11.24, allocations: 0.9653 MB / 3.516 GB, free: 29.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/11.24, allocations: 7.938 kB / 3.516 GB, free: 29.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/11.24, allocations: 19.27 kB / 3.516 GB, free: 29.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/11.24, allocations: 69 kB / 3.516 GB, free: 29.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/11.24, allocations: 313.9 kB / 3.516 GB, free: 29.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/11.24, allocations: 1.985 MB / 3.518 GB, free: 27.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/11.24, allocations: 85.22 kB / 3.518 GB, free: 27.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/11.24, allocations: 47.28 kB / 3.518 GB, free: 27.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0006437/11.24, allocations: 279.3 kB / 3.519 GB, free: 27.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/11.25, allocations: 72.75 kB / 3.519 GB, free: 27.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/11.25, allocations: 2.601 MB / 3.521 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.903e-05/11.25, allocations: 43.48 kB / 3.521 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/11.25, allocations: 0 / 3.521 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/11.25, allocations: 3.75 kB / 3.521 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007145/11.26, allocations: 3.777 MB / 3.525 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/11.26, allocations: 3.406 kB / 3.525 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002161/11.26, allocations: 239.2 kB / 3.525 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006413/11.26, allocations: 93.78 kB / 3.525 GB, free: 26.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/11.26, allocations: 12.8 kB / 3.525 GB, free: 26.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/11.26, allocations: 2.007 MB / 3.527 GB, free: 24.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/11.26, allocations: 3.438 kB / 3.527 GB, free: 24.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/11.27, allocations: 2.37 MB / 3.53 GB, free: 24.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000739/11.27, allocations: 326.9 kB / 3.53 GB, free: 24.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/11.27, allocations: 17.3 kB / 3.53 GB, free: 24.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/11.27, allocations: 59.97 kB / 3.53 GB, free: 24.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/11.27, allocations: 53.73 kB / 3.53 GB, free: 24.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/11.27, allocations: 18.53 kB / 3.53 GB, free: 24.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001168/11.27, allocations: 0.5476 MB / 3.531 GB, free: 24.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/11.27, allocations: 0 / 3.531 GB, free: 24.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006261/11.28, allocations: 1.139 MB / 3.532 GB, free: 23.96 MB / 490.7 MB 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.0102/11.29, allocations: 1.543 MB / 3.533 GB, free: 23.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003966/11.29, allocations: 1.1 MB / 3.534 GB, free: 23.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/11.29, allocations: 3.562 kB / 3.534 GB, free: 23.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002504/11.29, allocations: 0.8078 MB / 3.535 GB, free: 23.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/11.3, allocations: 367.4 kB / 3.535 GB, free: 23.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/11.3, allocations: 3.075 MB / 3.538 GB, free: 22.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/11.3, allocations: 1.182 MB / 3.54 GB, free: 21.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/11.3, allocations: 70.06 kB / 3.54 GB, free: 21.67 MB / 490.7 MB Notification: Performance of SimCode: time 1.203e-06/11.3, allocations: 3.094 kB / 3.54 GB, free: 21.67 MB / 490.7 MB Notification: Performance of Templates: time 0.07967/11.38, allocations: 42.18 MB / 3.581 GB, free: 18.39 MB / 490.7 MB