Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005553/0.0005555, allocations: 8 kB / 233.9 MB, free: 2.367 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1127, allocations: 38.77 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.857/7.97, allocations: 2.466 GB / 2.733 GB, free: 58.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/7.97, allocations: 95.48 kB / 2.733 GB, free: 58.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.246/10.22, allocations: 420.2 MB / 3.143 GB, free: 43.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.795e-06/10.22, allocations: 0 / 3.143 GB, free: 43.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.155e-05/10.22, allocations: 10.27 kB / 3.143 GB, free: 43.21 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.00546/10.22, allocations: 1.253 MB / 3.144 GB, free: 42.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/10.22, allocations: 11.03 kB / 3.144 GB, free: 42.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/10.22, allocations: 156.2 kB / 3.144 GB, free: 42.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/10.22, allocations: 322.1 kB / 3.145 GB, free: 42.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/10.22, allocations: 29.41 kB / 3.145 GB, free: 42.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/10.22, allocations: 31.56 kB / 3.145 GB, free: 42.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/10.23, allocations: 0.5724 MB / 3.145 GB, free: 42.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/10.23, allocations: 0 / 3.145 GB, free: 42.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/10.23, allocations: 15.12 kB / 3.145 GB, free: 42.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/10.23, allocations: 7.594 kB / 3.145 GB, free: 42.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/10.23, allocations: 0.5339 MB / 3.146 GB, free: 42.16 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.00419/10.23, allocations: 2.625 MB / 3.148 GB, free: 40.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/10.24, allocations: 489.2 kB / 3.149 GB, free: 40.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/10.24, allocations: 0.5559 MB / 3.149 GB, free: 39.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/10.24, allocations: 40.41 kB / 3.149 GB, free: 39.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.675e-06/10.24, allocations: 0 / 3.149 GB, free: 39.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00765/10.24, allocations: 1.6 MB / 3.151 GB, free: 38.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/10.24, allocations: 54.44 kB / 3.151 GB, free: 38.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/10.25, allocations: 250.8 kB / 3.151 GB, free: 38.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/10.25, allocations: 37.02 kB / 3.151 GB, free: 38.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/10.25, allocations: 178.7 kB / 3.152 GB, free: 38.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/10.25, allocations: 126.1 kB / 3.152 GB, free: 38.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/10.25, allocations: 4 kB / 3.152 GB, free: 38.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/10.25, allocations: 341.7 kB / 3.152 GB, free: 38.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/10.25, allocations: 153.8 kB / 3.152 GB, free: 38.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/10.25, allocations: 246.4 kB / 3.152 GB, free: 37.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007249/10.25, allocations: 170.2 kB / 3.153 GB, free: 37.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/10.25, allocations: 3.062 kB / 3.153 GB, free: 37.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002095/10.25, allocations: 0.5233 MB / 3.153 GB, free: 37.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/10.25, allocations: 7.938 kB / 3.153 GB, free: 37.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/10.25, allocations: 3.953 kB / 3.153 GB, free: 37.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007952/10.25, allocations: 121.8 kB / 3.153 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/10.25, allocations: 90.48 kB / 3.153 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/10.25, allocations: 2.429 MB / 3.156 GB, free: 35.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/10.25, allocations: 52.41 kB / 3.156 GB, free: 35.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/10.25, allocations: 17.89 kB / 3.156 GB, free: 35.23 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.0002975/10.25, allocations: 161.7 kB / 3.156 GB, free: 35.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/10.25, allocations: 33.66 kB / 3.156 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/10.26, allocations: 1.371 MB / 3.157 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/10.26, allocations: 22.08 kB / 3.157 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/10.26, allocations: 2.281 kB / 3.157 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002447/10.26, allocations: 1.465 MB / 3.159 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003864/10.26, allocations: 2.125 MB / 3.161 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/10.26, allocations: 7.094 kB / 3.161 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/10.26, allocations: 101.4 kB / 3.161 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005553/10.27, allocations: 76.44 kB / 3.161 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.013e-05/10.27, allocations: 14.64 kB / 3.161 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004054/10.27, allocations: 0.5931 MB / 3.161 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/10.27, allocations: 0 / 3.161 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/10.27, allocations: 1.311 MB / 3.163 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/10.27, allocations: 163.8 kB / 3.163 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.556e-05/10.27, allocations: 5.969 kB / 3.163 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/10.27, allocations: 50.58 kB / 3.163 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/10.27, allocations: 34.27 kB / 3.163 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/10.27, allocations: 13.62 kB / 3.163 GB, free: 31.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003567/10.27, allocations: 234.4 kB / 3.163 GB, free: 30.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.27, allocations: 0 / 3.163 GB, free: 30.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004414/10.27, allocations: 0.8891 MB / 3.164 GB, free: 30.79 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.008159/10.28, allocations: 1.33 MB / 3.165 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002104/10.28, allocations: 0.6683 MB / 3.166 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/10.28, allocations: 0 / 3.166 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/10.29, allocations: 428.4 kB / 3.166 GB, free: 30.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/10.29, allocations: 185.1 kB / 3.167 GB, free: 30.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/10.29, allocations: 1.549 MB / 3.168 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/10.29, allocations: 0.8878 MB / 3.169 GB, free: 28.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006517/10.29, allocations: 149.1 kB / 3.169 GB, free: 28.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/10.29, allocations: 35.72 kB / 3.169 GB, free: 28.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/10.29, allocations: 0 / 3.169 GB, free: 28.46 MB / 378.7 MB Notification: Performance of Templates: time 0.0675/10.36, allocations: 32.51 MB / 3.201 GB, free: 20.55 MB / 378.7 MB