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.IdealSteam.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.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 12 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09348, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.537/1.63, allocations: 434.8 MB / 0.7264 GB, free: 103 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.63, allocations: 90.58 kB / 0.7265 GB, free: 102.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8638/2.494, allocations: 155.4 MB / 0.8783 GB, free: 105.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/2.494, allocations: 0 / 0.8783 GB, free: 105.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.552e-05/2.494, allocations: 3.844 kB / 0.8783 GB, free: 105.4 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0013/2.496, allocations: 0.6183 MB / 0.8789 GB, free: 105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/2.496, allocations: 11.47 kB / 0.8789 GB, free: 105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004092/2.496, allocations: 40.03 kB / 0.8789 GB, free: 105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/2.497, allocations: 291.8 kB / 0.8792 GB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/2.497, allocations: 14.81 kB / 0.8792 GB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/2.497, allocations: 27.31 kB / 0.8792 GB, free: 104.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/2.497, allocations: 314.1 kB / 0.8795 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/2.498, allocations: 2.062 kB / 0.8795 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.576e-05/2.498, allocations: 13.19 kB / 0.8796 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/2.498, allocations: 10.5 kB / 0.8796 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/2.498, allocations: 206 kB / 0.8798 GB, free: 104.7 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.002331/2.5, allocations: 1.578 MB / 0.8813 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/2.501, allocations: 169.9 kB / 0.8815 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-05/2.501, allocations: 7.953 kB / 0.8815 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/2.501, allocations: 38.19 kB / 0.8815 GB, free: 103.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.697e-06/2.501, allocations: 3.75 kB / 0.8815 GB, free: 103.4 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.008983/2.51, allocations: 1.611 MB / 0.8831 GB, free: 102.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/2.51, allocations: 58.86 kB / 0.8831 GB, free: 102.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/2.51, allocations: 254.4 kB / 0.8834 GB, free: 102.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/2.51, allocations: 29.7 kB / 0.8834 GB, free: 102.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/2.511, allocations: 172.7 kB / 0.8836 GB, free: 102.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/2.511, allocations: 98.61 kB / 0.8837 GB, free: 102.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/2.511, allocations: 14.81 kB / 0.8837 GB, free: 102.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/2.511, allocations: 339.8 kB / 0.884 GB, free: 101.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/2.511, allocations: 87.56 kB / 0.8841 GB, free: 101.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/2.511, allocations: 183.9 kB / 0.8843 GB, free: 101.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/2.512, allocations: 115.9 kB / 0.8844 GB, free: 101.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/2.512, allocations: 0 / 0.8844 GB, free: 101.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009568/2.513, allocations: 400.4 kB / 0.8848 GB, free: 101.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/2.513, allocations: 7.375 kB / 0.8848 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/2.513, allocations: 3.5 kB / 0.8848 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/2.513, allocations: 72.5 kB / 0.8848 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/2.514, allocations: 84.44 kB / 0.8849 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/2.515, allocations: 1.862 MB / 0.8867 GB, free: 99.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/2.516, allocations: 18.47 kB / 0.8868 GB, free: 99.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/2.516, allocations: 42 kB / 0.8868 GB, free: 99.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002566/2.516, allocations: 151 kB / 0.8869 GB, free: 99.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/2.516, allocations: 33.92 kB / 0.887 GB, free: 99.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/2.518, allocations: 440.7 kB / 0.8874 GB, free: 99.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/2.518, allocations: 0 / 0.8874 GB, free: 99.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/2.518, allocations: 7.5 kB / 0.8874 GB, free: 99.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006463/2.518, allocations: 0.5589 MB / 0.8879 GB, free: 98.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/2.52, allocations: 0.719 MB / 0.8887 GB, free: 98.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/2.52, allocations: 3.25 kB / 0.8887 GB, free: 98.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/2.52, allocations: 73.91 kB / 0.8887 GB, free: 98.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/2.52, allocations: 25.55 kB / 0.8888 GB, free: 98.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/2.52, allocations: 11.84 kB / 0.8888 GB, free: 98.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009245/2.521, allocations: 1.292 MB / 0.89 GB, free: 96.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.521, allocations: 0 / 0.89 GB, free: 96.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/2.522, allocations: 487.1 kB / 0.8905 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/2.523, allocations: 102.8 kB / 0.8906 GB, free: 96.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/2.523, allocations: 11.45 kB / 0.8906 GB, free: 96.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/2.523, allocations: 16.53 kB / 0.8906 GB, free: 96.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/2.523, allocations: 28.78 kB / 0.8906 GB, free: 96.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/2.523, allocations: 28.77 kB / 0.8907 GB, free: 96.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002891/2.524, allocations: 187.8 kB / 0.8908 GB, free: 96.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.524, allocations: 0 / 0.8908 GB, free: 96.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001047/2.525, allocations: 189.6 kB / 0.891 GB, free: 96.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001417/2.526, allocations: 0.7767 MB / 0.8918 GB, free: 96.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/2.527, allocations: 361.9 kB / 0.8921 GB, free: 95.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.527, allocations: 3.75 kB / 0.8921 GB, free: 95.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/2.528, allocations: 233.9 kB / 0.8924 GB, free: 95.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/2.529, allocations: 147.8 kB / 0.8925 GB, free: 95.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/2.531, allocations: 0.8395 MB / 0.8933 GB, free: 95.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/2.531, allocations: 0.7682 MB / 0.8941 GB, free: 94.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001013/2.532, allocations: 121.1 kB / 0.8942 GB, free: 94.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/2.532, allocations: 63.2 kB / 0.8942 GB, free: 94.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/2.532, allocations: 0 / 0.8942 GB, free: 94.57 MB / 410.7 MB Notification: Performance of Templates: time 0.03761/2.57, allocations: 18.11 MB / 0.9119 GB, free: 82.84 MB / 410.7 MB