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.749/1.749, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 12 kB / 233.3 MB, free: 3 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 38.76 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.877/5.996, allocations: 2.466 GB / 2.732 GB, free: 84.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/5.997, allocations: 91.5 kB / 2.732 GB, free: 84.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.82/7.817, allocations: 420.2 MB / 3.142 GB, free: 27.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.452e-06/7.817, allocations: 3.938 kB / 3.142 GB, free: 27.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.51e-05/7.817, allocations: 10.09 kB / 3.142 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.004112/7.821, allocations: 1.211 MB / 3.144 GB, free: 26.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/7.822, allocations: 7.688 kB / 3.144 GB, free: 26.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/7.823, allocations: 156.8 kB / 3.144 GB, free: 26.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/7.824, allocations: 329.5 kB / 3.144 GB, free: 26.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/7.824, allocations: 25.12 kB / 3.144 GB, free: 26.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/7.824, allocations: 32.44 kB / 3.144 GB, free: 26.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/7.826, allocations: 0.517 MB / 3.145 GB, free: 26.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/7.826, allocations: 4.844 kB / 3.145 GB, free: 26.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/7.826, allocations: 14.59 kB / 3.145 GB, free: 26.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/7.826, allocations: 8.844 kB / 3.145 GB, free: 26.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008004/7.827, allocations: 330.6 kB / 3.145 GB, free: 26.61 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.003218/7.83, allocations: 2.561 MB / 3.148 GB, free: 24.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/7.831, allocations: 273.5 kB / 3.148 GB, free: 24.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07349/7.904, allocations: 30.76 MB / 3.178 GB, free: 22.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/7.904, allocations: 34.38 kB / 3.178 GB, free: 22.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.985e-06/7.904, allocations: 0 / 3.178 GB, free: 22.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004209/7.908, allocations: 1.21 MB / 3.179 GB, free: 21.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/7.909, allocations: 55.22 kB / 3.179 GB, free: 21.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/7.909, allocations: 238.3 kB / 3.179 GB, free: 21.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/7.909, allocations: 32.58 kB / 3.179 GB, free: 21.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/7.909, allocations: 242.8 kB / 3.18 GB, free: 21.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.24e-05/7.909, allocations: 115.5 kB / 3.18 GB, free: 21.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/7.909, allocations: 3.875 kB / 3.18 GB, free: 21.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/7.909, allocations: 325.3 kB / 3.18 GB, free: 21.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/7.91, allocations: 95.64 kB / 3.18 GB, free: 21.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/7.91, allocations: 214.2 kB / 3.18 GB, free: 20.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/7.91, allocations: 131.7 kB / 3.18 GB, free: 20.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.305e-06/7.91, allocations: 4 kB / 3.18 GB, free: 20.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009983/7.911, allocations: 393.7 kB / 3.181 GB, free: 20.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/7.911, allocations: 15.67 kB / 3.181 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/7.911, allocations: 3.781 kB / 3.181 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/7.912, allocations: 60.5 kB / 3.181 GB, free: 20.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/7.912, allocations: 90.52 kB / 3.181 GB, free: 20.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/7.914, allocations: 2.431 MB / 3.183 GB, free: 18.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/7.915, allocations: 29.31 kB / 3.183 GB, free: 18.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/7.915, allocations: 16.88 kB / 3.183 GB, free: 18.48 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.0003052/7.915, allocations: 169.2 kB / 3.184 GB, free: 18.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/7.915, allocations: 33.8 kB / 3.184 GB, free: 18.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/7.917, allocations: 0.8678 MB / 3.184 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/7.917, allocations: 7.234 kB / 3.184 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.437e-06/7.917, allocations: 7.266 kB / 3.184 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/7.918, allocations: 1.038 MB / 3.185 GB, free: 17.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/7.92, allocations: 1.494 MB / 3.187 GB, free: 17.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.097e-06/7.92, allocations: 3.938 kB / 3.187 GB, free: 17.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/7.92, allocations: 52.03 kB / 3.187 GB, free: 17.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/7.921, allocations: 75.41 kB / 3.187 GB, free: 17.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/7.921, allocations: 12.52 kB / 3.187 GB, free: 17.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005288/7.921, allocations: 0.5944 MB / 3.188 GB, free: 16.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/7.921, allocations: 0 / 3.188 GB, free: 16.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/7.923, allocations: 0.8208 MB / 3.188 GB, free: 16.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/7.923, allocations: 142.3 kB / 3.189 GB, free: 16.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/7.923, allocations: 6.375 kB / 3.189 GB, free: 16.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/7.923, allocations: 45.27 kB / 3.189 GB, free: 16.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/7.924, allocations: 19.61 kB / 3.189 GB, free: 16.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/7.924, allocations: 21.27 kB / 3.189 GB, free: 16.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003405/7.924, allocations: 234.2 kB / 3.189 GB, free: 16.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.472e-06/7.924, allocations: 0 / 3.189 GB, free: 16.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003685/7.928, allocations: 0.8934 MB / 3.19 GB, free: 16.25 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.006633/7.934, allocations: 1.313 MB / 3.191 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/7.935, allocations: 481.7 kB / 3.191 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.918e-06/7.936, allocations: 2.344 kB / 3.191 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000463/7.936, allocations: 248.8 kB / 3.192 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/7.937, allocations: 178 kB / 3.192 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/7.939, allocations: 1.223 MB / 3.193 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/7.94, allocations: 0.8304 MB / 3.194 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/7.94, allocations: 32.47 kB / 3.194 GB, free: 14.47 MB / 378.7 MB Notification: Performance of SimCode: time 2.224e-06/7.94, allocations: 11.44 kB / 3.194 GB, free: 14.46 MB / 378.7 MB Notification: Performance of Templates: time 0.04094/7.981, allocations: 26.23 MB / 3.22 GB, free: 11.41 MB / 378.7 MB