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.WaterIF97OnePhase_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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.77/1.77, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003496, allocations: 8 kB / 233.9 MB, free: 2.352 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08362/0.084, allocations: 38.76 MB / 272.6 MB, free: 11.51 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.339/7.423, allocations: 2.466 GB / 2.733 GB, free: 58.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/7.424, allocations: 94.81 kB / 2.733 GB, free: 58.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174/9.597, allocations: 420.3 MB / 3.143 GB, free: 27.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/9.597, allocations: 0 / 3.143 GB, free: 27.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.884e-05/9.597, allocations: 6.5 kB / 3.143 GB, free: 27.54 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.005611/9.603, allocations: 1.214 MB / 3.144 GB, free: 26.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/9.603, allocations: 7.906 kB / 3.144 GB, free: 26.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/9.606, allocations: 158.5 kB / 3.144 GB, free: 26.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/9.607, allocations: 325.6 kB / 3.145 GB, free: 26.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/9.607, allocations: 23.59 kB / 3.145 GB, free: 26.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.536e-05/9.607, allocations: 44.33 kB / 3.145 GB, free: 26.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/9.609, allocations: 0.5115 MB / 3.145 GB, free: 26.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/9.609, allocations: 2.156 kB / 3.145 GB, free: 26.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/9.609, allocations: 14.47 kB / 3.145 GB, free: 26.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/9.609, allocations: 13.28 kB / 3.145 GB, free: 26.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/9.611, allocations: 322.3 kB / 3.146 GB, free: 26.48 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.004661/9.615, allocations: 2.569 MB / 3.148 GB, free: 24.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/9.616, allocations: 276 kB / 3.148 GB, free: 24.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1333/9.75, allocations: 30.75 MB / 3.178 GB, free: 21.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.579e-05/9.75, allocations: 37.84 kB / 3.178 GB, free: 21.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.565e-06/9.75, allocations: 0 / 3.178 GB, free: 21.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.005175/9.755, allocations: 1.219 MB / 3.18 GB, free: 20.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/9.755, allocations: 59.12 kB / 3.18 GB, free: 20.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/9.756, allocations: 255.2 kB / 3.18 GB, free: 20.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/9.756, allocations: 37.3 kB / 3.18 GB, free: 20.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/9.756, allocations: 181.7 kB / 3.18 GB, free: 19.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.43e-05/9.756, allocations: 118.2 kB / 3.18 GB, free: 19.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/9.756, allocations: 4 kB / 3.18 GB, free: 19.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/9.756, allocations: 340.7 kB / 3.181 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/9.756, allocations: 91.19 kB / 3.181 GB, free: 19.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/9.757, allocations: 217 kB / 3.181 GB, free: 19.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/9.757, allocations: 123.6 kB / 3.181 GB, free: 19.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/9.757, allocations: 0 / 3.181 GB, free: 19.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001107/9.758, allocations: 412.3 kB / 3.181 GB, free: 19.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/9.758, allocations: 11.52 kB / 3.181 GB, free: 19.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/9.758, allocations: 7.656 kB / 3.181 GB, free: 19.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004075/9.759, allocations: 63.09 kB / 3.181 GB, free: 19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/9.759, allocations: 92.44 kB / 3.182 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/9.762, allocations: 2.431 MB / 3.184 GB, free: 16.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/9.762, allocations: 25.94 kB / 3.184 GB, free: 16.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/9.762, allocations: 19.75 kB / 3.184 GB, free: 16.52 MB / 378.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): 42 * 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: 2 * 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: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003296/9.762, allocations: 170 kB / 3.184 GB, free: 16.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/9.763, allocations: 29.19 kB / 3.184 GB, free: 16.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/9.764, allocations: 0.864 MB / 3.185 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/9.764, allocations: 7.766 kB / 3.185 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/9.764, allocations: 3.953 kB / 3.185 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/9.765, allocations: 1.041 MB / 3.186 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/9.768, allocations: 1.489 MB / 3.188 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/9.768, allocations: 0 / 3.188 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/9.768, allocations: 60.3 kB / 3.188 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005575/9.769, allocations: 82.97 kB / 3.188 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/9.769, allocations: 11.59 kB / 3.188 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005126/9.77, allocations: 0.5906 MB / 3.188 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/9.77, allocations: 0 / 3.188 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/9.771, allocations: 0.82 MB / 3.189 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/9.771, allocations: 141.3 kB / 3.189 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/9.771, allocations: 7.906 kB / 3.189 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/9.772, allocations: 40.09 kB / 3.189 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/9.772, allocations: 22.2 kB / 3.189 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/9.772, allocations: 22.45 kB / 3.189 GB, free: 13.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003604/9.773, allocations: 232.5 kB / 3.189 GB, free: 12.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/9.773, allocations: 0 / 3.189 GB, free: 12.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00561/9.778, allocations: 0.8897 MB / 3.19 GB, free: 12.8 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: 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 (32): * Single equations (assignments): 29 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01235/9.791, allocations: 1.327 MB / 3.192 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001951/9.793, allocations: 480.9 kB / 3.192 GB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/9.793, allocations: 0 / 3.192 GB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008425/9.794, allocations: 245.6 kB / 3.192 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/9.796, allocations: 181.7 kB / 3.193 GB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/9.8, allocations: 1.193 MB / 3.194 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/9.801, allocations: 0.8255 MB / 3.194 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001028/9.802, allocations: 184.8 kB / 3.195 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/9.802, allocations: 32.38 kB / 3.195 GB, free: 10.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/9.802, allocations: 0 / 3.195 GB, free: 10.62 MB / 378.7 MB Notification: Performance of Templates: time 0.371/10.17, allocations: 31.71 MB / 3.226 GB, free: 44.04 MB / 378.7 MB