Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.135/2.135, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004506/0.0004506, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3594, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.031/0.3904, allocations: 17.14 MB / 348.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.4043, allocations: 5.761 MB / 354.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.4055, allocations: 25.62 kB / 354.2 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.4068, allocations: 252.1 kB / 354.5 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006407/0.4133, allocations: 1.467 MB / 355.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005277/0.4186, allocations: 1.25 MB / 357.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003112/0.4217, allocations: 1.171 MB / 358.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.4229, allocations: 400.5 kB / 358.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008401/0.4313, allocations: 2.889 MB / 361.6 MB, free: 108 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003393/0.4347, allocations: 1.134 MB / 362.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.4351, allocations: 35.94 kB / 362.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004468/0.4395, allocations: 1.252 MB / 364 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006696/0.4403, allocations: 215.4 kB / 364.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.4407, allocations: 165.3 kB / 364.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.4436, allocations: 1.002 MB / 365.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4437, allocations: 4 kB / 365.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4437, allocations: 0 / 365.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.4437, allocations: 0 / 365.4 MB, free: 12.3 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003131/0.4469, allocations: 0.9933 MB / 366.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4469, allocations: 8.031 kB / 366.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002563/0.4472, allocations: 102.5 kB / 366.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.4485, allocations: 135 kB / 366.7 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.4499, allocations: 0.5083 MB / 367.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.4501, allocations: 100.4 kB / 367.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.4503, allocations: 51.98 kB / 367.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.4527, allocations: 0.8355 MB / 368.2 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.4528, allocations: 3.953 kB / 368.2 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.4529, allocations: 24 kB / 368.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.4531, allocations: 36.98 kB / 368.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.4553, allocations: 0.6048 MB / 368.8 MB, free: 8.707 MB / 298.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.008153/0.4635, allocations: 4.624 MB / 373.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.4647, allocations: 314.7 kB / 373.8 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/0.4651, allocations: 340.6 kB / 374.1 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.4652, allocations: 42.56 kB / 374.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.775e-06/0.4652, allocations: 0 / 374.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.006269/0.4715, allocations: 1.498 MB / 375.6 MB, free: 1.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/0.4716, allocations: 132.5 kB / 375.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.4729, allocations: 0.6407 MB / 376.4 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.613e-05/0.473, allocations: 33.7 kB / 376.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.4734, allocations: 436.7 kB / 376.9 MB, free: 88 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.4736, allocations: 134.2 kB / 377 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.4737, allocations: 16 kB / 377 MB, free: 15.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4739, allocations: 338.8 kB / 377.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.4745, allocations: 205.8 kB / 377.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009076/0.4754, allocations: 0.5387 MB / 378.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.4763, allocations: 293.6 kB / 378.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.4763, allocations: 4 kB / 378.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002339/0.4786, allocations: 0.8509 MB / 379.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.4787, allocations: 8.188 kB / 379.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.4787, allocations: 19.94 kB / 379.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.4808, allocations: 277.4 kB / 379.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/0.4816, allocations: 135.8 kB / 379.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.4834, allocations: 1.366 MB / 381 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009851/0.4845, allocations: 44.02 kB / 381.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.4846, allocations: 47.98 kB / 381.1 MB, free: 11.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * 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 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.000542/0.4852, allocations: 249.5 kB / 381.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.4854, allocations: 67.25 kB / 381.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.4877, allocations: 0.6249 MB / 382 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.4878, allocations: 4 kB / 382 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.4878, allocations: 0 / 382 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4878, allocations: 3.984 kB / 382 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.491, allocations: 1.188 MB / 383.2 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.4911, allocations: 7.984 kB / 383.2 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.4914, allocations: 35.92 kB / 383.3 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.4927, allocations: 197.6 kB / 383.5 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.4928, allocations: 15.95 kB / 383.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.4945, allocations: 1.304 MB / 384.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4945, allocations: 96 / 384.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.4969, allocations: 0.7866 MB / 385.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/0.4974, allocations: 192.2 kB / 385.8 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.4976, allocations: 15.94 kB / 385.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006809/0.4983, allocations: 19.98 kB / 385.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4985, allocations: 23.97 kB / 385.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.4985, allocations: 23.98 kB / 385.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009398/0.4995, allocations: 439.1 kB / 386.3 MB, free: 6.234 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4995, allocations: 3.938 kB / 386.3 MB, free: 6.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001524/0.5011, allocations: 279.9 kB / 386.5 MB, free: 5.957 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (24): * Single equations (assignments): 22 * 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 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003684/0.5048, allocations: 1.569 MB / 388.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.5065, allocations: 0.5137 MB / 388.6 MB, free: 3.836 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.5066, allocations: 0 / 388.6 MB, free: 3.836 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008187/0.5074, allocations: 219.8 kB / 388.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.5099, allocations: 289.9 kB / 389.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.5207, allocations: 4.227 MB / 393.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/0.5215, allocations: 0.9497 MB / 394.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/0.5222, allocations: 239.3 kB / 394.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5222, allocations: 0 / 394.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.424/3.946, allocations: 20.13 MB / 414.7 MB, free: 9.586 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat