Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003629, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09717, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.214/8.311, allocations: 2.576 GB / 2.878 GB, free: 91.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/8.311, allocations: 89.84 kB / 2.878 GB, free: 91.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.032/10.34, allocations: 431 MB / 3.299 GB, free: 23.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.245e-06/10.34, allocations: 0 / 3.299 GB, free: 23.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.399e-05/10.34, allocations: 8 kB / 3.299 GB, free: 23.18 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.005103/10.35, allocations: 1.242 MB / 3.3 GB, free: 21.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/10.35, allocations: 8.031 kB / 3.3 GB, free: 21.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/10.35, allocations: 166 kB / 3.3 GB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/10.35, allocations: 313.6 kB / 3.3 GB, free: 21.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/10.35, allocations: 20.66 kB / 3.3 GB, free: 21.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/10.35, allocations: 32.69 kB / 3.3 GB, free: 21.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/10.35, allocations: 0.5258 MB / 3.301 GB, free: 20.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/10.35, allocations: 7.844 kB / 3.301 GB, free: 20.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/10.35, allocations: 12 kB / 3.301 GB, free: 20.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/10.35, allocations: 8 kB / 3.301 GB, free: 20.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008527/10.35, allocations: 325.9 kB / 3.301 GB, free: 20.49 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.003784/10.36, allocations: 2.566 MB / 3.304 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008029/10.36, allocations: 273.8 kB / 3.304 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4214/10.78, allocations: 30.76 MB / 3.334 GB, free: 63.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/10.78, allocations: 40.09 kB / 3.334 GB, free: 63.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.655e-06/10.78, allocations: 0 / 3.334 GB, free: 63.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004761/10.79, allocations: 1.204 MB / 3.335 GB, free: 62.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/10.79, allocations: 60.42 kB / 3.335 GB, free: 62.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/10.79, allocations: 250.5 kB / 3.336 GB, free: 62.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/10.79, allocations: 32.8 kB / 3.336 GB, free: 62.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/10.79, allocations: 193.4 kB / 3.336 GB, free: 62.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.272e-05/10.79, allocations: 110 kB / 3.336 GB, free: 62.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/10.79, allocations: 10.94 kB / 3.336 GB, free: 62.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/10.79, allocations: 336.1 kB / 3.336 GB, free: 62.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/10.79, allocations: 90.19 kB / 3.336 GB, free: 62.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/10.79, allocations: 215.2 kB / 3.337 GB, free: 61.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/10.79, allocations: 127.8 kB / 3.337 GB, free: 61.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/10.79, allocations: 1.531 kB / 3.337 GB, free: 61.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001278/10.79, allocations: 419.8 kB / 3.337 GB, free: 61.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/10.79, allocations: 6.594 kB / 3.337 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/10.79, allocations: 3.844 kB / 3.337 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/10.79, allocations: 61.11 kB / 3.337 GB, free: 61.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/10.79, allocations: 88.55 kB / 3.337 GB, free: 61.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/10.79, allocations: 2.435 MB / 3.34 GB, free: 59.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/10.79, allocations: 29.03 kB / 3.34 GB, free: 59.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/10.79, allocations: 18 kB / 3.34 GB, free: 59.47 MB / 426.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.0003206/10.79, allocations: 169.1 kB / 3.34 GB, free: 59.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/10.79, allocations: 31.66 kB / 3.34 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/10.79, allocations: 0.8693 MB / 3.341 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/10.79, allocations: 13.33 kB / 3.341 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/10.79, allocations: 2.688 kB / 3.341 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/10.8, allocations: 1.038 MB / 3.342 GB, free: 58.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/10.8, allocations: 1.49 MB / 3.343 GB, free: 58.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/10.8, allocations: 2.812 kB / 3.343 GB, free: 58.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/10.8, allocations: 57.23 kB / 3.343 GB, free: 58.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005769/10.8, allocations: 77.81 kB / 3.343 GB, free: 58.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/10.8, allocations: 12.62 kB / 3.343 GB, free: 58.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003939/10.8, allocations: 0.5882 MB / 3.344 GB, free: 57.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/10.8, allocations: 0.6094 kB / 3.344 GB, free: 57.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/10.8, allocations: 0.8237 MB / 3.345 GB, free: 57.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/10.8, allocations: 135.3 kB / 3.345 GB, free: 57.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.143e-05/10.8, allocations: 9.234 kB / 3.345 GB, free: 57.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/10.8, allocations: 45.06 kB / 3.345 GB, free: 57.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/10.8, allocations: 22.17 kB / 3.345 GB, free: 57.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/10.8, allocations: 17.5 kB / 3.345 GB, free: 57.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003541/10.8, allocations: 231.5 kB / 3.345 GB, free: 57.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/10.8, allocations: 0 / 3.345 GB, free: 57.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004674/10.81, allocations: 0.8906 MB / 3.346 GB, free: 57.45 MB / 426.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.00801/10.81, allocations: 1.33 MB / 3.347 GB, free: 57.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/10.82, allocations: 480.5 kB / 3.348 GB, free: 57.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/10.82, allocations: 4.312 kB / 3.348 GB, free: 57.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005547/10.82, allocations: 246 kB / 3.348 GB, free: 57.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/10.82, allocations: 187.5 kB / 3.348 GB, free: 57.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/10.82, allocations: 1.187 MB / 3.349 GB, free: 56.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/10.82, allocations: 0.829 MB / 3.35 GB, free: 56.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006821/10.82, allocations: 180.2 kB / 3.35 GB, free: 56.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/10.82, allocations: 36.78 kB / 3.35 GB, free: 56.01 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/10.82, allocations: 1.312 kB / 3.35 GB, free: 56.01 MB / 426.7 MB Notification: Performance of Templates: time 0.08634/10.91, allocations: 31.86 MB / 3.382 GB, free: 55.46 MB / 426.7 MB