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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.121/2.121, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.427e-05, allocations: 8 kB / 309.7 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3628, allocations: 54.85 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.492, allocations: 0.5043 GB / 0.8603 GB, free: 58.72 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.492, allocations: 88.61 kB / 0.8604 GB, free: 58.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009/2.502, allocations: 233 MB / 1.088 GB, free: 23.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.039e-06/2.502, allocations: 0 / 1.088 GB, free: 23.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.355e-05/2.502, allocations: 24.42 kB / 1.088 GB, free: 23.62 MB / 490.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.002711/2.504, allocations: 1.093 MB / 1.089 GB, free: 22.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/2.505, allocations: 8.031 kB / 1.089 GB, free: 22.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/2.506, allocations: 135 kB / 1.089 GB, free: 22.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/2.507, allocations: 0.5521 MB / 1.09 GB, free: 21.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/2.507, allocations: 104.4 kB / 1.09 GB, free: 21.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/2.507, allocations: 51.91 kB / 1.09 GB, free: 21.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/2.509, allocations: 0.7872 MB / 1.091 GB, free: 20.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/2.509, allocations: 8 kB / 1.091 GB, free: 20.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/2.509, allocations: 27.94 kB / 1.091 GB, free: 20.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-05/2.509, allocations: 36.98 kB / 1.091 GB, free: 20.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/2.51, allocations: 0.5971 MB / 1.091 GB, free: 20.04 MB / 490.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.004738/2.515, allocations: 3.916 MB / 1.095 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/2.516, allocations: 327.3 kB / 1.095 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/2.516, allocations: 162.9 kB / 1.096 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.703e-05/2.516, allocations: 25.05 kB / 1.096 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/2.516, allocations: 38.78 kB / 1.096 GB, free: 15.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.786e-06/2.516, allocations: 4 kB / 1.096 GB, free: 15.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005931/2.522, allocations: 1.501 MB / 1.097 GB, free: 13.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/2.522, allocations: 132.5 kB / 1.097 GB, free: 13.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008239/2.523, allocations: 0.5226 MB / 1.098 GB, free: 13.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/2.523, allocations: 37.64 kB / 1.098 GB, free: 13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/2.523, allocations: 405.2 kB / 1.098 GB, free: 12.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/2.523, allocations: 145.9 kB / 1.098 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/2.523, allocations: 12 kB / 1.098 GB, free: 12.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.904e-05/2.523, allocations: 350.8 kB / 1.099 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/2.524, allocations: 189.5 kB / 1.099 GB, free: 11.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/2.524, allocations: 0.5258 MB / 1.099 GB, free: 11.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/2.525, allocations: 303.2 kB / 1.1 GB, free: 10.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/2.525, allocations: 4 kB / 1.1 GB, free: 10.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001698/2.527, allocations: 0.8261 MB / 1.1 GB, free: 10.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/2.527, allocations: 12.78 kB / 1.1 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/2.527, allocations: 15.97 kB / 1.1 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/2.528, allocations: 293.7 kB / 1.101 GB, free: 9.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005577/2.529, allocations: 131.8 kB / 1.101 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/2.53, allocations: 0.9023 MB / 1.102 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009202/2.531, allocations: 43.98 kB / 1.102 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/2.531, allocations: 67.98 kB / 1.102 GB, free: 8.602 MB / 490.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.0002058/2.531, allocations: 156.7 kB / 1.102 GB, free: 8.441 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/2.532, allocations: 71.16 kB / 1.102 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/2.534, allocations: 0.6663 MB / 1.103 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.606e-06/2.534, allocations: 8 kB / 1.103 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.247e-06/2.534, allocations: 0 / 1.103 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/2.534, allocations: 3.984 kB / 1.103 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/2.536, allocations: 1.243 MB / 1.104 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.067e-06/2.536, allocations: 4 kB / 1.104 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/2.537, allocations: 203.8 kB / 1.104 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/2.537, allocations: 24.84 kB / 1.104 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/2.537, allocations: 20 kB / 1.104 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/2.539, allocations: 2.684 MB / 1.107 GB, free: 3.137 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.986e-06/2.539, allocations: 4.031 kB / 1.107 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/2.541, allocations: 0.8405 MB / 1.108 GB, free: 2.227 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/2.541, allocations: 180.3 kB / 1.108 GB, free: 2.031 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/2.541, allocations: 8 kB / 1.108 GB, free: 2.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/2.542, allocations: 27.98 kB / 1.108 GB, free: 1.996 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/2.542, allocations: 47.95 kB / 1.108 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/2.542, allocations: 43.92 kB / 1.108 GB, free: 1.906 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006316/2.543, allocations: 415.1 kB / 1.108 GB, free: 1.504 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.65e-07/2.543, allocations: 0 / 1.108 GB, free: 1.504 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001747/2.545, allocations: 375.8 kB / 1.109 GB, free: 1.137 MB / 490.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 () * 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.002043/2.547, allocations: 1.039 MB / 1.11 GB, free: 100 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.2736/2.82, allocations: 0.5262 MB / 1.11 GB, free: 98.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/2.82, allocations: 1.062 kB / 1.11 GB, free: 98.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/2.822, allocations: 394.4 kB / 1.111 GB, free: 98.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/2.824, allocations: 308.5 kB / 1.111 GB, free: 98.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008659/2.832, allocations: 2.422 MB / 1.113 GB, free: 98.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/2.833, allocations: 0.9446 MB / 1.114 GB, free: 97.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/2.833, allocations: 117.1 kB / 1.114 GB, free: 97.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.713e-06/2.833, allocations: 0 / 1.114 GB, free: 97.37 MB / 490.7 MB Notification: Performance of Templates: time 0.03548/2.869, allocations: 20.52 MB / 1.134 GB, free: 96.98 MB / 490.7 MB