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.WaterIF97OnePhase_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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.666/1.666, allocations: 171.2 MB / 184.2 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.423e-05, allocations: 4 kB / 228.8 MB, free: 15.43 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2078, allocations: 38.77 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.262/6.469, allocations: 2.466 GB / 2.728 GB, free: 71.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/6.47, allocations: 83.31 kB / 2.728 GB, free: 71.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.807/8.277, allocations: 419 MB / 3.137 GB, free: 46.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.223e-06/8.277, allocations: 1.422 kB / 3.137 GB, free: 46.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.885e-05/8.277, allocations: 15.53 kB / 3.137 GB, free: 46.77 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.004036/8.281, allocations: 1.184 MB / 3.138 GB, free: 46.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/8.281, allocations: 8.734 kB / 3.138 GB, free: 46.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/8.283, allocations: 161.9 kB / 3.138 GB, free: 46.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/8.283, allocations: 316.1 kB / 3.138 GB, free: 46.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/8.283, allocations: 31.89 kB / 3.138 GB, free: 46.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/8.283, allocations: 30.16 kB / 3.138 GB, free: 46.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/8.285, allocations: 0.539 MB / 3.139 GB, free: 45.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/8.285, allocations: 9.938 kB / 3.139 GB, free: 45.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/8.285, allocations: 14.88 kB / 3.139 GB, free: 45.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/8.285, allocations: 7.25 kB / 3.139 GB, free: 45.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008397/8.286, allocations: 333.2 kB / 3.139 GB, free: 45.93 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003135/8.289, allocations: 2.566 MB / 3.142 GB, free: 44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/8.29, allocations: 281.1 kB / 3.142 GB, free: 43.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/8.29, allocations: 114.2 kB / 3.142 GB, free: 43.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0724/8.362, allocations: 30.87 MB / 3.172 GB, free: 26.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/8.362, allocations: 37.44 kB / 3.172 GB, free: 25.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.169e-06/8.362, allocations: 0 / 3.172 GB, free: 25.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004085/8.367, allocations: 1.091 MB / 3.173 GB, free: 25.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/8.367, allocations: 57.78 kB / 3.174 GB, free: 25.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/8.367, allocations: 224.3 kB / 3.174 GB, free: 25.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/8.367, allocations: 34.67 kB / 3.174 GB, free: 25.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/8.367, allocations: 247.6 kB / 3.174 GB, free: 25.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.244e-05/8.367, allocations: 112 kB / 3.174 GB, free: 25.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/8.367, allocations: 10.31 kB / 3.174 GB, free: 25.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/8.368, allocations: 338.8 kB / 3.174 GB, free: 24.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/8.368, allocations: 87.09 kB / 3.175 GB, free: 24.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/8.368, allocations: 207.4 kB / 3.175 GB, free: 24.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/8.368, allocations: 131.8 kB / 3.175 GB, free: 24.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.926e-06/8.368, allocations: 0 / 3.175 GB, free: 24.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009788/8.369, allocations: 401.6 kB / 3.175 GB, free: 24.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/8.369, allocations: 9.188 kB / 3.175 GB, free: 24.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/8.369, allocations: 3.031 kB / 3.175 GB, free: 24.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/8.37, allocations: 61.97 kB / 3.175 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/8.37, allocations: 91.44 kB / 3.175 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/8.372, allocations: 2.428 MB / 3.178 GB, free: 22.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/8.373, allocations: 29.06 kB / 3.178 GB, free: 22.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/8.373, allocations: 15.44 kB / 3.178 GB, free: 22.29 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 () * 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.0002042/8.373, allocations: 132.5 kB / 3.178 GB, free: 22.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/8.373, allocations: 35.52 kB / 3.178 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/8.375, allocations: 0.8655 MB / 3.179 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/8.375, allocations: 5.75 kB / 3.179 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.708e-06/8.375, allocations: 3.719 kB / 3.179 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/8.376, allocations: 1.04 MB / 3.18 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/8.378, allocations: 1.48 MB / 3.181 GB, free: 21.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.987e-06/8.378, allocations: 0 / 3.181 GB, free: 21.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/8.378, allocations: 56.69 kB / 3.181 GB, free: 21.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/8.379, allocations: 71.42 kB / 3.181 GB, free: 21.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/8.379, allocations: 10.89 kB / 3.181 GB, free: 21.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005332/8.379, allocations: 0.5888 MB / 3.182 GB, free: 20.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.893e-06/8.379, allocations: 2.969 kB / 3.182 GB, free: 20.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/8.381, allocations: 0.8169 MB / 3.183 GB, free: 20.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/8.381, allocations: 129.4 kB / 3.183 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/8.381, allocations: 8.5 kB / 3.183 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/8.381, allocations: 43.45 kB / 3.183 GB, free: 20.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/8.382, allocations: 22.14 kB / 3.183 GB, free: 20.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/8.382, allocations: 19.14 kB / 3.183 GB, free: 20.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003209/8.382, allocations: 236.3 kB / 3.183 GB, free: 20.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.07e-07/8.382, allocations: 0 / 3.183 GB, free: 20.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0038/8.386, allocations: 0.8873 MB / 3.184 GB, free: 20.11 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 () * 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.006673/8.392, allocations: 1.329 MB / 3.185 GB, free: 19.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/8.394, allocations: 485.7 kB / 3.186 GB, free: 19.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.468e-06/8.394, allocations: 2.344 kB / 3.186 GB, free: 19.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/8.394, allocations: 245.5 kB / 3.186 GB, free: 19.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/8.396, allocations: 186 kB / 3.186 GB, free: 19.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/8.397, allocations: 0.7505 MB / 3.187 GB, free: 19.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/8.398, allocations: 0.8302 MB / 3.188 GB, free: 18.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/8.398, allocations: 36.25 kB / 3.188 GB, free: 18.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.851e-06/8.398, allocations: 0 / 3.188 GB, free: 18.69 MB / 378.7 MB Notification: Performance of Templates: time 0.04065/8.439, allocations: 26.02 MB / 3.213 GB, free: 16.16 MB / 378.7 MB