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.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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.705/1.705, allocations: 171.2 MB / 187.3 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003514, allocations: 8 kB / 233.8 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08353/0.0839, allocations: 38.78 MB / 272.6 MB, free: 12.2 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.497/7.581, allocations: 2.466 GB / 2.732 GB, free: 59.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/7.582, allocations: 94.38 kB / 2.733 GB, free: 59.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.14/9.721, allocations: 420.3 MB / 3.143 GB, free: 27.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/9.722, allocations: 3.594 kB / 3.143 GB, free: 27.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.626e-05/9.722, allocations: 3.625 kB / 3.143 GB, free: 27.86 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.005022/9.727, allocations: 1.216 MB / 3.144 GB, free: 27.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/9.727, allocations: 10.69 kB / 3.144 GB, free: 27.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/9.729, allocations: 161.7 kB / 3.144 GB, free: 27.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/9.729, allocations: 323.5 kB / 3.145 GB, free: 26.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/9.729, allocations: 27 kB / 3.145 GB, free: 26.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/9.729, allocations: 33.22 kB / 3.145 GB, free: 26.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/9.731, allocations: 0.5184 MB / 3.145 GB, free: 26.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/9.731, allocations: 3.969 kB / 3.145 GB, free: 26.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/9.731, allocations: 17.59 kB / 3.145 GB, free: 26.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/9.731, allocations: 7.906 kB / 3.145 GB, free: 26.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008948/9.732, allocations: 324.6 kB / 3.146 GB, free: 26.79 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.004037/9.736, allocations: 2.565 MB / 3.148 GB, free: 24.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/9.737, allocations: 269 kB / 3.148 GB, free: 24.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1226/9.86, allocations: 30.76 MB / 3.178 GB, free: 21.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/9.86, allocations: 38.56 kB / 3.178 GB, free: 21.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.294e-06/9.86, allocations: 0 / 3.178 GB, free: 21.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004879/9.865, allocations: 1.206 MB / 3.18 GB, free: 21.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/9.865, allocations: 59.06 kB / 3.18 GB, free: 21.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/9.865, allocations: 264.5 kB / 3.18 GB, free: 20.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/9.865, allocations: 29.7 kB / 3.18 GB, free: 20.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/9.866, allocations: 242.3 kB / 3.18 GB, free: 20.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/9.866, allocations: 117.4 kB / 3.18 GB, free: 20.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/9.866, allocations: 4 kB / 3.18 GB, free: 20.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/9.866, allocations: 325.1 kB / 3.181 GB, free: 20.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/9.866, allocations: 102.9 kB / 3.181 GB, free: 20.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/9.866, allocations: 204.5 kB / 3.181 GB, free: 19.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/9.867, allocations: 135.1 kB / 3.181 GB, free: 19.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/9.867, allocations: 0 / 3.181 GB, free: 19.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001078/9.868, allocations: 396.8 kB / 3.181 GB, free: 19.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/9.868, allocations: 10.92 kB / 3.181 GB, free: 19.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/9.868, allocations: 3.125 kB / 3.181 GB, free: 19.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/9.868, allocations: 61.88 kB / 3.181 GB, free: 19.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/9.869, allocations: 94.94 kB / 3.182 GB, free: 19.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/9.871, allocations: 2.429 MB / 3.184 GB, free: 17.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/9.872, allocations: 31.5 kB / 3.184 GB, free: 17.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/9.872, allocations: 15.62 kB / 3.184 GB, free: 17.2 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.0003324/9.872, allocations: 168.1 kB / 3.184 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/9.872, allocations: 25.5 kB / 3.184 GB, free: 17.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/9.874, allocations: 0.8734 MB / 3.185 GB, free: 16.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/9.874, allocations: 11.42 kB / 3.185 GB, free: 16.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/9.874, allocations: 7.891 kB / 3.185 GB, free: 16.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/9.875, allocations: 1.041 MB / 3.186 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/9.878, allocations: 1.487 MB / 3.187 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/9.878, allocations: 3.844 kB / 3.187 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/9.878, allocations: 55.22 kB / 3.188 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/9.879, allocations: 73.69 kB / 3.188 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/9.879, allocations: 13.48 kB / 3.188 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005186/9.879, allocations: 0.5889 MB / 3.188 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/9.879, allocations: 7.219 kB / 3.188 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/9.881, allocations: 0.8202 MB / 3.189 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/9.881, allocations: 142.6 kB / 3.189 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/9.881, allocations: 7.906 kB / 3.189 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006546/9.882, allocations: 40.27 kB / 3.189 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/9.882, allocations: 21.86 kB / 3.189 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/9.882, allocations: 15.12 kB / 3.189 GB, free: 13.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003787/9.882, allocations: 232.6 kB / 3.189 GB, free: 13.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/9.882, allocations: 0 / 3.189 GB, free: 13.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004374/9.887, allocations: 0.8885 MB / 3.19 GB, free: 13.48 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.008671/9.895, allocations: 1.332 MB / 3.192 GB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00203/9.897, allocations: 487.2 kB / 3.192 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/9.897, allocations: 0 / 3.192 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008746/9.898, allocations: 245.2 kB / 3.192 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/9.901, allocations: 180.7 kB / 3.192 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/9.905, allocations: 1.222 MB / 3.194 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/9.906, allocations: 0.831 MB / 3.194 GB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/9.906, allocations: 38.66 kB / 3.194 GB, free: 11.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/9.906, allocations: 0 / 3.194 GB, free: 11.26 MB / 378.7 MB Notification: Performance of Templates: time 0.3496/10.26, allocations: 26.23 MB / 3.22 GB, free: 44.43 MB / 378.7 MB