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_pT.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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.412/2.412, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000632/0.0006323, allocations: 16 kB / 315 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3487, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.955/8.304, allocations: 2.625 GB / 2.986 GB, free: 71.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/8.304, allocations: 100.9 kB / 2.986 GB, free: 71.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.783/11.09, allocations: 0.4897 GB / 3.476 GB, free: 49.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.814e-06/11.09, allocations: 0 / 3.476 GB, free: 49.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.889e-05/11.09, allocations: 16.81 kB / 3.476 GB, free: 49.85 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.007841/11.09, allocations: 1.779 MB / 3.478 GB, free: 49.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/11.09, allocations: 10.22 kB / 3.478 GB, free: 49.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/11.1, allocations: 236.9 kB / 3.478 GB, free: 49.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/11.1, allocations: 0.5789 MB / 3.479 GB, free: 48.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/11.1, allocations: 110.7 kB / 3.479 GB, free: 48.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/11.1, allocations: 61.55 kB / 3.479 GB, free: 48.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/11.1, allocations: 1.061 MB / 3.48 GB, free: 48.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/11.1, allocations: 6.281 kB / 3.48 GB, free: 48.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/11.1, allocations: 31.62 kB / 3.48 GB, free: 48.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.392e-05/11.1, allocations: 45.83 kB / 3.48 GB, free: 48.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/11.1, allocations: 0.8104 MB / 3.481 GB, free: 48.41 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.009413/11.11, allocations: 5.53 MB / 3.486 GB, free: 44.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/11.12, allocations: 0.5139 MB / 3.487 GB, free: 44.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1808/11.3, allocations: 53.35 MB / 3.539 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.704e-05/11.3, allocations: 45.97 kB / 3.539 GB, free: 27.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 5.22e-06/11.3, allocations: 0 / 3.539 GB, free: 27.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.01003/11.31, allocations: 2.081 MB / 3.541 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/11.31, allocations: 187.2 kB / 3.541 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/11.31, allocations: 0.6221 MB / 3.542 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.839e-05/11.31, allocations: 36.73 kB / 3.542 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/11.31, allocations: 441.5 kB / 3.542 GB, free: 25.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/11.31, allocations: 170.3 kB / 3.542 GB, free: 25.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/11.31, allocations: 15.94 kB / 3.542 GB, free: 25.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001572/11.31, allocations: 339.5 kB / 3.543 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/11.31, allocations: 230.3 kB / 3.543 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007827/11.31, allocations: 0.605 MB / 3.543 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/11.31, allocations: 347.9 kB / 3.544 GB, free: 24.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/11.31, allocations: 3.312 kB / 3.544 GB, free: 24.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002051/11.31, allocations: 0.8753 MB / 3.545 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/11.31, allocations: 14.16 kB / 3.545 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/11.31, allocations: 18.88 kB / 3.545 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006606/11.32, allocations: 266.2 kB / 3.545 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/11.32, allocations: 291.5 kB / 3.545 GB, free: 24.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/11.32, allocations: 2.02 MB / 3.547 GB, free: 22.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/11.32, allocations: 65.44 kB / 3.547 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.629e-05/11.32, allocations: 44.97 kB / 3.547 GB, free: 22.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006093/11.33, allocations: 285.4 kB / 3.547 GB, free: 22.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/11.33, allocations: 66.56 kB / 3.547 GB, free: 22.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/11.33, allocations: 2.012 MB / 3.549 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/11.33, allocations: 24.28 kB / 3.549 GB, free: 22.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/11.33, allocations: 3.438 kB / 3.549 GB, free: 22.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-06/11.33, allocations: 7.641 kB / 3.549 GB, free: 22.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/11.33, allocations: 2.98 MB / 3.552 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/11.33, allocations: 0 / 3.552 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/11.34, allocations: 187.8 kB / 3.553 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/11.34, allocations: 314.1 kB / 3.553 GB, free: 22.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/11.34, allocations: 13.19 kB / 3.553 GB, free: 22.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/11.34, allocations: 2.074 MB / 3.555 GB, free: 20.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/11.34, allocations: 3.594 kB / 3.555 GB, free: 20.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/11.34, allocations: 1.926 MB / 3.557 GB, free: 19.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006095/11.34, allocations: 285.4 kB / 3.557 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/11.34, allocations: 7.156 kB / 3.557 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/11.35, allocations: 40.34 kB / 3.557 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/11.35, allocations: 40.75 kB / 3.557 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/11.35, allocations: 10.16 kB / 3.557 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00104/11.35, allocations: 0.5536 MB / 3.558 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.12e-07/11.35, allocations: 0 / 3.558 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005768/11.35, allocations: 1.136 MB / 3.559 GB, free: 19.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009382/11.36, allocations: 1.569 MB / 3.56 GB, free: 19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002955/11.37, allocations: 0.9115 MB / 3.561 GB, free: 18.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/11.37, allocations: 0.6562 kB / 3.561 GB, free: 18.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/11.37, allocations: 0.6247 MB / 3.562 GB, free: 18.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/11.37, allocations: 354 kB / 3.562 GB, free: 18.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/11.37, allocations: 2.625 MB / 3.565 GB, free: 17.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/11.38, allocations: 1.122 MB / 3.566 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/11.38, allocations: 69.16 kB / 3.566 GB, free: 33.03 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/11.38, allocations: 0 / 3.566 GB, free: 33.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.07933/11.46, allocations: 40.1 MB / 3.605 GB, free: 24.72 MB / 0.5105 GB