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.32/2.32, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.579e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3493, allocations: 54.85 MB / 364.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.332/6.682, allocations: 2.625 GB / 2.981 GB, free: 112.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/6.682, allocations: 98.12 kB / 2.981 GB, free: 112.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.942/8.624, allocations: 0.4884 GB / 3.47 GB, free: 38.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.905e-06/8.624, allocations: 0 / 3.47 GB, free: 38.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.753e-05/8.624, allocations: 20 kB / 3.47 GB, free: 38.45 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.005696/8.63, allocations: 1.696 MB / 3.471 GB, free: 36.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/8.63, allocations: 8.031 kB / 3.471 GB, free: 36.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/8.632, allocations: 230.8 kB / 3.471 GB, free: 36.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/8.633, allocations: 0.5969 MB / 3.472 GB, free: 35.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/8.634, allocations: 115.7 kB / 3.472 GB, free: 35.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/8.634, allocations: 58.97 kB / 3.472 GB, free: 35.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/8.636, allocations: 1.071 MB / 3.473 GB, free: 34.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/8.636, allocations: 7.938 kB / 3.473 GB, free: 34.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/8.636, allocations: 34.94 kB / 3.473 GB, free: 34.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.145e-05/8.636, allocations: 40.98 kB / 3.473 GB, free: 34.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/8.638, allocations: 0.8194 MB / 3.474 GB, free: 33.65 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006411/8.645, allocations: 5.531 MB / 3.48 GB, free: 27.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/8.646, allocations: 0.538 MB / 3.48 GB, free: 27.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/8.647, allocations: 199.5 kB / 3.48 GB, free: 27.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4126/9.059, allocations: 53.54 MB / 3.533 GB, free: 57.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/9.059, allocations: 41.81 kB / 3.533 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 3.581e-06/9.059, allocations: 0 / 3.533 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.007401/9.067, allocations: 1.985 MB / 3.535 GB, free: 57.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/9.067, allocations: 186.1 kB / 3.535 GB, free: 57.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/9.068, allocations: 0.5449 MB / 3.535 GB, free: 56.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/9.068, allocations: 35.48 kB / 3.535 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/9.068, allocations: 443.2 kB / 3.536 GB, free: 56.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/9.068, allocations: 167.9 kB / 3.536 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/9.068, allocations: 18.09 kB / 3.536 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/9.069, allocations: 341.2 kB / 3.536 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/9.069, allocations: 226.5 kB / 3.536 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/9.07, allocations: 0.5976 MB / 3.537 GB, free: 55.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006649/9.07, allocations: 345.2 kB / 3.537 GB, free: 55.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/9.07, allocations: 6.766 kB / 3.537 GB, free: 55.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001839/9.072, allocations: 0.8556 MB / 3.538 GB, free: 55.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/9.072, allocations: 12.31 kB / 3.538 GB, free: 55.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/9.072, allocations: 13.98 kB / 3.538 GB, free: 55.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004895/9.077, allocations: 278.4 kB / 3.538 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/9.079, allocations: 285.7 kB / 3.539 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/9.08, allocations: 2.025 MB / 3.541 GB, free: 53.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009757/9.081, allocations: 60.34 kB / 3.541 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/9.082, allocations: 47.45 kB / 3.541 GB, free: 53.8 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 () * 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.0002211/9.082, allocations: 172.3 kB / 3.541 GB, free: 53.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/9.082, allocations: 71.38 kB / 3.541 GB, free: 53.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/9.085, allocations: 2.009 MB / 3.543 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/9.085, allocations: 23.59 kB / 3.543 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.921e-06/9.085, allocations: 0 / 3.543 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/9.085, allocations: 5.266 kB / 3.543 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/9.089, allocations: 2.977 MB / 3.546 GB, free: 53.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.429e-06/9.089, allocations: 0 / 3.546 GB, free: 53.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/9.091, allocations: 188.4 kB / 3.546 GB, free: 53.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002332/9.093, allocations: 298.3 kB / 3.546 GB, free: 53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/9.093, allocations: 17.84 kB / 3.546 GB, free: 53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/9.095, allocations: 2.068 MB / 3.548 GB, free: 51.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.073e-06/9.095, allocations: 0 / 3.548 GB, free: 51.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/9.097, allocations: 1.936 MB / 3.55 GB, free: 50.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/9.098, allocations: 283 kB / 3.551 GB, free: 50.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/9.098, allocations: 13.64 kB / 3.551 GB, free: 50.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007363/9.099, allocations: 40.84 kB / 3.551 GB, free: 50.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/9.099, allocations: 29.88 kB / 3.551 GB, free: 50.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/9.099, allocations: 22.12 kB / 3.551 GB, free: 50.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008481/9.1, allocations: 0.5437 MB / 3.551 GB, free: 50.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.27e-07/9.1, allocations: 0 / 3.551 GB, free: 50.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005156/9.105, allocations: 1.136 MB / 3.552 GB, free: 50.49 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 () * 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.007829/9.113, allocations: 1.556 MB / 3.554 GB, free: 50.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00224/9.115, allocations: 0.8943 MB / 3.555 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/9.115, allocations: 0 / 3.555 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/9.117, allocations: 0.6145 MB / 3.555 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/9.119, allocations: 366.6 kB / 3.556 GB, free: 50.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/9.122, allocations: 1.65 MB / 3.557 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/9.123, allocations: 1.111 MB / 3.558 GB, free: 49.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/9.123, allocations: 68 kB / 3.558 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of SimCode: time 2.308e-06/9.123, allocations: 0 / 3.558 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.06044/9.184, allocations: 39.88 MB / 3.597 GB, free: 46.87 MB / 0.4948 GB