Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.749/1.749, allocations: 171.2 MB / 186.8 MB, free: 1.027 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003587, allocations: 8 kB / 233.3 MB, free: 2.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07179/0.07217, allocations: 38.77 MB / 272 MB, free: 12.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.809/5.882, allocations: 2.465 GB / 2.73 GB, free: 90.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/5.882, allocations: 89.39 kB / 2.73 GB, free: 90.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226/7.108, allocations: 289.9 MB / 3.014 GB, free: 45.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.512e-06/7.108, allocations: 0 / 3.014 GB, free: 45.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.481e-05/7.108, allocations: 9.875 kB / 3.014 GB, free: 45.87 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.002575/7.11, allocations: 0.9187 MB / 3.014 GB, free: 45.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/7.11, allocations: 9.75 kB / 3.014 GB, free: 45.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009258/7.111, allocations: 85.72 kB / 3.015 GB, free: 45.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/7.112, allocations: 307 kB / 3.015 GB, free: 45.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/7.112, allocations: 29.17 kB / 3.015 GB, free: 45.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/7.112, allocations: 32.84 kB / 3.015 GB, free: 45.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/7.113, allocations: 443 kB / 3.015 GB, free: 44.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/7.113, allocations: 8.281 kB / 3.015 GB, free: 44.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/7.113, allocations: 12.97 kB / 3.015 GB, free: 44.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/7.113, allocations: 9.75 kB / 3.015 GB, free: 44.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007526/7.114, allocations: 315.2 kB / 3.016 GB, free: 44.94 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.002773/7.116, allocations: 2.621 MB / 3.018 GB, free: 42.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/7.117, allocations: 250 kB / 3.018 GB, free: 42.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03321/7.15, allocations: 15.27 MB / 3.033 GB, free: 33.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/7.15, allocations: 35.92 kB / 3.033 GB, free: 33.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.794e-06/7.15, allocations: 0 / 3.033 GB, free: 33.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.005111/7.156, allocations: 1.29 MB / 3.035 GB, free: 33.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/7.156, allocations: 55.06 kB / 3.035 GB, free: 33.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/7.156, allocations: 245.5 kB / 3.035 GB, free: 33.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/7.156, allocations: 29.45 kB / 3.035 GB, free: 33.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/7.156, allocations: 251.3 kB / 3.035 GB, free: 32.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/7.156, allocations: 111.3 kB / 3.035 GB, free: 32.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/7.156, allocations: 6.844 kB / 3.035 GB, free: 32.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/7.156, allocations: 324.9 kB / 3.036 GB, free: 32.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/7.157, allocations: 102.8 kB / 3.036 GB, free: 32.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/7.157, allocations: 218.2 kB / 3.036 GB, free: 32.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/7.157, allocations: 140.2 kB / 3.036 GB, free: 32.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.341e-06/7.157, allocations: 4 kB / 3.036 GB, free: 32.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009753/7.158, allocations: 412.5 kB / 3.036 GB, free: 32.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/7.158, allocations: 11.97 kB / 3.036 GB, free: 32.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/7.158, allocations: 7.891 kB / 3.036 GB, free: 32.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004132/7.162, allocations: 259.3 kB / 3.037 GB, free: 32.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/7.163, allocations: 80.2 kB / 3.037 GB, free: 32.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/7.164, allocations: 1.883 MB / 3.039 GB, free: 30.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/7.165, allocations: 22.66 kB / 3.039 GB, free: 30.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/7.165, allocations: 18.28 kB / 3.039 GB, free: 30.44 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.0002381/7.165, allocations: 179.5 kB / 3.039 GB, free: 30.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.32e-05/7.165, allocations: 33.3 kB / 3.039 GB, free: 30.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/7.166, allocations: 0.9466 MB / 3.04 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/7.166, allocations: 9.422 kB / 3.04 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/7.166, allocations: 0 / 3.04 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/7.168, allocations: 1.118 MB / 3.041 GB, free: 29.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/7.17, allocations: 1.584 MB / 3.042 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.072e-06/7.17, allocations: 4 kB / 3.042 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/7.17, allocations: 55.88 kB / 3.043 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002322/7.172, allocations: 288.8 kB / 3.043 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/7.173, allocations: 7.5 kB / 3.043 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005443/7.173, allocations: 0.6671 MB / 3.043 GB, free: 28.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-06/7.173, allocations: 0 / 3.043 GB, free: 28.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/7.175, allocations: 0.9476 MB / 3.044 GB, free: 28.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/7.175, allocations: 142 kB / 3.045 GB, free: 28.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/7.175, allocations: 13.8 kB / 3.045 GB, free: 28.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/7.175, allocations: 17.02 kB / 3.045 GB, free: 28.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/7.175, allocations: 29.75 kB / 3.045 GB, free: 28.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/7.175, allocations: 7.688 kB / 3.045 GB, free: 28.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003161/7.176, allocations: 237 kB / 3.045 GB, free: 28.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.14e-07/7.176, allocations: 0 / 3.045 GB, free: 28.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002436/7.178, allocations: 0.5457 MB / 3.045 GB, free: 28.3 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.003858/7.182, allocations: 0.8436 MB / 3.046 GB, free: 28.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/7.183, allocations: 0.521 MB / 3.047 GB, free: 27.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.828e-06/7.183, allocations: 0 / 3.047 GB, free: 27.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005349/7.184, allocations: 289.8 kB / 3.047 GB, free: 27.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/7.185, allocations: 177.5 kB / 3.047 GB, free: 27.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/7.187, allocations: 1.261 MB / 3.048 GB, free: 27.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/7.187, allocations: 0.8294 MB / 3.049 GB, free: 26.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/7.187, allocations: 36.09 kB / 3.049 GB, free: 26.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.546e-06/7.187, allocations: 1.219 kB / 3.049 GB, free: 26.62 MB / 362.7 MB Notification: Performance of Templates: time 0.02814/7.215, allocations: 18.41 MB / 3.067 GB, free: 24.79 MB / 362.7 MB