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.WaterIF97_pT.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.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.297/2.297, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004491, allocations: 8 kB / 314.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.32/6.597, allocations: 2.625 GB / 2.986 GB, free: 87.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/6.597, allocations: 104.6 kB / 2.986 GB, free: 87.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.198/8.796, allocations: 0.4897 GB / 3.476 GB, free: 49.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.561e-06/8.796, allocations: 0 / 3.476 GB, free: 49.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.968e-05/8.796, allocations: 20.53 kB / 3.476 GB, free: 49.64 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.006594/8.802, allocations: 1.774 MB / 3.477 GB, free: 48.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/8.802, allocations: 11.19 kB / 3.477 GB, free: 48.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/8.805, allocations: 237.5 kB / 3.478 GB, free: 48.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/8.806, allocations: 0.5844 MB / 3.478 GB, free: 48.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/8.806, allocations: 114 kB / 3.478 GB, free: 48.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/8.807, allocations: 57.97 kB / 3.478 GB, free: 48.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/8.809, allocations: 1.063 MB / 3.479 GB, free: 48.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/8.809, allocations: 2.719 kB / 3.479 GB, free: 48.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/8.809, allocations: 29.88 kB / 3.479 GB, free: 48.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/8.81, allocations: 41.55 kB / 3.479 GB, free: 48.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/8.812, allocations: 0.8096 MB / 3.48 GB, free: 48.29 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.006923/8.819, allocations: 5.527 MB / 3.486 GB, free: 44.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/8.82, allocations: 0.5161 MB / 3.486 GB, free: 44.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1189/8.939, allocations: 53.35 MB / 3.538 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/8.939, allocations: 44.75 kB / 3.538 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 3.243e-06/8.939, allocations: 0 / 3.538 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.007767/8.947, allocations: 2.081 MB / 3.54 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/8.947, allocations: 187.3 kB / 3.54 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009241/8.948, allocations: 0.5502 MB / 3.541 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/8.948, allocations: 35.64 kB / 3.541 GB, free: 26.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/8.949, allocations: 438.7 kB / 3.541 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/8.949, allocations: 164.6 kB / 3.542 GB, free: 25.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/8.949, allocations: 16.47 kB / 3.542 GB, free: 25.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001768/8.949, allocations: 350.5 kB / 3.542 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/8.95, allocations: 224.4 kB / 3.542 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/8.95, allocations: 0.6113 MB / 3.543 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/8.951, allocations: 339.7 kB / 3.543 GB, free: 25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.218e-06/8.951, allocations: 3.406 kB / 3.543 GB, free: 25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001841/8.953, allocations: 0.8704 MB / 3.544 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/8.953, allocations: 18.39 kB / 3.544 GB, free: 24.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/8.953, allocations: 11.38 kB / 3.544 GB, free: 24.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00419/8.957, allocations: 276.5 kB / 3.544 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/8.959, allocations: 286.8 kB / 3.544 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/8.961, allocations: 2.032 MB / 3.546 GB, free: 23.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009679/8.962, allocations: 62.91 kB / 3.547 GB, free: 23.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/8.962, allocations: 42.53 kB / 3.547 GB, free: 23.06 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.0005375/8.963, allocations: 287.3 kB / 3.547 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/8.963, allocations: 65.44 kB / 3.547 GB, free: 22.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/8.966, allocations: 2.016 MB / 3.549 GB, free: 22.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/8.966, allocations: 23.58 kB / 3.549 GB, free: 22.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/8.966, allocations: 0 / 3.549 GB, free: 22.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/8.966, allocations: 5.859 kB / 3.549 GB, free: 22.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004345/8.97, allocations: 2.987 MB / 3.552 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.621e-06/8.97, allocations: 0 / 3.552 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/8.971, allocations: 181.6 kB / 3.552 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/8.974, allocations: 304.3 kB / 3.552 GB, free: 22.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/8.974, allocations: 16.44 kB / 3.552 GB, free: 22.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/8.977, allocations: 2.092 MB / 3.554 GB, free: 36.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.282e-06/8.977, allocations: 0 / 3.554 GB, free: 36.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/8.979, allocations: 1.95 MB / 3.556 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/8.98, allocations: 286.5 kB / 3.557 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/8.98, allocations: 10.41 kB / 3.557 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006584/8.981, allocations: 37.19 kB / 3.557 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/8.981, allocations: 36.45 kB / 3.557 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/8.981, allocations: 17.67 kB / 3.557 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008872/8.982, allocations: 0.5507 MB / 3.557 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.15e-07/8.982, allocations: 0 / 3.557 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00463/8.987, allocations: 1.137 MB / 3.558 GB, free: 35.46 MB / 0.5105 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.007877/8.994, allocations: 1.566 MB / 3.56 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002295/8.997, allocations: 0.9025 MB / 3.561 GB, free: 35.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.852e-06/8.997, allocations: 4.125 kB / 3.561 GB, free: 35.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/8.998, allocations: 0.6108 MB / 3.561 GB, free: 35.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/9.001, allocations: 357.3 kB / 3.562 GB, free: 35.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/9.004, allocations: 2.612 MB / 3.564 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008663/9.005, allocations: 1.119 MB / 3.565 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/9.006, allocations: 67.25 kB / 3.565 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.762e-06/9.006, allocations: 0 / 3.565 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.05811/9.064, allocations: 40.11 MB / 3.604 GB, free: 29.89 MB / 0.5105 GB