Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.864/1.864, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.000439, allocations: 16 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2826, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.553, allocations: 0.4977 GB / 0.8212 GB, free: 99.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.554, allocations: 97.69 kB / 0.8213 GB, free: 99.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9927/2.546, allocations: 234.9 MB / 1.051 GB, free: 40.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/2.546, allocations: 0 / 1.051 GB, free: 40.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.384e-05/2.546, allocations: 12 kB / 1.051 GB, free: 40.12 MB / 426.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.002699/2.549, allocations: 1.187 MB / 1.052 GB, free: 38.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/2.549, allocations: 8.031 kB / 1.052 GB, free: 38.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/2.55, allocations: 139 kB / 1.052 GB, free: 38.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/2.551, allocations: 0.552 MB / 1.053 GB, free: 38.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/2.552, allocations: 104.4 kB / 1.053 GB, free: 38.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/2.552, allocations: 47.95 kB / 1.053 GB, free: 37.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/2.553, allocations: 0.8156 MB / 1.054 GB, free: 37.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/2.553, allocations: 4 kB / 1.054 GB, free: 37.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/2.553, allocations: 24 kB / 1.054 GB, free: 37.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.895e-05/2.553, allocations: 36.98 kB / 1.054 GB, free: 37.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/2.555, allocations: 0.6204 MB / 1.054 GB, free: 36.41 MB / 426.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.00448/2.559, allocations: 3.903 MB / 1.058 GB, free: 32.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/2.56, allocations: 326.4 kB / 1.058 GB, free: 31.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/2.56, allocations: 29.14 kB / 1.058 GB, free: 31.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/2.56, allocations: 38.84 kB / 1.058 GB, free: 31.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.189e-06/2.56, allocations: 0 / 1.058 GB, free: 31.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.006084/2.566, allocations: 1.628 MB / 1.06 GB, free: 30.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/2.566, allocations: 132.5 kB / 1.06 GB, free: 29.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/2.567, allocations: 0.5265 MB / 1.061 GB, free: 29.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/2.567, allocations: 33.7 kB / 1.061 GB, free: 29.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/2.567, allocations: 409.1 kB / 1.061 GB, free: 29.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/2.567, allocations: 146 kB / 1.061 GB, free: 28.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/2.567, allocations: 12 kB / 1.061 GB, free: 28.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/2.567, allocations: 338.8 kB / 1.061 GB, free: 28.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/2.568, allocations: 197.9 kB / 1.062 GB, free: 28.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/2.568, allocations: 0.5314 MB / 1.062 GB, free: 27.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/2.569, allocations: 303.3 kB / 1.062 GB, free: 27.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.541e-06/2.569, allocations: 7.938 kB / 1.062 GB, free: 27.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001703/2.571, allocations: 0.8447 MB / 1.063 GB, free: 26.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/2.571, allocations: 15.94 kB / 1.063 GB, free: 26.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/2.571, allocations: 16.86 kB / 1.063 GB, free: 26.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/2.572, allocations: 308 kB / 1.064 GB, free: 26.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/2.573, allocations: 127.8 kB / 1.064 GB, free: 26.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/2.574, allocations: 0.8958 MB / 1.065 GB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008397/2.575, allocations: 51.89 kB / 1.065 GB, free: 25.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/2.575, allocations: 67.98 kB / 1.065 GB, free: 24.98 MB / 426.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.0004468/2.576, allocations: 253.8 kB / 1.065 GB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/2.576, allocations: 63.25 kB / 1.065 GB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/2.578, allocations: 0.6744 MB / 1.066 GB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.36e-06/2.578, allocations: 4 kB / 1.066 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.865e-06/2.578, allocations: 0 / 1.066 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.334e-06/2.578, allocations: 3.938 kB / 1.066 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/2.58, allocations: 1.266 MB / 1.067 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.842e-06/2.58, allocations: 0 / 1.067 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/2.581, allocations: 215.9 kB / 1.067 GB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/2.581, allocations: 20.84 kB / 1.067 GB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/2.581, allocations: 19.98 kB / 1.067 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/2.583, allocations: 2.701 MB / 1.07 GB, free: 19.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/2.583, allocations: 4.031 kB / 1.07 GB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/2.585, allocations: 0.8444 MB / 1.071 GB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/2.585, allocations: 184.2 kB / 1.071 GB, free: 18.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/2.585, allocations: 11.98 kB / 1.071 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/2.586, allocations: 28.05 kB / 1.071 GB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/2.586, allocations: 39.95 kB / 1.071 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/2.586, allocations: 39.98 kB / 1.071 GB, free: 18.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006144/2.587, allocations: 411 kB / 1.071 GB, free: 17.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.89e-07/2.587, allocations: 4 kB / 1.071 GB, free: 17.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00162/2.588, allocations: 383.8 kB / 1.072 GB, free: 17.37 MB / 426.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.001844/2.59, allocations: 1.031 MB / 1.073 GB, free: 16.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001406/2.592, allocations: 0.5509 MB / 1.073 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/2.592, allocations: 4 kB / 1.073 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/2.593, allocations: 386.4 kB / 1.074 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/2.595, allocations: 319.3 kB / 1.074 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008233/2.603, allocations: 3.061 MB / 1.077 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/2.603, allocations: 0.9455 MB / 1.078 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/2.604, allocations: 111.4 kB / 1.078 GB, free: 10.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.63e-06/2.604, allocations: 0 / 1.078 GB, free: 10.89 MB / 426.7 MB Notification: Performance of Templates: time 0.2785/2.882, allocations: 20.59 MB / 1.098 GB, free: 65.33 MB / 426.7 MB