Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.283/2.283, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006882/0.0006883, allocations: 12 kB / 314.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3563, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.564/0.9203, allocations: 142.5 MB / 0.4998 GB, free: 12.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.9335, allocations: 7.252 MB / 0.5069 GB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.9347, allocations: 26.06 kB / 0.5069 GB, free: 11.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.9361, allocations: 270.8 kB / 0.5071 GB, free: 11.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.9419, allocations: 1.28 MB / 0.5084 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.9464, allocations: 0.985 MB / 0.5094 GB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.9491, allocations: 1.166 MB / 0.5105 GB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009616/0.9501, allocations: 388.2 kB / 0.5109 GB, free: 10.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.9528, allocations: 0.7357 MB / 0.5116 GB, free: 9.891 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.9547, allocations: 0.5643 MB / 0.5121 GB, free: 9.699 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.955, allocations: 28.56 kB / 0.5122 GB, free: 9.699 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.9575, allocations: 0.632 MB / 0.5128 GB, free: 9.594 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005123/0.9581, allocations: 212.6 kB / 0.513 GB, free: 9.516 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.9585, allocations: 161.1 kB / 0.5131 GB, free: 9.465 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.9611, allocations: 0.9893 MB / 0.5141 GB, free: 8.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.9611, allocations: 0 / 0.5141 GB, free: 8.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.9611, allocations: 0 / 0.5141 GB, free: 8.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.9612, allocations: 4 kB / 0.5141 GB, free: 8.98 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.002928/0.9641, allocations: 0.9807 MB / 0.5151 GB, free: 8.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.9642, allocations: 18.8 kB / 0.5151 GB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.9644, allocations: 100.9 kB / 0.5152 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.9655, allocations: 129.3 kB / 0.5153 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.9667, allocations: 0.4978 MB / 0.5158 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.9668, allocations: 100.8 kB / 0.5159 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.967, allocations: 54.64 kB / 0.5159 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.9688, allocations: 0.8036 MB / 0.5167 GB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.9689, allocations: 6.719 kB / 0.5167 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.969, allocations: 21.47 kB / 0.5167 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.542e-05/0.9691, allocations: 44.97 kB / 0.5168 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.9707, allocations: 0.6174 MB / 0.5174 GB, free: 7.246 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.006466/0.9772, allocations: 3.928 MB / 0.5212 GB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.9781, allocations: 351.2 kB / 0.5216 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.9782, allocations: 29.81 kB / 0.5216 GB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.9783, allocations: 43.77 kB / 0.5216 GB, free: 4.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.755e-06/0.9783, allocations: 0 / 0.5216 GB, free: 4.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.008833/0.9871, allocations: 1.63 MB / 0.5232 GB, free: 3.398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.9872, allocations: 133 kB / 0.5233 GB, free: 3.242 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.9882, allocations: 0.5917 MB / 0.5239 GB, free: 3.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/0.9883, allocations: 34.73 kB / 0.524 GB, free: 2.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.9886, allocations: 415.1 kB / 0.5244 GB, free: 2.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.9888, allocations: 146.8 kB / 0.5245 GB, free: 2.594 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.9889, allocations: 13.25 kB / 0.5245 GB, free: 2.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.989, allocations: 343.3 kB / 0.5248 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.9896, allocations: 201.8 kB / 0.525 GB, free: 2.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.9904, allocations: 0.529 MB / 0.5255 GB, free: 1.762 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.9911, allocations: 302.5 kB / 0.5258 GB, free: 1.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.9911, allocations: 2.531 kB / 0.5258 GB, free: 1.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002096/0.9932, allocations: 0.8491 MB / 0.5267 GB, free: 1.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.9933, allocations: 15.92 kB / 0.5267 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.9933, allocations: 10.97 kB / 0.5267 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.9956, allocations: 309.2 kB / 0.527 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/0.9963, allocations: 132.1 kB / 0.5271 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.9978, allocations: 0.9041 MB / 0.528 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/0.9987, allocations: 49 kB / 0.528 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.9988, allocations: 73.64 kB / 0.5281 GB, free: 0.7656 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.0004575/0.9993, allocations: 245.5 kB / 0.5283 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.9994, allocations: 71.69 kB / 0.5284 GB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/1.002, allocations: 0.6822 MB / 0.5291 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/1.002, allocations: 5.688 kB / 0.5291 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.002, allocations: 3.953 kB / 0.5291 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/1.002, allocations: 3.984 kB / 0.5291 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/1.004, allocations: 1.259 MB / 0.5303 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/1.004, allocations: 2.875 kB / 0.5303 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/1.006, allocations: 203.6 kB / 0.5305 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/1.006, allocations: 30.88 kB / 0.5305 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/1.006, allocations: 22.02 kB / 0.5306 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/1.009, allocations: 2.695 MB / 0.5332 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.009, allocations: 6.469 kB / 0.5332 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/1.011, allocations: 0.7872 MB / 0.534 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/1.011, allocations: 180.8 kB / 0.5341 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.011, allocations: 12.53 kB / 0.5342 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/1.012, allocations: 28.56 kB / 0.5342 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.012, allocations: 39.78 kB / 0.5342 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-05/1.012, allocations: 49.03 kB / 0.5343 GB, free: 12.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006982/1.013, allocations: 415.7 kB / 0.5347 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.013, allocations: 0 / 0.5347 GB, free: 12.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001273/1.014, allocations: 290.7 kB / 0.5349 GB, free: 12.29 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.003146/1.017, allocations: 1.605 MB / 0.5365 GB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/1.019, allocations: 0.548 MB / 0.537 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.019, allocations: 0 / 0.537 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/1.021, allocations: 410.8 kB / 0.5374 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.023, allocations: 313 kB / 0.5377 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009063/1.032, allocations: 4.289 MB / 0.5419 GB, free: 7.664 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/1.033, allocations: 0.9394 MB / 0.5428 GB, free: 6.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008638/1.034, allocations: 284.4 kB / 0.5431 GB, free: 6.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/1.034, allocations: 0 / 0.5431 GB, free: 6.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.327/4.36, allocations: 19.64 MB / 0.5623 GB, free: 3.117 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat