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.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.631/1.631, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004953, allocations: 8 kB / 233.8 MB, free: 0.9609 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1047, allocations: 38.77 MB / 272.6 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.303/7.407, allocations: 2.465 GB / 2.731 GB, free: 61.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/7.408, allocations: 87.7 kB / 2.731 GB, free: 61.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.57/8.978, allocations: 290 MB / 3.014 GB, free: 40.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/8.978, allocations: 0 / 3.014 GB, free: 40.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/8.978, allocations: 15.47 kB / 3.014 GB, free: 40.02 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.003271/8.981, allocations: 0.9201 MB / 3.015 GB, free: 39.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/8.981, allocations: 11.91 kB / 3.015 GB, free: 39.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000962/8.982, allocations: 76.45 kB / 3.015 GB, free: 39.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/8.983, allocations: 306.4 kB / 3.015 GB, free: 39.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/8.983, allocations: 30.42 kB / 3.015 GB, free: 39.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/8.983, allocations: 31.06 kB / 3.015 GB, free: 39.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/8.984, allocations: 441.2 kB / 3.016 GB, free: 38.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/8.984, allocations: 6.719 kB / 3.016 GB, free: 38.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/8.984, allocations: 14.56 kB / 3.016 GB, free: 38.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/8.984, allocations: 16.56 kB / 3.016 GB, free: 38.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/8.985, allocations: 310.8 kB / 3.016 GB, free: 38.73 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.003594/8.989, allocations: 2.617 MB / 3.019 GB, free: 36.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/8.989, allocations: 255.6 kB / 3.019 GB, free: 36.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04866/9.038, allocations: 15.27 MB / 3.034 GB, free: 26.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/9.038, allocations: 35 kB / 3.034 GB, free: 26.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/9.038, allocations: 0 / 3.034 GB, free: 26.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.006177/9.044, allocations: 1.296 MB / 3.035 GB, free: 25.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/9.044, allocations: 51.41 kB / 3.035 GB, free: 25.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/9.045, allocations: 270.6 kB / 3.035 GB, free: 25.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/9.045, allocations: 33.67 kB / 3.036 GB, free: 25.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/9.045, allocations: 252.8 kB / 3.036 GB, free: 25.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/9.045, allocations: 108.4 kB / 3.036 GB, free: 25.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/9.045, allocations: 8 kB / 3.036 GB, free: 25.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.154e-05/9.045, allocations: 326.7 kB / 3.036 GB, free: 24.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/9.045, allocations: 101.8 kB / 3.036 GB, free: 24.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/9.046, allocations: 215 kB / 3.036 GB, free: 24.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/9.046, allocations: 142.9 kB / 3.037 GB, free: 24.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/9.046, allocations: 0 / 3.037 GB, free: 24.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001126/9.047, allocations: 418.8 kB / 3.037 GB, free: 24.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/9.047, allocations: 11.3 kB / 3.037 GB, free: 24.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/9.047, allocations: 3.938 kB / 3.037 GB, free: 24.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006862/9.054, allocations: 253.6 kB / 3.037 GB, free: 24.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/9.055, allocations: 85.28 kB / 3.037 GB, free: 24.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/9.057, allocations: 1.879 MB / 3.039 GB, free: 22.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/9.057, allocations: 21.28 kB / 3.039 GB, free: 22.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/9.057, allocations: 21.88 kB / 3.039 GB, free: 22.43 MB / 362.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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002918/9.058, allocations: 179.5 kB / 3.039 GB, free: 22.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/9.058, allocations: 33.27 kB / 3.039 GB, free: 22.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/9.059, allocations: 0.9429 MB / 3.04 GB, free: 21.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/9.059, allocations: 15.27 kB / 3.04 GB, free: 21.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/9.059, allocations: 0 / 3.04 GB, free: 21.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001284/9.061, allocations: 1.111 MB / 3.041 GB, free: 21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/9.063, allocations: 1.588 MB / 3.043 GB, free: 20.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/9.063, allocations: 3.938 kB / 3.043 GB, free: 20.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/9.063, allocations: 53.66 kB / 3.043 GB, free: 20.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003139/9.067, allocations: 287.6 kB / 3.043 GB, free: 20.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/9.067, allocations: 4 kB / 3.043 GB, free: 20 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000631/9.067, allocations: 0.6683 MB / 3.044 GB, free: 19.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/9.067, allocations: 0 / 3.044 GB, free: 19.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/9.069, allocations: 0.9594 MB / 3.045 GB, free: 18.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/9.069, allocations: 137.4 kB / 3.045 GB, free: 18.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/9.069, allocations: 7.781 kB / 3.045 GB, free: 18.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/9.07, allocations: 24.16 kB / 3.045 GB, free: 18.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/9.07, allocations: 17.42 kB / 3.045 GB, free: 18.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/9.07, allocations: 15.78 kB / 3.045 GB, free: 18.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003402/9.07, allocations: 234.5 kB / 3.045 GB, free: 18.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/9.07, allocations: 0 / 3.045 GB, free: 18.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002883/9.073, allocations: 0.5487 MB / 3.046 GB, free: 18.53 MB / 362.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.T) * 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 (30): * Single equations (assignments): 27 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004449/9.078, allocations: 0.8537 MB / 3.047 GB, free: 18.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/9.079, allocations: 0.5154 MB / 3.047 GB, free: 18.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/9.079, allocations: 0 / 3.047 GB, free: 18.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006273/9.08, allocations: 292.8 kB / 3.047 GB, free: 17.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/9.081, allocations: 188.6 kB / 3.048 GB, free: 17.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/9.083, allocations: 1.25 MB / 3.049 GB, free: 17.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/9.084, allocations: 0.8327 MB / 3.05 GB, free: 16.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/9.084, allocations: 39.09 kB / 3.05 GB, free: 16.37 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/9.084, allocations: 4 kB / 3.05 GB, free: 16.36 MB / 362.7 MB Notification: Performance of Templates: time 0.03514/9.119, allocations: 18.39 MB / 3.068 GB, free: 4.863 MB / 362.7 MB