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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.115/2.115, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.402e-05/1.444e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2723, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.827/7.099, allocations: 2.626 GB / 2.976 GB, free: 93.92 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/7.1, allocations: 95.25 kB / 2.976 GB, free: 93.87 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334/9.433, allocations: 497.4 MB / 3.461 GB, free: 55.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.211e-06/9.433, allocations: 3.688 kB / 3.461 GB, free: 55.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.165e-05/9.434, allocations: 18.41 kB / 3.462 GB, free: 55.91 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.006565/9.44, allocations: 1.72 MB / 3.463 GB, free: 55.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/9.44, allocations: 11.44 kB / 3.463 GB, free: 55.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003288/9.444, allocations: 317.5 kB / 3.463 GB, free: 55.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/9.445, allocations: 0.6154 MB / 3.464 GB, free: 54.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/9.445, allocations: 92.72 kB / 3.464 GB, free: 54.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/9.445, allocations: 35.88 kB / 3.464 GB, free: 54.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001495/9.447, allocations: 0.6455 MB / 3.465 GB, free: 54.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/9.449, allocations: 0.8813 MB / 3.466 GB, free: 54.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/9.449, allocations: 11.88 kB / 3.466 GB, free: 54.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/9.449, allocations: 0 / 3.466 GB, free: 54.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.089e-05/9.449, allocations: 43.05 kB / 3.466 GB, free: 54.6 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.1946/9.644, allocations: 83.07 MB / 3.547 GB, free: 35.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/9.644, allocations: 358.5 kB / 3.547 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/9.645, allocations: 157.1 kB / 3.547 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09983/9.745, allocations: 33.98 MB / 3.581 GB, free: 30.24 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.617e-05/9.745, allocations: 36.75 kB / 3.581 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 5.793e-06/9.745, allocations: 0 / 3.581 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.009174/9.754, allocations: 1.374 MB / 3.582 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/9.754, allocations: 132.3 kB / 3.582 GB, free: 29.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/9.756, allocations: 497.3 kB / 3.583 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/9.756, allocations: 29.7 kB / 3.583 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/9.756, allocations: 472.2 kB / 3.583 GB, free: 29.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/9.756, allocations: 137.8 kB / 3.583 GB, free: 29.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/9.757, allocations: 0 / 3.583 GB, free: 29.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002876/9.757, allocations: 338 kB / 3.583 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000784/9.758, allocations: 202 kB / 3.584 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/9.759, allocations: 0.56 MB / 3.584 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/9.761, allocations: 324.6 kB / 3.585 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/9.761, allocations: 2.625 kB / 3.585 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003804/9.764, allocations: 0.7511 MB / 3.585 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/9.765, allocations: 10.34 kB / 3.585 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.25e-05/9.765, allocations: 15.91 kB / 3.585 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/9.765, allocations: 59.81 kB / 3.585 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/9.768, allocations: 287.8 kB / 3.586 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/9.771, allocations: 1.941 MB / 3.588 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/9.773, allocations: 37.36 kB / 3.588 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/9.774, allocations: 47.56 kB / 3.588 GB, free: 26.39 MB / 0.5261 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 () * 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.0004417/9.774, allocations: 150.3 kB / 3.588 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/9.774, allocations: 65.53 kB / 3.588 GB, free: 26.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/9.779, allocations: 1.59 MB / 3.589 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-05/9.779, allocations: 22.7 kB / 3.589 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.547e-06/9.779, allocations: 4.594 kB / 3.589 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/9.779, allocations: 0 / 3.589 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006661/9.786, allocations: 2.429 MB / 3.592 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/9.786, allocations: 0 / 3.592 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/9.788, allocations: 178.8 kB / 3.592 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006135/9.789, allocations: 80.55 kB / 3.592 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/9.789, allocations: 8.547 kB / 3.592 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/9.792, allocations: 1.976 MB / 3.594 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.589e-06/9.792, allocations: 1.5 kB / 3.594 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/9.794, allocations: 1.513 MB / 3.595 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/9.794, allocations: 218 kB / 3.596 GB, free: 23.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/9.795, allocations: 6.641 kB / 3.596 GB, free: 23.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007259/9.795, allocations: 43.92 kB / 3.596 GB, free: 23.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/9.795, allocations: 27.02 kB / 3.596 GB, free: 23.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/9.795, allocations: 19.91 kB / 3.596 GB, free: 23.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005846/9.796, allocations: 356.4 kB / 3.596 GB, free: 23.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.728e-06/9.796, allocations: 1.125 kB / 3.596 GB, free: 23.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004912/9.801, allocations: 1.081 MB / 3.597 GB, free: 23.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008038/9.809, allocations: 1.647 MB / 3.599 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002161/9.811, allocations: 0.7792 MB / 3.599 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.587e-06/9.811, allocations: 0.5 kB / 3.599 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/9.813, allocations: 0.5287 MB / 3.6 GB, free: 22.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/9.814, allocations: 268.2 kB / 3.6 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/9.817, allocations: 1.46 MB / 3.602 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008152/9.818, allocations: 1.069 MB / 3.603 GB, free: 21.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/9.818, allocations: 67 kB / 3.603 GB, free: 21.13 MB / 0.5261 GB Notification: Performance of SimCode: time 1.802e-06/9.818, allocations: 0 / 3.603 GB, free: 21.13 MB / 0.5261 GB Notification: Performance of Templates: time 0.3617/10.18, allocations: 38.69 MB / 3.641 GB, free: 102.8 MB / 0.5261 GB