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.223/2.223, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 8 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5256/0.8132, allocations: 142.5 MB / 0.4997 GB, free: 12.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.8246, allocations: 7.257 MB / 0.5068 GB, free: 11.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.8258, allocations: 25.91 kB / 0.5068 GB, free: 11.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009593/0.8267, allocations: 264.2 kB / 0.5071 GB, free: 11.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004782/0.8315, allocations: 1.271 MB / 0.5083 GB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.8354, allocations: 0.9936 MB / 0.5093 GB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.8376, allocations: 1.166 MB / 0.5104 GB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.8384, allocations: 384.6 kB / 0.5108 GB, free: 10.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.8406, allocations: 0.7406 MB / 0.5115 GB, free: 9.914 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.8419, allocations: 0.5525 MB / 0.512 GB, free: 9.727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.842, allocations: 30.5 kB / 0.5121 GB, free: 9.727 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.8442, allocations: 0.6363 MB / 0.5127 GB, free: 9.617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003837/0.8446, allocations: 213.9 kB / 0.5129 GB, free: 9.543 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.845, allocations: 163.7 kB / 0.513 GB, free: 9.488 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.8487, allocations: 0.9888 MB / 0.514 GB, free: 9.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.543e-06/0.8487, allocations: 0 / 0.514 GB, free: 9.008 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.47e-06/0.8488, allocations: 0 / 0.514 GB, free: 9.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.8488, allocations: 0 / 0.514 GB, free: 9.008 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004553/0.8534, allocations: 0.9898 MB / 0.515 GB, free: 8.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.8534, allocations: 7.438 kB / 0.515 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.8557, allocations: 131 kB / 0.5151 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.8578, allocations: 0.4904 MB / 0.5156 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.8581, allocations: 109.3 kB / 0.5157 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.8583, allocations: 50.88 kB / 0.5157 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.8614, allocations: 0.8072 MB / 0.5165 GB, free: 7.453 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/0.8615, allocations: 3.984 kB / 0.5165 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/0.8617, allocations: 30.31 kB / 0.5166 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.8619, allocations: 39.77 kB / 0.5166 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.8647, allocations: 0.6233 MB / 0.5172 GB, free: 7.316 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.01074/0.8755, allocations: 3.922 MB / 0.521 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.8769, allocations: 349.2 kB / 0.5214 GB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.8771, allocations: 24.3 kB / 0.5214 GB, free: 4.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.8772, allocations: 40.67 kB / 0.5214 GB, free: 4.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 6.958e-06/0.8772, allocations: 0 / 0.5214 GB, free: 4.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.01245/0.8897, allocations: 1.639 MB / 0.523 GB, free: 3.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.8899, allocations: 136.4 kB / 0.5232 GB, free: 3.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.8917, allocations: 0.5908 MB / 0.5237 GB, free: 3.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.8919, allocations: 35.3 kB / 0.5238 GB, free: 3.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005736/0.8925, allocations: 411.3 kB / 0.5242 GB, free: 2.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.8928, allocations: 146.8 kB / 0.5243 GB, free: 2.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-05/0.8929, allocations: 15.62 kB / 0.5243 GB, free: 2.672 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003039/0.8933, allocations: 346.1 kB / 0.5247 GB, free: 2.344 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009537/0.8942, allocations: 199.7 kB / 0.5248 GB, free: 2.309 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.8957, allocations: 0.5334 MB / 0.5254 GB, free: 1.836 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.897, allocations: 302.9 kB / 0.5257 GB, free: 1.781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.897, allocations: 2.75 kB / 0.5257 GB, free: 1.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00378/0.9008, allocations: 0.8582 MB / 0.5265 GB, free: 1.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.9009, allocations: 10.28 kB / 0.5265 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.9009, allocations: 10.25 kB / 0.5265 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/0.904, allocations: 306.4 kB / 0.5268 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.9051, allocations: 134.9 kB / 0.5269 GB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.9078, allocations: 0.8957 MB / 0.5278 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.9094, allocations: 46.05 kB / 0.5279 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.9097, allocations: 73.62 kB / 0.5279 GB, free: 0.8438 MB / 410.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.0008483/0.9105, allocations: 244.4 kB / 0.5282 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.9109, allocations: 69.34 kB / 0.5282 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.9149, allocations: 0.6938 MB / 0.5289 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.9149, allocations: 2.844 kB / 0.5289 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.9149, allocations: 2.594 kB / 0.5289 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/0.915, allocations: 7.938 kB / 0.5289 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.9326, allocations: 1.262 MB / 0.5301 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.9327, allocations: 0 / 0.5301 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/0.9354, allocations: 217.8 kB / 0.5304 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.9357, allocations: 24.16 kB / 0.5304 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.9358, allocations: 27.17 kB / 0.5304 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004878/0.9407, allocations: 2.688 MB / 0.533 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.07e-06/0.9408, allocations: 3.188 kB / 0.533 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.9439, allocations: 0.7925 MB / 0.5338 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/0.9446, allocations: 184.2 kB / 0.534 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.9449, allocations: 9.281 kB / 0.534 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.946, allocations: 21.64 kB / 0.534 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.9462, allocations: 48.95 kB / 0.5341 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/0.9464, allocations: 42.77 kB / 0.5341 GB, free: 12.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00125/0.9477, allocations: 412.6 kB / 0.5345 GB, free: 12.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.288e-06/0.9477, allocations: 3.938 kB / 0.5345 GB, free: 12.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002904/0.9506, allocations: 302.1 kB / 0.5348 GB, free: 12.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.002287/0.953, allocations: 358 kB / 0.5351 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.956, allocations: 0.5432 MB / 0.5357 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.956, allocations: 0 / 0.5357 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.9586, allocations: 399.2 kB / 0.536 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/0.9626, allocations: 309.4 kB / 0.5363 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/0.9679, allocations: 1.612 MB / 0.5379 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009913/0.9689, allocations: 0.9419 MB / 0.5388 GB, free: 10.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008423/0.9698, allocations: 114.7 kB / 0.5389 GB, free: 9.977 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.9698, allocations: 4 kB / 0.5389 GB, free: 9.973 MB / 426.7 MB Notification: Performance of Templates: time 0.0467/1.016, allocations: 16.61 MB / 0.5552 GB, free: 9.652 MB / 442.7 MB