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.722/1.722, allocations: 171.2 MB / 184.2 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.763e-05, allocations: 4 kB / 228.8 MB, free: 15.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.207, allocations: 38.77 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.06/6.267, allocations: 2.465 GB / 2.726 GB, free: 69.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/6.267, allocations: 87.17 kB / 2.726 GB, free: 69.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206/7.474, allocations: 289 MB / 3.008 GB, free: 44.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.268e-06/7.474, allocations: 0 / 3.008 GB, free: 44.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.759e-05/7.474, allocations: 9.781 kB / 3.008 GB, free: 44.06 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.002647/7.476, allocations: 0.8897 MB / 3.009 GB, free: 43.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/7.476, allocations: 7.5 kB / 3.009 GB, free: 43.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/7.477, allocations: 77.55 kB / 3.009 GB, free: 43.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/7.478, allocations: 308.9 kB / 3.009 GB, free: 43.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/7.478, allocations: 25.53 kB / 3.01 GB, free: 43.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.266e-05/7.478, allocations: 35.58 kB / 3.01 GB, free: 43.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/7.479, allocations: 447.4 kB / 3.01 GB, free: 43.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/7.479, allocations: 0 / 3.01 GB, free: 43.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/7.479, allocations: 13.5 kB / 3.01 GB, free: 43.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/7.479, allocations: 13.69 kB / 3.01 GB, free: 43.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/7.48, allocations: 324.3 kB / 3.01 GB, free: 43.3 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002914/7.483, allocations: 2.638 MB / 3.013 GB, free: 41.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/7.484, allocations: 257.8 kB / 3.013 GB, free: 41.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/7.484, allocations: 106.9 kB / 3.013 GB, free: 41.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03388/7.518, allocations: 15.3 MB / 3.028 GB, free: 32.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/7.518, allocations: 37.88 kB / 3.028 GB, free: 32.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.993e-06/7.518, allocations: 0 / 3.028 GB, free: 32.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.00535/7.523, allocations: 1.175 MB / 3.029 GB, free: 31.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/7.523, allocations: 51.41 kB / 3.029 GB, free: 31.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/7.524, allocations: 242.2 kB / 3.03 GB, free: 31.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/7.524, allocations: 33.52 kB / 3.03 GB, free: 31.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/7.524, allocations: 256.4 kB / 3.03 GB, free: 31.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.448e-05/7.524, allocations: 107.3 kB / 3.03 GB, free: 31.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-05/7.524, allocations: 5.438 kB / 3.03 GB, free: 31.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.044e-05/7.524, allocations: 328.2 kB / 3.03 GB, free: 31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/7.524, allocations: 95.64 kB / 3.03 GB, free: 31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/7.525, allocations: 225 kB / 3.031 GB, free: 30.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/7.525, allocations: 127.6 kB / 3.031 GB, free: 30.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.689e-06/7.525, allocations: 3.812 kB / 3.031 GB, free: 30.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001002/7.526, allocations: 418.6 kB / 3.031 GB, free: 30.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/7.526, allocations: 10.47 kB / 3.031 GB, free: 30.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.973e-06/7.526, allocations: 3.688 kB / 3.031 GB, free: 30.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004318/7.53, allocations: 265.6 kB / 3.031 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/7.531, allocations: 86.27 kB / 3.032 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/7.532, allocations: 1.865 MB / 3.033 GB, free: 29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/7.533, allocations: 26.03 kB / 3.033 GB, free: 29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/7.533, allocations: 26.56 kB / 3.033 GB, free: 29 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 () * 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.0001275/7.533, allocations: 130.9 kB / 3.034 GB, free: 28.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/7.533, allocations: 30.12 kB / 3.034 GB, free: 28.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/7.534, allocations: 0.9426 MB / 3.034 GB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/7.534, allocations: 5.531 kB / 3.034 GB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.314e-06/7.534, allocations: 6.625 kB / 3.034 GB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001073/7.535, allocations: 1.113 MB / 3.036 GB, free: 28.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/7.538, allocations: 1.58 MB / 3.037 GB, free: 27.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.281e-06/7.538, allocations: 3.188 kB / 3.037 GB, free: 27.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/7.538, allocations: 53.78 kB / 3.037 GB, free: 27.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/7.54, allocations: 291.6 kB / 3.037 GB, free: 27.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/7.54, allocations: 6.781 kB / 3.037 GB, free: 27.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005489/7.541, allocations: 0.6658 MB / 3.038 GB, free: 27.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.981e-06/7.541, allocations: 3.938 kB / 3.038 GB, free: 27.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/7.542, allocations: 0.9459 MB / 3.039 GB, free: 27.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/7.543, allocations: 136 kB / 3.039 GB, free: 27.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/7.543, allocations: 3.75 kB / 3.039 GB, free: 27.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/7.543, allocations: 19.2 kB / 3.039 GB, free: 27.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/7.543, allocations: 23.39 kB / 3.039 GB, free: 27.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/7.543, allocations: 14.75 kB / 3.039 GB, free: 27.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003055/7.543, allocations: 234.8 kB / 3.039 GB, free: 26.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.2e-07/7.544, allocations: 0 / 3.039 GB, free: 26.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002504/7.546, allocations: 0.5426 MB / 3.04 GB, free: 26.9 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 () * 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.003136/7.549, allocations: 0.8443 MB / 3.041 GB, free: 26.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/7.55, allocations: 0.507 MB / 3.041 GB, free: 26.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.99e-06/7.55, allocations: 3.938 kB / 3.041 GB, free: 26.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005063/7.551, allocations: 291.8 kB / 3.042 GB, free: 26.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/7.552, allocations: 183.3 kB / 3.042 GB, free: 26.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/7.554, allocations: 0.7916 MB / 3.043 GB, free: 26.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009573/7.555, allocations: 0.8292 MB / 3.043 GB, free: 41.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/7.555, allocations: 36.25 kB / 3.043 GB, free: 41.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.986e-06/7.555, allocations: 0 / 3.043 GB, free: 41.68 MB / 378.7 MB Notification: Performance of Templates: time 0.02922/7.584, allocations: 18.27 MB / 3.061 GB, free: 40.23 MB / 378.7 MB