Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005832/0.0005834, allocations: 8 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3442, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.811/2.155, allocations: 0.4977 GB / 0.8217 GB, free: 120.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/2.155, allocations: 102.9 kB / 0.8218 GB, free: 120.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.291/3.446, allocations: 234.9 MB / 1.051 GB, free: 89.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.696e-06/3.446, allocations: 2.938 kB / 1.051 GB, free: 89.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001153/3.446, allocations: 11.69 kB / 1.051 GB, free: 89.28 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.005848/3.452, allocations: 1.189 MB / 1.052 GB, free: 88.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/3.452, allocations: 7.062 kB / 1.052 GB, free: 88.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/3.454, allocations: 138.2 kB / 1.053 GB, free: 88.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/3.457, allocations: 0.5531 MB / 1.053 GB, free: 87.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/3.457, allocations: 100.1 kB / 1.053 GB, free: 87.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/3.457, allocations: 57.12 kB / 1.053 GB, free: 87.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003098/3.46, allocations: 0.8085 MB / 1.054 GB, free: 87.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.428e-05/3.46, allocations: 7.688 kB / 1.054 GB, free: 87.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/3.461, allocations: 26.73 kB / 1.054 GB, free: 87.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/3.461, allocations: 41.98 kB / 1.054 GB, free: 87.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/3.464, allocations: 0.6125 MB / 1.055 GB, free: 86.89 MB / 442.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.01023/3.474, allocations: 3.909 MB / 1.059 GB, free: 83.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/3.475, allocations: 328.8 kB / 1.059 GB, free: 83.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/3.475, allocations: 23.05 kB / 1.059 GB, free: 83.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/3.475, allocations: 38.47 kB / 1.059 GB, free: 83.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.767e-06/3.475, allocations: 0 / 1.059 GB, free: 83.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.01238/3.488, allocations: 1.629 MB / 1.06 GB, free: 82.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/3.488, allocations: 140.4 kB / 1.061 GB, free: 82.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/3.489, allocations: 0.5865 MB / 1.061 GB, free: 81.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/3.49, allocations: 37.67 kB / 1.061 GB, free: 81.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/3.49, allocations: 408.6 kB / 1.062 GB, free: 81.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/3.49, allocations: 143.1 kB / 1.062 GB, free: 81.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/3.491, allocations: 11.91 kB / 1.062 GB, free: 81.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/3.491, allocations: 341.3 kB / 1.062 GB, free: 80.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009352/3.492, allocations: 200 kB / 1.062 GB, free: 80.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/3.493, allocations: 0.5321 MB / 1.063 GB, free: 80.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/3.494, allocations: 306.7 kB / 1.063 GB, free: 80 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/3.494, allocations: 3.938 kB / 1.063 GB, free: 80 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003503/3.498, allocations: 0.8474 MB / 1.064 GB, free: 79.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/3.498, allocations: 10.38 kB / 1.064 GB, free: 79.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/3.498, allocations: 10.44 kB / 1.064 GB, free: 79.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/3.502, allocations: 307.1 kB / 1.064 GB, free: 79.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/3.503, allocations: 127.7 kB / 1.064 GB, free: 79.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/3.505, allocations: 0.8999 MB / 1.065 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/3.507, allocations: 55.25 kB / 1.065 GB, free: 78.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/3.507, allocations: 66.5 kB / 1.065 GB, free: 78.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0008507/3.508, allocations: 255.8 kB / 1.066 GB, free: 78.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/3.509, allocations: 62.06 kB / 1.066 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/3.512, allocations: 0.6679 MB / 1.066 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/3.512, allocations: 6.562 kB / 1.066 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/3.512, allocations: 0 / 1.066 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/3.512, allocations: 3.984 kB / 1.066 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004535/3.517, allocations: 1.259 MB / 1.068 GB, free: 77.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/3.517, allocations: 3.953 kB / 1.068 GB, free: 77.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00313/3.52, allocations: 221 kB / 1.068 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/3.52, allocations: 19.78 kB / 1.068 GB, free: 77.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/3.521, allocations: 22.23 kB / 1.068 GB, free: 77.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/3.524, allocations: 2.691 MB / 1.07 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/3.524, allocations: 3.031 kB / 1.07 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/3.527, allocations: 0.7912 MB / 1.071 GB, free: 73.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/3.528, allocations: 178.7 kB / 1.071 GB, free: 73.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/3.528, allocations: 15.38 kB / 1.071 GB, free: 73.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/3.529, allocations: 29.97 kB / 1.071 GB, free: 73.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/3.529, allocations: 39.33 kB / 1.071 GB, free: 73.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/3.53, allocations: 40.05 kB / 1.071 GB, free: 73.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001139/3.531, allocations: 420 kB / 1.072 GB, free: 73.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.293e-06/3.531, allocations: 0 / 1.072 GB, free: 73.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003246/3.534, allocations: 381.8 kB / 1.072 GB, free: 73.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003688/3.538, allocations: 1.043 MB / 1.073 GB, free: 72.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002636/3.541, allocations: 0.5547 MB / 1.074 GB, free: 72.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/3.541, allocations: 0 / 1.074 GB, free: 72.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002223/3.543, allocations: 392.8 kB / 1.074 GB, free: 72.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/3.547, allocations: 314.9 kB / 1.074 GB, free: 71.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/3.562, allocations: 3.063 MB / 1.077 GB, free: 69.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/3.563, allocations: 0.9449 MB / 1.078 GB, free: 68.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/3.564, allocations: 109 kB / 1.079 GB, free: 68 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/3.564, allocations: 0 / 1.079 GB, free: 68 MB / 442.7 MB Notification: Performance of Templates: time 0.0557/3.62, allocations: 20.6 MB / 1.099 GB, free: 47.46 MB / 442.7 MB