Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.744/1.744, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005142, allocations: 16 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1278, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.318/7.446, allocations: 2.465 GB / 2.731 GB, free: 61.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/7.447, allocations: 95.12 kB / 2.731 GB, free: 61.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.48/8.926, allocations: 290 MB / 3.014 GB, free: 41.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.457e-06/8.926, allocations: 3.281 kB / 3.014 GB, free: 41.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.193e-05/8.926, allocations: 8.75 kB / 3.014 GB, free: 41.2 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.003851/8.93, allocations: 0.9235 MB / 3.015 GB, free: 40.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/8.93, allocations: 9.375 kB / 3.015 GB, free: 40.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/8.931, allocations: 80.42 kB / 3.015 GB, free: 40.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006777/8.932, allocations: 306 kB / 3.015 GB, free: 40.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/8.932, allocations: 28.17 kB / 3.015 GB, free: 40.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/8.932, allocations: 29.94 kB / 3.015 GB, free: 40.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/8.934, allocations: 435.6 kB / 3.016 GB, free: 40.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/8.934, allocations: 7.75 kB / 3.016 GB, free: 40.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/8.934, allocations: 15.91 kB / 3.016 GB, free: 40 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/8.934, allocations: 7.406 kB / 3.016 GB, free: 40 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00099/8.935, allocations: 314.6 kB / 3.016 GB, free: 39.92 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.003868/8.939, allocations: 2.624 MB / 3.019 GB, free: 37.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/8.94, allocations: 251.5 kB / 3.019 GB, free: 37.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04786/8.987, allocations: 15.27 MB / 3.034 GB, free: 27.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/8.988, allocations: 31 kB / 3.034 GB, free: 27.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.404e-06/8.988, allocations: 0 / 3.034 GB, free: 27.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.006072/8.994, allocations: 1.307 MB / 3.035 GB, free: 26.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/8.994, allocations: 55.12 kB / 3.035 GB, free: 26.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/8.994, allocations: 273.4 kB / 3.036 GB, free: 26.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/8.994, allocations: 29.7 kB / 3.036 GB, free: 26.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/8.994, allocations: 192.7 kB / 3.036 GB, free: 26.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/8.994, allocations: 118.4 kB / 3.036 GB, free: 26.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/8.994, allocations: 4 kB / 3.036 GB, free: 26.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/8.995, allocations: 344.3 kB / 3.036 GB, free: 26.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/8.995, allocations: 97.23 kB / 3.036 GB, free: 26.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/8.995, allocations: 221.9 kB / 3.037 GB, free: 25.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/8.995, allocations: 131.5 kB / 3.037 GB, free: 25.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/8.995, allocations: 0 / 3.037 GB, free: 25.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001105/8.997, allocations: 431.5 kB / 3.037 GB, free: 25.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/8.997, allocations: 12.2 kB / 3.037 GB, free: 25.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/8.997, allocations: 3.812 kB / 3.037 GB, free: 25.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006894/9.004, allocations: 264 kB / 3.037 GB, free: 25.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/9.004, allocations: 78.3 kB / 3.037 GB, free: 25.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/9.006, allocations: 1.872 MB / 3.039 GB, free: 23.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/9.006, allocations: 27.22 kB / 3.039 GB, free: 23.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/9.006, allocations: 19.69 kB / 3.039 GB, free: 23.63 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.000266/9.007, allocations: 172.1 kB / 3.039 GB, free: 23.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/9.007, allocations: 34.28 kB / 3.039 GB, free: 23.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/9.008, allocations: 0.9482 MB / 3.04 GB, free: 22.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/9.008, allocations: 13.47 kB / 3.04 GB, free: 22.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/9.008, allocations: 0 / 3.04 GB, free: 22.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/9.01, allocations: 1.116 MB / 3.042 GB, free: 22.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/9.012, allocations: 1.587 MB / 3.043 GB, free: 21.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/9.012, allocations: 0 / 3.043 GB, free: 21.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/9.013, allocations: 52.28 kB / 3.043 GB, free: 21.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/9.016, allocations: 290.7 kB / 3.043 GB, free: 21.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/9.016, allocations: 7.938 kB / 3.043 GB, free: 21.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006319/9.016, allocations: 0.6727 MB / 3.044 GB, free: 20.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/9.016, allocations: 3.703 kB / 3.044 GB, free: 20.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/9.018, allocations: 0.9518 MB / 3.045 GB, free: 20.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/9.018, allocations: 139 kB / 3.045 GB, free: 19.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.069e-05/9.018, allocations: 7.812 kB / 3.045 GB, free: 19.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/9.019, allocations: 22.19 kB / 3.045 GB, free: 19.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/9.019, allocations: 18.73 kB / 3.045 GB, free: 19.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/9.019, allocations: 16.91 kB / 3.045 GB, free: 19.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003477/9.019, allocations: 237.2 kB / 3.045 GB, free: 19.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/9.019, allocations: 0 / 3.045 GB, free: 19.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003121/9.022, allocations: 0.5374 MB / 3.046 GB, free: 19.73 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.004233/9.027, allocations: 0.8466 MB / 3.047 GB, free: 19.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/9.028, allocations: 0.5136 MB / 3.047 GB, free: 19.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/9.028, allocations: 0 / 3.047 GB, free: 19.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005969/9.029, allocations: 296.4 kB / 3.048 GB, free: 19.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/9.03, allocations: 183.6 kB / 3.048 GB, free: 19.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/9.033, allocations: 1.223 MB / 3.049 GB, free: 18.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/9.034, allocations: 0.8422 MB / 3.05 GB, free: 17.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008944/9.035, allocations: 109 kB / 3.05 GB, free: 17.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/9.035, allocations: 31.44 kB / 3.05 GB, free: 17.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.014e-06/9.035, allocations: 0 / 3.05 GB, free: 17.16 MB / 362.7 MB Notification: Performance of Templates: time 0.3481/9.383, allocations: 23.48 MB / 3.073 GB, free: 44.21 MB / 362.7 MB