Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 16 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09778, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.569/7.666, allocations: 2.576 GB / 2.878 GB, free: 4.742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/7.667, allocations: 98.06 kB / 2.878 GB, free: 4.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.469/10.14, allocations: 431 MB / 3.299 GB, free: 48.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/10.14, allocations: 0 / 3.299 GB, free: 48.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/10.14, allocations: 7.406 kB / 3.299 GB, free: 48.01 MB / 410.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.005257/10.14, allocations: 1.239 MB / 3.3 GB, free: 47.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/10.14, allocations: 12.16 kB / 3.3 GB, free: 47.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/10.14, allocations: 163.7 kB / 3.3 GB, free: 47.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/10.14, allocations: 309.3 kB / 3.3 GB, free: 46.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/10.14, allocations: 26.5 kB / 3.3 GB, free: 46.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/10.14, allocations: 31.55 kB / 3.3 GB, free: 46.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/10.15, allocations: 0.5198 MB / 3.301 GB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/10.15, allocations: 4.594 kB / 3.301 GB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/10.15, allocations: 19.56 kB / 3.301 GB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/10.15, allocations: 11.3 kB / 3.301 GB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008475/10.15, allocations: 324.9 kB / 3.301 GB, free: 46.54 MB / 410.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.003946/10.15, allocations: 2.571 MB / 3.304 GB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008152/10.15, allocations: 272.4 kB / 3.304 GB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09791/10.25, allocations: 30.76 MB / 3.334 GB, free: 21.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/10.25, allocations: 35.5 kB / 3.334 GB, free: 21.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.385e-06/10.25, allocations: 8 kB / 3.334 GB, free: 21.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.004749/10.25, allocations: 1.21 MB / 3.335 GB, free: 19.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/10.25, allocations: 59.25 kB / 3.335 GB, free: 19.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/10.25, allocations: 252.6 kB / 3.336 GB, free: 19.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/10.25, allocations: 29.7 kB / 3.336 GB, free: 19.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/10.25, allocations: 245.9 kB / 3.336 GB, free: 19.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/10.25, allocations: 116.9 kB / 3.336 GB, free: 19.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/10.25, allocations: 4 kB / 3.336 GB, free: 19.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.982e-05/10.25, allocations: 330.7 kB / 3.336 GB, free: 18.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/10.26, allocations: 100.1 kB / 3.336 GB, free: 18.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/10.26, allocations: 206.3 kB / 3.337 GB, free: 18.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/10.26, allocations: 127.9 kB / 3.337 GB, free: 18.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/10.26, allocations: 4 kB / 3.337 GB, free: 18.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009878/10.26, allocations: 396.5 kB / 3.337 GB, free: 18.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/10.26, allocations: 13.28 kB / 3.337 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/10.26, allocations: 4 kB / 3.337 GB, free: 18.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/10.26, allocations: 61.31 kB / 3.337 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/10.26, allocations: 87.38 kB / 3.337 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/10.26, allocations: 2.439 MB / 3.34 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/10.26, allocations: 23.61 kB / 3.34 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/10.26, allocations: 24.09 kB / 3.34 GB, free: 15.26 MB / 410.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.0002919/10.26, allocations: 173.6 kB / 3.34 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/10.26, allocations: 35.58 kB / 3.34 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/10.26, allocations: 0.8667 MB / 3.341 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/10.26, allocations: 11.89 kB / 3.341 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/10.26, allocations: 0 / 3.341 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/10.26, allocations: 1.038 MB / 3.342 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/10.27, allocations: 1.492 MB / 3.343 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/10.27, allocations: 0 / 3.343 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/10.27, allocations: 62.3 kB / 3.343 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005485/10.27, allocations: 77.31 kB / 3.343 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/10.27, allocations: 4 kB / 3.343 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003612/10.27, allocations: 0.5902 MB / 3.344 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/10.27, allocations: 3.953 kB / 3.344 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/10.27, allocations: 0.8203 MB / 3.345 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/10.27, allocations: 139.1 kB / 3.345 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/10.27, allocations: 4 kB / 3.345 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/10.27, allocations: 39.03 kB / 3.345 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/10.27, allocations: 34.78 kB / 3.345 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/10.27, allocations: 15.56 kB / 3.345 GB, free: 10.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003303/10.27, allocations: 232.4 kB / 3.345 GB, free: 9.863 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.27, allocations: 0 / 3.345 GB, free: 9.863 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004587/10.27, allocations: 0.8914 MB / 3.346 GB, free: 8.992 MB / 410.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.007689/10.28, allocations: 1.325 MB / 3.347 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/10.28, allocations: 481.8 kB / 3.348 GB, free: 7.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/10.28, allocations: 4.125 kB / 3.348 GB, free: 7.484 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/10.28, allocations: 247 kB / 3.348 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/10.29, allocations: 184.4 kB / 3.348 GB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/10.29, allocations: 1.223 MB / 3.349 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/10.29, allocations: 0.8289 MB / 3.35 GB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/10.29, allocations: 35.42 kB / 3.35 GB, free: 5.082 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/10.29, allocations: 0 / 3.35 GB, free: 5.082 MB / 410.7 MB Notification: Performance of Templates: time 0.3555/10.64, allocations: 26.3 MB / 3.376 GB, free: 66.96 MB / 426.7 MB