Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.735/1.735, allocations: 171.2 MB / 187.3 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 8 kB / 233.8 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08187/0.08224, allocations: 38.77 MB / 272.6 MB, free: 12.2 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.198/7.28, allocations: 2.466 GB / 2.732 GB, free: 75.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/7.281, allocations: 91.94 kB / 2.733 GB, free: 75.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225/9.505, allocations: 420.2 MB / 3.143 GB, free: 41.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/9.505, allocations: 2.719 kB / 3.143 GB, free: 41.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.63e-05/9.506, allocations: 6.656 kB / 3.143 GB, free: 41.78 MB / 378.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.005226/9.511, allocations: 1.259 MB / 3.144 GB, free: 41.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/9.511, allocations: 9.844 kB / 3.144 GB, free: 41.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/9.513, allocations: 149.8 kB / 3.144 GB, free: 41.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/9.513, allocations: 324.1 kB / 3.145 GB, free: 40.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/9.513, allocations: 30.25 kB / 3.145 GB, free: 40.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/9.513, allocations: 30.88 kB / 3.145 GB, free: 40.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/9.515, allocations: 0.5706 MB / 3.145 GB, free: 40.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/9.515, allocations: 3.75 kB / 3.145 GB, free: 40.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/9.516, allocations: 14.47 kB / 3.145 GB, free: 40.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/9.516, allocations: 13.84 kB / 3.145 GB, free: 40.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/9.518, allocations: 0.5347 MB / 3.146 GB, free: 40.8 MB / 378.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.00392/9.522, allocations: 2.616 MB / 3.148 GB, free: 38.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/9.524, allocations: 487 kB / 3.149 GB, free: 38.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/9.525, allocations: 0.555 MB / 3.149 GB, free: 38.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/9.525, allocations: 40.75 kB / 3.149 GB, free: 38.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/9.525, allocations: 0 / 3.149 GB, free: 38.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.007373/9.533, allocations: 1.609 MB / 3.151 GB, free: 37.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/9.533, allocations: 55.34 kB / 3.151 GB, free: 37.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/9.533, allocations: 247.2 kB / 3.151 GB, free: 37.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/9.533, allocations: 29.52 kB / 3.151 GB, free: 37.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/9.533, allocations: 243.2 kB / 3.151 GB, free: 37.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.924e-05/9.533, allocations: 121.9 kB / 3.152 GB, free: 37.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/9.534, allocations: 9.812 kB / 3.152 GB, free: 37.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/9.534, allocations: 325.7 kB / 3.152 GB, free: 37.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/9.534, allocations: 148.1 kB / 3.152 GB, free: 37.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/9.535, allocations: 254 kB / 3.152 GB, free: 36.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/9.536, allocations: 174.1 kB / 3.152 GB, free: 36.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/9.536, allocations: 3 kB / 3.152 GB, free: 36.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002079/9.538, allocations: 0.5071 MB / 3.153 GB, free: 36.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/9.538, allocations: 7.5 kB / 3.153 GB, free: 36.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/9.538, allocations: 9.516 kB / 3.153 GB, free: 36.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007845/9.539, allocations: 124.7 kB / 3.153 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/9.539, allocations: 88.58 kB / 3.153 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/9.541, allocations: 2.43 MB / 3.156 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/9.542, allocations: 48.14 kB / 3.156 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/9.542, allocations: 17.59 kB / 3.156 GB, free: 34.6 MB / 378.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.0002822/9.542, allocations: 164.4 kB / 3.156 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/9.543, allocations: 40.36 kB / 3.156 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/9.545, allocations: 1.364 MB / 3.157 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/9.545, allocations: 17.17 kB / 3.157 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/9.545, allocations: 0 / 3.157 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00242/9.548, allocations: 1.465 MB / 3.159 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/9.552, allocations: 2.133 MB / 3.161 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/9.552, allocations: 0 / 3.161 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/9.553, allocations: 105.3 kB / 3.161 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005523/9.553, allocations: 71.59 kB / 3.161 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/9.553, allocations: 14.98 kB / 3.161 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003845/9.554, allocations: 0.599 MB / 3.161 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/9.554, allocations: 0 / 3.161 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/9.557, allocations: 1.309 MB / 3.163 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/9.558, allocations: 164.7 kB / 3.163 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/9.558, allocations: 11.3 kB / 3.163 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/9.558, allocations: 42.8 kB / 3.163 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/9.559, allocations: 35.16 kB / 3.163 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/9.559, allocations: 16.31 kB / 3.163 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004347/9.559, allocations: 233.6 kB / 3.163 GB, free: 32.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.52e-07/9.559, allocations: 2.562 kB / 3.163 GB, free: 32.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00535/9.564, allocations: 0.8886 MB / 3.164 GB, free: 32.27 MB / 378.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.01022/9.575, allocations: 1.337 MB / 3.165 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002662/9.577, allocations: 0.6582 MB / 3.166 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/9.578, allocations: 0 / 3.166 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/9.579, allocations: 425.7 kB / 3.166 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/9.581, allocations: 186.8 kB / 3.167 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/9.585, allocations: 1.587 MB / 3.168 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/9.586, allocations: 0.8875 MB / 3.169 GB, free: 30.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/9.586, allocations: 41.53 kB / 3.169 GB, free: 30.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/9.586, allocations: 0 / 3.169 GB, free: 30.5 MB / 378.7 MB Notification: Performance of Templates: time 0.06536/9.651, allocations: 27.73 MB / 3.196 GB, free: 27.99 MB / 378.7 MB