Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(ModelicaTest): time 2.224/2.224, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.87e-05/1.876e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2726, allocations: 54.85 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.388/1.66, allocations: 0.5036 GB / 0.8533 GB, free: 111.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.661, allocations: 90.73 kB / 0.8534 GB, free: 111.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9904/2.651, allocations: 230.4 MB / 1.078 GB, free: 83.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.15e-06/2.651, allocations: 0 / 1.078 GB, free: 83.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.15e-05/2.651, allocations: 16 kB / 1.078 GB, free: 83.59 MB / 474.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.002946/2.654, allocations: 1.094 MB / 1.079 GB, free: 82.46 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/2.654, allocations: 19.94 kB / 1.079 GB, free: 82.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/2.655, allocations: 134.1 kB / 1.08 GB, free: 82.31 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/2.657, allocations: 0.5504 MB / 1.08 GB, free: 81.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/2.657, allocations: 80.72 kB / 1.08 GB, free: 81.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/2.657, allocations: 28 kB / 1.08 GB, free: 81.61 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001151/2.658, allocations: 0.5219 MB / 1.081 GB, free: 81.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/2.66, allocations: 0.7308 MB / 1.081 GB, free: 80.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/2.66, allocations: 7.406 kB / 1.081 GB, free: 80.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.747e-05/2.66, allocations: 0 / 1.081 GB, free: 80.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/2.66, allocations: 41.23 kB / 1.082 GB, free: 80.25 MB / 474.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.004836/2.665, allocations: 3.876 MB / 1.085 GB, free: 76.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/2.665, allocations: 240 kB / 1.086 GB, free: 75.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/2.666, allocations: 125.3 kB / 1.086 GB, free: 75.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.292e-05/2.666, allocations: 23.78 kB / 1.086 GB, free: 75.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/2.666, allocations: 46.69 kB / 1.086 GB, free: 75.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 3.928e-06/2.666, allocations: 0 / 1.086 GB, free: 75.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.006016/2.672, allocations: 1.418 MB / 1.087 GB, free: 74.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/2.672, allocations: 132.5 kB / 1.087 GB, free: 74.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/2.673, allocations: 478.1 kB / 1.088 GB, free: 73.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/2.673, allocations: 25.7 kB / 1.088 GB, free: 73.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/2.673, allocations: 437.2 kB / 1.088 GB, free: 73.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/2.673, allocations: 114.4 kB / 1.088 GB, free: 73.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/2.673, allocations: 0 / 1.088 GB, free: 73.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.635e-05/2.673, allocations: 342.8 kB / 1.089 GB, free: 72.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/2.673, allocations: 181.5 kB / 1.089 GB, free: 72.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/2.674, allocations: 0.5122 MB / 1.089 GB, free: 71.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008369/2.675, allocations: 323.7 kB / 1.09 GB, free: 71.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/2.675, allocations: 4 kB / 1.09 GB, free: 71.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001799/2.677, allocations: 0.802 MB / 1.09 GB, free: 70.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/2.677, allocations: 12 kB / 1.09 GB, free: 70.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/2.677, allocations: 8 kB / 1.09 GB, free: 70.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/2.678, allocations: 269.1 kB / 1.091 GB, free: 70.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/2.678, allocations: 131.8 kB / 1.091 GB, free: 70.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/2.68, allocations: 0.9236 MB / 1.092 GB, free: 69.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008924/2.681, allocations: 31.92 kB / 1.092 GB, free: 69.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/2.681, allocations: 76.03 kB / 1.092 GB, free: 69.23 MB / 474.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 () * 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.0001994/2.681, allocations: 140.6 kB / 1.092 GB, free: 69.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/2.681, allocations: 67.25 kB / 1.092 GB, free: 69.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/2.683, allocations: 0.4957 MB / 1.092 GB, free: 68.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.873e-06/2.683, allocations: 4 kB / 1.092 GB, free: 68.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.294e-06/2.683, allocations: 4 kB / 1.092 GB, free: 68.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.53e-06/2.683, allocations: 3.984 kB / 1.092 GB, free: 68.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/2.685, allocations: 0.953 MB / 1.093 GB, free: 67.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.001e-06/2.685, allocations: 4 kB / 1.093 GB, free: 67.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/2.686, allocations: 191.9 kB / 1.094 GB, free: 67.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/2.686, allocations: 28.78 kB / 1.094 GB, free: 67.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/2.686, allocations: 15.94 kB / 1.094 GB, free: 67.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/2.688, allocations: 2.589 MB / 1.096 GB, free: 64.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.345e-06/2.688, allocations: 0 / 1.096 GB, free: 64.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/2.689, allocations: 0.6702 MB / 1.097 GB, free: 63.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/2.689, allocations: 168.4 kB / 1.097 GB, free: 63.58 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/2.689, allocations: 4.156 kB / 1.097 GB, free: 63.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/2.69, allocations: 19.89 kB / 1.097 GB, free: 63.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/2.69, allocations: 35.89 kB / 1.097 GB, free: 63.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/2.69, allocations: 35.98 kB / 1.097 GB, free: 63.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005079/2.691, allocations: 350.9 kB / 1.097 GB, free: 63.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.33e-07/2.691, allocations: 4 kB / 1.097 GB, free: 63.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001626/2.692, allocations: 335.8 kB / 1.098 GB, free: 62.81 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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.00217/2.695, allocations: 1.171 MB / 1.099 GB, free: 61.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/2.696, allocations: 490.9 kB / 1.099 GB, free: 61.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/2.696, allocations: 0 / 1.099 GB, free: 61.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009394/2.697, allocations: 343.3 kB / 1.1 GB, free: 60.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/2.699, allocations: 244.1 kB / 1.1 GB, free: 60.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00788/2.706, allocations: 2.331 MB / 1.102 GB, free: 58.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/2.707, allocations: 0.9373 MB / 1.103 GB, free: 57.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/2.707, allocations: 103.4 kB / 1.103 GB, free: 57.32 MB / 474.7 MB Notification: Performance of SimCode: time 2.098e-06/2.707, allocations: 0 / 1.103 GB, free: 57.32 MB / 474.7 MB Notification: Performance of Templates: time 0.02815/2.736, allocations: 19.83 MB / 1.122 GB, free: 37.48 MB / 474.7 MB