Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 12 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08228/0.08267, allocations: 44.51 MB / 308.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.951/6.034, allocations: 2.574 GB / 2.876 GB, free: 85.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/6.034, allocations: 87.02 kB / 2.876 GB, free: 85.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.244/7.278, allocations: 297.3 MB / 3.166 GB, free: 54.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.642e-06/7.278, allocations: 3.906 kB / 3.166 GB, free: 54.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/7.278, allocations: 7.406 kB / 3.166 GB, free: 54.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002692/7.281, allocations: 0.9503 MB / 3.167 GB, free: 53.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/7.281, allocations: 7.406 kB / 3.167 GB, free: 53.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009532/7.282, allocations: 80.7 kB / 3.167 GB, free: 53.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/7.283, allocations: 301.9 kB / 3.167 GB, free: 53.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/7.283, allocations: 26.12 kB / 3.167 GB, free: 53.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/7.283, allocations: 33.66 kB / 3.167 GB, free: 53.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000934/7.284, allocations: 442.2 kB / 3.168 GB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/7.284, allocations: 3.938 kB / 3.168 GB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/7.284, allocations: 13.69 kB / 3.168 GB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/7.284, allocations: 9.656 kB / 3.168 GB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/7.285, allocations: 313.1 kB / 3.168 GB, free: 53.19 MB / 410.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.002742/7.287, allocations: 2.631 MB / 3.171 GB, free: 51.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/7.288, allocations: 253 kB / 3.171 GB, free: 51.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0344/7.322, allocations: 15.34 MB / 3.186 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/7.323, allocations: 34.31 kB / 3.186 GB, free: 41.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.901e-06/7.323, allocations: 0 / 3.186 GB, free: 41.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.005323/7.328, allocations: 1.282 MB / 3.187 GB, free: 41.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/7.328, allocations: 56.34 kB / 3.187 GB, free: 41.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/7.328, allocations: 248.3 kB / 3.187 GB, free: 41.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/7.328, allocations: 31.95 kB / 3.187 GB, free: 41.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/7.328, allocations: 253.1 kB / 3.188 GB, free: 41.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/7.329, allocations: 106.5 kB / 3.188 GB, free: 41.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/7.329, allocations: 7.438 kB / 3.188 GB, free: 41.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/7.329, allocations: 328.9 kB / 3.188 GB, free: 40.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/7.329, allocations: 100.8 kB / 3.188 GB, free: 40.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/7.329, allocations: 216.1 kB / 3.188 GB, free: 40.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/7.329, allocations: 142 kB / 3.189 GB, free: 40.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-06/7.33, allocations: 0 / 3.189 GB, free: 40.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009985/7.331, allocations: 432 kB / 3.189 GB, free: 40.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/7.331, allocations: 6.594 kB / 3.189 GB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/7.331, allocations: 3.969 kB / 3.189 GB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004456/7.335, allocations: 259.4 kB / 3.189 GB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/7.335, allocations: 86.84 kB / 3.189 GB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/7.337, allocations: 1.876 MB / 3.191 GB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/7.337, allocations: 33.55 kB / 3.191 GB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/7.337, allocations: 19.83 kB / 3.191 GB, free: 38.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002547/7.338, allocations: 163.4 kB / 3.191 GB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/7.338, allocations: 33.16 kB / 3.191 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/7.339, allocations: 0.9443 MB / 3.192 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/7.339, allocations: 10.56 kB / 3.192 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.188e-06/7.339, allocations: 0 / 3.192 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/7.34, allocations: 1.122 MB / 3.193 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/7.343, allocations: 1.588 MB / 3.195 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.377e-06/7.343, allocations: 0 / 3.195 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/7.343, allocations: 53.36 kB / 3.195 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/7.345, allocations: 284.8 kB / 3.195 GB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/7.345, allocations: 15.2 kB / 3.195 GB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005562/7.346, allocations: 0.662 MB / 3.196 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.528e-06/7.346, allocations: 4.062 kB / 3.196 GB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/7.347, allocations: 0.9597 MB / 3.197 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/7.348, allocations: 139.9 kB / 3.197 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/7.348, allocations: 6.781 kB / 3.197 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/7.348, allocations: 18 kB / 3.197 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/7.348, allocations: 21 kB / 3.197 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/7.348, allocations: 10.62 kB / 3.197 GB, free: 36.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003069/7.348, allocations: 235.8 kB / 3.197 GB, free: 36.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.21e-07/7.348, allocations: 0 / 3.197 GB, free: 36.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002406/7.351, allocations: 0.546 MB / 3.198 GB, free: 36.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.003466/7.354, allocations: 0.855 MB / 3.199 GB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/7.355, allocations: 0.5129 MB / 3.199 GB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.744e-06/7.355, allocations: 0 / 3.199 GB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005324/7.356, allocations: 304.8 kB / 3.199 GB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/7.357, allocations: 188.6 kB / 3.2 GB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/7.359, allocations: 1.246 MB / 3.201 GB, free: 35.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/7.359, allocations: 0.8323 MB / 3.202 GB, free: 34.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/7.36, allocations: 35.53 kB / 3.202 GB, free: 34.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.706e-06/7.36, allocations: 4 kB / 3.202 GB, free: 34.89 MB / 410.7 MB Notification: Performance of Templates: time 0.02862/7.388, allocations: 18.48 MB / 3.22 GB, free: 33.14 MB / 410.7 MB