Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 12 kB / 264.5 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09571, allocations: 44.49 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.358/1.453, allocations: 434.8 MB / 0.7263 GB, free: 103.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.454, allocations: 97.56 kB / 0.7264 GB, free: 103.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7536/2.207, allocations: 155.4 MB / 0.8782 GB, free: 105.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/2.207, allocations: 2.531 kB / 0.8782 GB, free: 105.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.634e-05/2.207, allocations: 10.47 kB / 0.8782 GB, free: 105.1 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.001271/2.209, allocations: 0.6192 MB / 0.8788 GB, free: 104.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/2.209, allocations: 7.719 kB / 0.8788 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/2.209, allocations: 44.44 kB / 0.8788 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/2.21, allocations: 280.8 kB / 0.8791 GB, free: 104.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/2.21, allocations: 19.56 kB / 0.8791 GB, free: 104.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/2.21, allocations: 24.5 kB / 0.8792 GB, free: 104.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/2.21, allocations: 319.5 kB / 0.8795 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/2.21, allocations: 3.469 kB / 0.8795 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/2.21, allocations: 14.61 kB / 0.8795 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/2.21, allocations: 7.625 kB / 0.8795 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/2.211, allocations: 195.5 kB / 0.8797 GB, free: 104.4 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.002275/2.213, allocations: 1.575 MB / 0.8812 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/2.214, allocations: 177.7 kB / 0.8814 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-05/2.214, allocations: 6.656 kB / 0.8814 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/2.214, allocations: 35.5 kB / 0.8814 GB, free: 103.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.625e-06/2.214, allocations: 3.75 kB / 0.8814 GB, free: 103.1 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.009069/2.223, allocations: 1.62 MB / 0.883 GB, free: 102.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/2.223, allocations: 58.02 kB / 0.8831 GB, free: 102.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/2.223, allocations: 259.7 kB / 0.8833 GB, free: 102.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/2.223, allocations: 33.45 kB / 0.8833 GB, free: 102.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/2.223, allocations: 225.1 kB / 0.8836 GB, free: 102 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/2.224, allocations: 99.98 kB / 0.8836 GB, free: 102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/2.224, allocations: 9.344 kB / 0.8837 GB, free: 102 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.909e-05/2.224, allocations: 326.5 kB / 0.884 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/2.224, allocations: 88.98 kB / 0.8841 GB, free: 101.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/2.224, allocations: 184.7 kB / 0.8842 GB, free: 101.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/2.225, allocations: 120.8 kB / 0.8843 GB, free: 101.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/2.225, allocations: 0 / 0.8843 GB, free: 101.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009257/2.226, allocations: 379.6 kB / 0.8847 GB, free: 101.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/2.226, allocations: 7.906 kB / 0.8847 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/2.226, allocations: 3.25 kB / 0.8847 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/2.226, allocations: 74.88 kB / 0.8848 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/2.227, allocations: 81.92 kB / 0.8849 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/2.228, allocations: 1.872 MB / 0.8867 GB, free: 99.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/2.228, allocations: 19.89 kB / 0.8867 GB, free: 99.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/2.229, allocations: 42.58 kB / 0.8868 GB, free: 99.4 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.0002568/2.229, allocations: 151.9 kB / 0.8869 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.808e-05/2.229, allocations: 30.72 kB / 0.8869 GB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/2.23, allocations: 440.9 kB / 0.8873 GB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/2.23, allocations: 7.188 kB / 0.8874 GB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/2.23, allocations: 3.906 kB / 0.8874 GB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006435/2.231, allocations: 0.5571 MB / 0.8879 GB, free: 98.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/2.233, allocations: 0.7286 MB / 0.8886 GB, free: 98.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/2.233, allocations: 2.5 kB / 0.8886 GB, free: 98.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/2.233, allocations: 66.61 kB / 0.8887 GB, free: 98.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/2.233, allocations: 24.38 kB / 0.8887 GB, free: 98.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/2.233, allocations: 15.28 kB / 0.8887 GB, free: 98.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009348/2.234, allocations: 1.283 MB / 0.89 GB, free: 96.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/2.234, allocations: 7.922 kB / 0.89 GB, free: 96.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/2.235, allocations: 480.3 kB / 0.8904 GB, free: 96.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/2.236, allocations: 96.48 kB / 0.8905 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/2.236, allocations: 10.94 kB / 0.8905 GB, free: 96.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/2.236, allocations: 16.89 kB / 0.8906 GB, free: 96.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/2.236, allocations: 40.06 kB / 0.8906 GB, free: 96.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/2.236, allocations: 31 kB / 0.8906 GB, free: 96.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003017/2.237, allocations: 187.2 kB / 0.8908 GB, free: 96.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2.237, allocations: 0 / 0.8908 GB, free: 96.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001227/2.238, allocations: 189.3 kB / 0.891 GB, free: 96.15 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.001712/2.24, allocations: 0.7687 MB / 0.8917 GB, free: 95.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001137/2.241, allocations: 364.8 kB / 0.8921 GB, free: 95.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/2.241, allocations: 6.094 kB / 0.8921 GB, free: 95.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/2.241, allocations: 233.4 kB / 0.8923 GB, free: 95.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/2.243, allocations: 151.5 kB / 0.8925 GB, free: 95.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/2.245, allocations: 0.8661 MB / 0.8933 GB, free: 95.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/2.245, allocations: 0.7722 MB / 0.8941 GB, free: 94.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/2.246, allocations: 77.44 kB / 0.8941 GB, free: 94.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/2.246, allocations: 0 / 0.8941 GB, free: 94.42 MB / 410.7 MB Notification: Performance of Templates: time 0.02277/2.268, allocations: 11.59 MB / 0.9055 GB, free: 89.47 MB / 410.7 MB