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_ph.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_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.298/2.298, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004443, allocations: 16 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2788, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.369/6.648, allocations: 2.627 GB / 2.987 GB, free: 158.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/6.648, allocations: 95.95 kB / 2.987 GB, free: 158.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.909/8.557, allocations: 0.4919 GB / 3.479 GB, free: 29.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.013e-06/8.557, allocations: 0 / 3.479 GB, free: 29.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.329e-05/8.557, allocations: 16 kB / 3.479 GB, free: 29.52 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.005686/8.563, allocations: 1.835 MB / 3.481 GB, free: 27.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/8.563, allocations: 12.03 kB / 3.481 GB, free: 27.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/8.566, allocations: 326.2 kB / 3.481 GB, free: 27.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/8.567, allocations: 0.6038 MB / 3.482 GB, free: 26.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/8.567, allocations: 123 kB / 3.482 GB, free: 26.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/8.567, allocations: 59.91 kB / 3.482 GB, free: 26.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/8.57, allocations: 1.2 MB / 3.483 GB, free: 25.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/8.57, allocations: 4 kB / 3.483 GB, free: 25.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/8.57, allocations: 30.19 kB / 3.483 GB, free: 25.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/8.57, allocations: 52.19 kB / 3.484 GB, free: 25.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/8.573, allocations: 1.048 MB / 3.485 GB, free: 24.13 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.006192/8.58, allocations: 5.602 MB / 3.49 GB, free: 18.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/8.582, allocations: 0.7896 MB / 3.491 GB, free: 17.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03675/8.619, allocations: 18.81 MB / 3.509 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/8.619, allocations: 42.5 kB / 3.509 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.435e-06/8.619, allocations: 0 / 3.509 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.009042/8.628, allocations: 2.354 MB / 3.511 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/8.628, allocations: 162.7 kB / 3.512 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000967/8.629, allocations: 0.5303 MB / 3.512 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.56e-05/8.63, allocations: 45.69 kB / 3.512 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/8.63, allocations: 425.4 kB / 3.513 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/8.63, allocations: 173.5 kB / 3.513 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/8.63, allocations: 16 kB / 3.513 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001975/8.63, allocations: 342.8 kB / 3.513 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008828/8.631, allocations: 293.8 kB / 3.513 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/8.633, allocations: 0.6311 MB / 3.514 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/8.634, allocations: 388.5 kB / 3.514 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.603e-06/8.634, allocations: 8 kB / 3.514 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002618/8.636, allocations: 0.9649 MB / 3.515 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/8.636, allocations: 11.95 kB / 3.515 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/8.636, allocations: 12 kB / 3.515 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/8.637, allocations: 69.47 kB / 3.515 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/8.638, allocations: 319.5 kB / 3.516 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/8.641, allocations: 1.984 MB / 3.518 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/8.642, allocations: 87.94 kB / 3.518 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/8.642, allocations: 44 kB / 3.518 GB, free: 3.008 MB / 0.4948 GB 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.0005935/8.642, allocations: 273.4 kB / 3.518 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/8.643, allocations: 74.77 kB / 3.518 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/8.647, allocations: 2.605 MB / 3.521 GB, free: 44 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.004e-05/8.647, allocations: 35.94 kB / 3.521 GB, free: 8 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/8.647, allocations: 4 kB / 3.521 GB, free: 4 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.981e-06/8.647, allocations: 0 / 3.521 GB, free: 4 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3419/8.989, allocations: 3.781 MB / 3.524 GB, free: 68.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/8.989, allocations: 2.297 kB / 3.524 GB, free: 68.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/8.991, allocations: 241.8 kB / 3.525 GB, free: 68.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/8.991, allocations: 92.27 kB / 3.525 GB, free: 68.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/8.992, allocations: 13.62 kB / 3.525 GB, free: 68.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/8.993, allocations: 2 MB / 3.527 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/8.993, allocations: 5.328 kB / 3.527 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00401/8.997, allocations: 2.382 MB / 3.529 GB, free: 66.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006254/8.998, allocations: 335.4 kB / 3.529 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/8.998, allocations: 9.719 kB / 3.529 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/8.999, allocations: 67.69 kB / 3.529 GB, free: 65.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/8.999, allocations: 54.55 kB / 3.529 GB, free: 65.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/8.999, allocations: 17.41 kB / 3.529 GB, free: 65.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008688/9, allocations: 0.5466 MB / 3.53 GB, free: 65.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.28e-07/9, allocations: 0 / 3.53 GB, free: 65.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004651/9.005, allocations: 1.135 MB / 3.531 GB, free: 65.87 MB / 0.4948 GB 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.0076/9.012, allocations: 1.539 MB / 3.533 GB, free: 65.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002991/9.015, allocations: 1.099 MB / 3.534 GB, free: 65.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.039e-06/9.015, allocations: 3.906 kB / 3.534 GB, free: 65.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/9.017, allocations: 0.7936 MB / 3.534 GB, free: 65.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/9.02, allocations: 362.4 kB / 3.535 GB, free: 65.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/9.024, allocations: 3.07 MB / 3.538 GB, free: 64.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/9.025, allocations: 1.183 MB / 3.539 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/9.025, allocations: 73.75 kB / 3.539 GB, free: 63.77 MB / 0.4948 GB Notification: Performance of SimCode: time 1.511e-06/9.025, allocations: 0 / 3.539 GB, free: 63.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.06022/9.085, allocations: 42.18 MB / 3.58 GB, free: 61.82 MB / 0.4948 GB