Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(Modelica): time 1.617/1.617, allocations: 171.2 MB / 186.7 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003692, allocations: 11.98 kB / 233.2 MB, free: 3.035 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06865/0.06905, allocations: 38.76 MB / 271.9 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3792/0.4483, allocations: 137.8 MB / 409.8 MB, free: 5.395 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.452, allocations: 1.937 MB / 411.7 MB, free: 3.457 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003706/0.4524, allocations: 7.938 kB / 411.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.453, allocations: 143.3 kB / 411.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000861/0.4539, allocations: 267.2 kB / 412.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.4549, allocations: 275.4 kB / 412.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008042/0.4558, allocations: 498.8 kB / 412.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.456, allocations: 76.12 kB / 413 MB, free: 2.211 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.4572, allocations: 442.8 kB / 413.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.4575, allocations: 175.4 kB / 413.6 MB, free: 1.605 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.4576, allocations: 12 kB / 413.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.4579, allocations: 99.88 kB / 413.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.4581, allocations: 75.78 kB / 413.7 MB, free: 1.422 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.4582, allocations: 89.58 kB / 413.8 MB, free: 1.328 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006138/0.4589, allocations: 405.8 kB / 414.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.4589, allocations: 0 / 414.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4589, allocations: 0 / 414.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.516e-06/0.4589, allocations: 3.938 kB / 414.2 MB, free: 0.9297 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009078/0.4598, allocations: 0.5276 MB / 414.8 MB, free: 364 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.4599, allocations: 8.031 kB / 414.8 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.4602, allocations: 47.61 kB / 414.8 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.4607, allocations: 278.6 kB / 415.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.4608, allocations: 20.56 kB / 415.1 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.4608, allocations: 24 kB / 415.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006753/0.4615, allocations: 311.7 kB / 415.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.4616, allocations: 4 kB / 415.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.4616, allocations: 12 kB / 415.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.4616, allocations: 11.95 kB / 415.5 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004752/0.4621, allocations: 205.5 kB / 415.7 MB, free: 15.38 MB / 346.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.002393/0.4645, allocations: 1.577 MB / 417.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.465, allocations: 171.4 kB / 417.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.465, allocations: 4 kB / 417.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.4651, allocations: 38.55 kB / 417.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.596e-06/0.4651, allocations: 4 kB / 417.5 MB, free: 13.43 MB / 346.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.006665/0.4718, allocations: 1.618 MB / 419.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.4719, allocations: 55.41 kB / 419.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.4723, allocations: 252.9 kB / 419.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.4723, allocations: 33.7 kB / 419.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.4725, allocations: 234.6 kB / 419.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4726, allocations: 98.62 kB / 419.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.4727, allocations: 8 kB / 419.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4729, allocations: 322.8 kB / 420.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.4731, allocations: 83.97 kB / 420.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.4735, allocations: 195.5 kB / 420.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.4738, allocations: 124.4 kB / 420.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.042e-06/0.4738, allocations: 4 kB / 420.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009657/0.4748, allocations: 378.8 kB / 420.8 MB, free: 9.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4748, allocations: 11.22 kB / 420.8 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.497e-06/0.4748, allocations: 4 kB / 420.8 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003022/0.4751, allocations: 81.62 kB / 420.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.4756, allocations: 79.89 kB / 421 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.4777, allocations: 1.864 MB / 422.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.4781, allocations: 15.91 kB / 422.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/0.4782, allocations: 43.98 kB / 422.9 MB, free: 7.578 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002714/0.4785, allocations: 149.7 kB / 423.1 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.4786, allocations: 39.73 kB / 423.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.48, allocations: 449.6 kB / 423.5 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.729e-06/0.48, allocations: 4 kB / 423.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.601e-06/0.48, allocations: 0 / 423.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007956/0.4808, allocations: 0.5629 MB / 424.1 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.4824, allocations: 0.7116 MB / 424.8 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.124e-06/0.4824, allocations: 3.953 kB / 424.8 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.4828, allocations: 79.95 kB / 424.9 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.483, allocations: 16.84 kB / 424.9 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.483, allocations: 15.98 kB / 424.9 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.4844, allocations: 1.284 MB / 426.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4844, allocations: 4.031 kB / 426.2 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.4854, allocations: 481.7 kB / 426.7 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.4856, allocations: 108.8 kB / 426.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.4857, allocations: 8 kB / 426.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.486, allocations: 15.98 kB / 426.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.4861, allocations: 19.97 kB / 426.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.59e-05/0.4862, allocations: 31.98 kB / 426.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002973/0.4865, allocations: 190 kB / 427.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.4865, allocations: 0 / 427.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007037/0.4872, allocations: 124 kB / 427.2 MB, free: 2.957 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004733/0.4877, allocations: 163 kB / 427.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.4886, allocations: 366.4 kB / 427.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.483e-06/0.4886, allocations: 0 / 427.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.4891, allocations: 235.5 kB / 427.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4901, allocations: 161 kB / 428.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.4918, allocations: 0.8582 MB / 428.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.4924, allocations: 0.7765 MB / 429.7 MB, free: 328 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.4928, allocations: 75.39 kB / 429.8 MB, free: 252 kB / 346.7 MB Notification: Performance of SimCode: time 1.956e-06/0.4928, allocations: 4 kB / 429.8 MB, free: 248 kB / 346.7 MB Notification: Performance of Templates: time 0.186/0.6788, allocations: 7.464 MB / 437.3 MB, free: 125.1 MB / 346.7 MB