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.412/2.412, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.576e-05, allocations: 0 / 309.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3252, allocations: 54.85 MB / 364.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.49/6.816, allocations: 2.627 GB / 2.983 GB, free: 114.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/6.816, allocations: 95.27 kB / 2.983 GB, free: 114.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013/8.829, allocations: 0.4906 GB / 3.473 GB, free: 33.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.918e-06/8.829, allocations: 3.938 kB / 3.473 GB, free: 33.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.321e-05/8.829, allocations: 23.59 kB / 3.473 GB, free: 33.3 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.005853/8.835, allocations: 1.76 MB / 3.475 GB, free: 31.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/8.835, allocations: 8.031 kB / 3.475 GB, free: 31.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/8.838, allocations: 325.6 kB / 3.475 GB, free: 31.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/8.839, allocations: 0.5973 MB / 3.476 GB, free: 30.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/8.839, allocations: 120.6 kB / 3.476 GB, free: 30.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/8.839, allocations: 56 kB / 3.476 GB, free: 30.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/8.842, allocations: 1.192 MB / 3.477 GB, free: 29.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/8.842, allocations: 11.41 kB / 3.477 GB, free: 29.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/8.842, allocations: 31.94 kB / 3.477 GB, free: 29.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/8.842, allocations: 41.3 kB / 3.477 GB, free: 29.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/8.845, allocations: 0.9884 MB / 3.478 GB, free: 28.05 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.006392/8.851, allocations: 5.607 MB / 3.484 GB, free: 22.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/8.854, allocations: 0.7259 MB / 3.485 GB, free: 21.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/8.854, allocations: 249.6 kB / 3.485 GB, free: 21.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03618/8.89, allocations: 18.86 MB / 3.503 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/8.89, allocations: 42.5 kB / 3.503 GB, free: 16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.337e-06/8.89, allocations: 0 / 3.503 GB, free: 16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.007334/8.898, allocations: 2.021 MB / 3.505 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/8.898, allocations: 158.7 kB / 3.505 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009646/8.899, allocations: 0.5227 MB / 3.506 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/8.899, allocations: 33.7 kB / 3.506 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/8.899, allocations: 437.3 kB / 3.506 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/8.9, allocations: 173 kB / 3.507 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/8.9, allocations: 16 kB / 3.507 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002065/8.9, allocations: 346.8 kB / 3.507 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/8.9, allocations: 241.9 kB / 3.507 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000885/8.901, allocations: 0.5883 MB / 3.508 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/8.902, allocations: 345.5 kB / 3.508 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.905e-06/8.902, allocations: 3.938 kB / 3.508 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002025/8.904, allocations: 0.8641 MB / 3.509 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/8.904, allocations: 19.94 kB / 3.509 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/8.904, allocations: 8 kB / 3.509 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/8.905, allocations: 68.89 kB / 3.509 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/8.906, allocations: 315.5 kB / 3.509 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/8.909, allocations: 1.976 MB / 3.511 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/8.91, allocations: 87.89 kB / 3.511 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/8.91, allocations: 51.92 kB / 3.511 GB, free: 7.316 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 () * 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.0002851/8.91, allocations: 164.9 kB / 3.511 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/8.91, allocations: 75.16 kB / 3.512 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/8.914, allocations: 2.569 MB / 3.514 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.308e-05/8.914, allocations: 35.94 kB / 3.514 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.567e-06/8.915, allocations: 4.031 kB / 3.514 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/8.915, allocations: 3.984 kB / 3.514 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/8.921, allocations: 3.742 MB / 3.518 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.177e-06/8.921, allocations: 0 / 3.518 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/8.922, allocations: 235.7 kB / 3.518 GB, free: 432 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/8.923, allocations: 88.69 kB / 3.518 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/8.923, allocations: 12 kB / 3.518 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3404/9.263, allocations: 1.988 MB / 3.52 GB, free: 60.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.478e-06/9.263, allocations: 3.719 kB / 3.52 GB, free: 60.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/9.267, allocations: 2.237 MB / 3.522 GB, free: 60.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/9.267, allocations: 323.7 kB / 3.522 GB, free: 60.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/9.267, allocations: 15.28 kB / 3.522 GB, free: 60.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007697/9.268, allocations: 63 kB / 3.523 GB, free: 60.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/9.268, allocations: 53.34 kB / 3.523 GB, free: 60.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/9.268, allocations: 23.78 kB / 3.523 GB, free: 60.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009453/9.269, allocations: 0.5317 MB / 3.523 GB, free: 60.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.2e-07/9.269, allocations: 0 / 3.523 GB, free: 60.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004631/9.274, allocations: 1.14 MB / 3.524 GB, free: 60.17 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 () * 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.006474/9.281, allocations: 1.547 MB / 3.526 GB, free: 60.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002513/9.283, allocations: 1.009 MB / 3.527 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/9.283, allocations: 4.469 kB / 3.527 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/9.285, allocations: 0.7483 MB / 3.527 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/9.287, allocations: 365.1 kB / 3.528 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/9.291, allocations: 1.947 MB / 3.53 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008781/9.292, allocations: 1.18 MB / 3.531 GB, free: 58.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/9.292, allocations: 71.16 kB / 3.531 GB, free: 58.91 MB / 0.4948 GB Notification: Performance of SimCode: time 2.131e-06/9.292, allocations: 0 / 3.531 GB, free: 58.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.06098/9.353, allocations: 41.94 MB / 3.572 GB, free: 57.17 MB / 0.4948 GB