Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.65/1.65, allocations: 171.2 MB / 186.8 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 11.98 kB / 233.3 MB, free: 2.996 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07156/0.07197, allocations: 38.77 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.623/5.695, allocations: 2.466 GB / 2.732 GB, free: 16.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/5.695, allocations: 95.88 kB / 2.732 GB, free: 16.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883/7.578, allocations: 420.2 MB / 3.142 GB, free: 24.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.855e-06/7.578, allocations: 4 kB / 3.142 GB, free: 24.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/7.578, allocations: 5.797 kB / 3.142 GB, free: 24.22 MB / 362.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.004203/7.582, allocations: 1.252 MB / 3.144 GB, free: 22.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/7.582, allocations: 8.031 kB / 3.144 GB, free: 22.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/7.585, allocations: 159.7 kB / 3.144 GB, free: 22.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/7.585, allocations: 324.9 kB / 3.144 GB, free: 22.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/7.585, allocations: 35.78 kB / 3.144 GB, free: 22.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/7.585, allocations: 28 kB / 3.144 GB, free: 22.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/7.587, allocations: 0.5618 MB / 3.145 GB, free: 21.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/7.587, allocations: 7.938 kB / 3.145 GB, free: 21.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/7.587, allocations: 16 kB / 3.145 GB, free: 21.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/7.587, allocations: 8 kB / 3.145 GB, free: 21.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/7.589, allocations: 0.5316 MB / 3.145 GB, free: 21.24 MB / 362.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.003053/7.592, allocations: 2.626 MB / 3.148 GB, free: 18.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/7.594, allocations: 487.3 kB / 3.148 GB, free: 17.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007896/7.595, allocations: 0.5583 MB / 3.149 GB, free: 17.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/7.595, allocations: 39 kB / 3.149 GB, free: 17.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.291e-06/7.595, allocations: 0 / 3.149 GB, free: 17.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.005766/7.6, allocations: 1.598 MB / 3.15 GB, free: 15.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/7.601, allocations: 55.41 kB / 3.15 GB, free: 15.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/7.601, allocations: 220.1 kB / 3.151 GB, free: 15.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/7.601, allocations: 33.7 kB / 3.151 GB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/7.601, allocations: 245 kB / 3.151 GB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.354e-05/7.601, allocations: 117 kB / 3.151 GB, free: 14.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/7.601, allocations: 11.94 kB / 3.151 GB, free: 14.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/7.601, allocations: 326.8 kB / 3.151 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/7.602, allocations: 151.5 kB / 3.152 GB, free: 14.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/7.602, allocations: 249 kB / 3.152 GB, free: 14.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/7.603, allocations: 174.1 kB / 3.152 GB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/7.603, allocations: 0 / 3.152 GB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001535/7.604, allocations: 0.5174 MB / 3.152 GB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/7.604, allocations: 4 kB / 3.152 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/7.604, allocations: 7.953 kB / 3.152 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/7.605, allocations: 117.9 kB / 3.153 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/7.605, allocations: 91.05 kB / 3.153 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/7.607, allocations: 2.436 MB / 3.155 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/7.608, allocations: 42.97 kB / 3.155 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/7.608, allocations: 19.98 kB / 3.155 GB, free: 10.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002392/7.608, allocations: 165.3 kB / 3.155 GB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.745e-05/7.608, allocations: 31.62 kB / 3.155 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/7.61, allocations: 1.37 MB / 3.157 GB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/7.61, allocations: 15.98 kB / 3.157 GB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.103e-06/7.61, allocations: 3.984 kB / 3.157 GB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001783/7.612, allocations: 1.464 MB / 3.158 GB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/7.615, allocations: 2.127 MB / 3.16 GB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.997e-06/7.615, allocations: 0 / 3.16 GB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004868/7.616, allocations: 110.6 kB / 3.16 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/7.616, allocations: 71.83 kB / 3.16 GB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/7.616, allocations: 19.94 kB / 3.16 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003406/7.617, allocations: 0.5913 MB / 3.161 GB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.411e-06/7.617, allocations: 4.062 kB / 3.161 GB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/7.619, allocations: 1.314 MB / 3.162 GB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/7.619, allocations: 164.1 kB / 3.162 GB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/7.619, allocations: 8 kB / 3.162 GB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/7.62, allocations: 51.3 kB / 3.162 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/7.62, allocations: 35.89 kB / 3.162 GB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/7.62, allocations: 15.98 kB / 3.162 GB, free: 2.836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002894/7.62, allocations: 231 kB / 3.163 GB, free: 2.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.61e-07/7.62, allocations: 0 / 3.163 GB, free: 2.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003715/7.624, allocations: 0.886 MB / 3.164 GB, free: 1.727 MB / 362.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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006492/7.63, allocations: 1.334 MB / 3.165 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/7.632, allocations: 0.6595 MB / 3.165 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/7.632, allocations: 0 / 3.165 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009375/7.633, allocations: 418 kB / 3.166 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/7.634, allocations: 194.4 kB / 3.166 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/7.637, allocations: 1.599 MB / 3.168 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/7.638, allocations: 0.885 MB / 3.168 GB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/7.638, allocations: 35.42 kB / 3.169 GB, free: 12.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.682e-06/7.638, allocations: 4 kB / 3.169 GB, free: 12.89 MB / 378.7 MB Notification: Performance of Templates: time 0.274/7.912, allocations: 27.72 MB / 3.196 GB, free: 42.07 MB / 378.7 MB