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.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.247/2.247, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004305, allocations: 12 kB / 314.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.34, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03197/0.3721, allocations: 17.18 MB / 386.5 MB, free: 9.469 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.385, allocations: 5.773 MB / 392.2 MB, free: 3.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009865/0.386, allocations: 19.81 kB / 392.3 MB, free: 3.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.3872, allocations: 258.6 kB / 392.5 MB, free: 3.406 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005925/0.3932, allocations: 1.425 MB / 393.9 MB, free: 1.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004943/0.3982, allocations: 1.193 MB / 395.1 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.4009, allocations: 1.18 MB / 396.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009719/0.402, allocations: 398.2 kB / 396.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007833/0.4098, allocations: 2.769 MB / 399.5 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/0.4129, allocations: 1.068 MB / 400.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.4132, allocations: 32 kB / 400.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/0.4173, allocations: 1.233 MB / 401.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005839/0.418, allocations: 219.4 kB / 402 MB, free: 9.887 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.4183, allocations: 169.3 kB / 402.2 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.4209, allocations: 0.9977 MB / 403.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4209, allocations: 0 / 403.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4209, allocations: 0 / 403.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.4209, allocations: 0 / 403.2 MB, free: 8.715 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002945/0.4239, allocations: 0.9895 MB / 404.2 MB, free: 7.676 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.424, allocations: 11.97 kB / 404.2 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002637/0.4242, allocations: 102.4 kB / 404.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.4255, allocations: 143 kB / 404.4 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.4268, allocations: 0.5005 MB / 404.9 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.427, allocations: 104.4 kB / 405 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.4272, allocations: 48 kB / 405.1 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.43, allocations: 0.8394 MB / 405.9 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.43, allocations: 0 / 405.9 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.4302, allocations: 24 kB / 405.9 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.4303, allocations: 40.92 kB / 406 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/0.4332, allocations: 0.6087 MB / 406.6 MB, free: 5.109 MB / 330.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.01008/0.4433, allocations: 4.632 MB / 411.2 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.445, allocations: 324.7 kB / 411.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004979/0.4455, allocations: 340.5 kB / 411.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.4456, allocations: 38.56 kB / 411.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.737e-06/0.4456, allocations: 0 / 411.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.008887/0.4545, allocations: 1.495 MB / 413.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.4546, allocations: 136.5 kB / 413.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.4563, allocations: 0.6368 MB / 414.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.4564, allocations: 33.7 kB / 414.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/0.4569, allocations: 440.6 kB / 414.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.4572, allocations: 134.2 kB / 414.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.4573, allocations: 16 kB / 414.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.4575, allocations: 346.8 kB / 415.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008315/0.4583, allocations: 201.9 kB / 415.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.4596, allocations: 0.5271 MB / 415.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.4607, allocations: 293.7 kB / 416.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.4608, allocations: 4 kB / 416.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003288/0.4641, allocations: 0.8548 MB / 417 MB, free: 9.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.4641, allocations: 8 kB / 417 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/0.4642, allocations: 12 kB / 417 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/0.467, allocations: 273.6 kB / 417.3 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.4681, allocations: 139.7 kB / 417.4 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.4705, allocations: 1.378 MB / 418.8 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.4719, allocations: 35.91 kB / 418.8 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.472, allocations: 51.98 kB / 418.9 MB, free: 8 MB / 346.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.0007033/0.4728, allocations: 249.5 kB / 419.1 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.473, allocations: 71.27 kB / 419.2 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.4762, allocations: 0.6134 MB / 419.8 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4762, allocations: 4 kB / 419.8 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4763, allocations: 0 / 419.8 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.4763, allocations: 0 / 419.8 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004287/0.4806, allocations: 1.199 MB / 421 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.4806, allocations: 0 / 421 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.481, allocations: 39.92 kB / 421 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/0.4829, allocations: 197.6 kB / 421.2 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.527e-05/0.483, allocations: 15.98 kB / 421.2 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.4852, allocations: 1.304 MB / 422.5 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.4853, allocations: 128 / 422.5 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/0.4887, allocations: 0.7866 MB / 423.3 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.4893, allocations: 192.3 kB / 423.5 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.4896, allocations: 8 kB / 423.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/0.4905, allocations: 23.89 kB / 423.6 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.4907, allocations: 28.03 kB / 423.6 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-05/0.4908, allocations: 19.98 kB / 423.6 MB, free: 3.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.492, allocations: 439 kB / 424 MB, free: 2.637 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.492, allocations: 3.938 kB / 424 MB, free: 2.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002012/0.494, allocations: 287.9 kB / 424.3 MB, free: 2.352 MB / 346.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.00482/0.4989, allocations: 1.573 MB / 425.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.5012, allocations: 0.5016 MB / 426.4 MB, free: 256 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/0.5012, allocations: 7.953 kB / 426.4 MB, free: 248 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.5024, allocations: 216 kB / 426.6 MB, free: 32 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/0.5056, allocations: 291.7 kB / 426.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.5165, allocations: 4.235 MB / 431.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/0.5173, allocations: 0.9419 MB / 432.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006261/0.5179, allocations: 247.3 kB / 432.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.518, allocations: 0 / 432.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.185/3.703, allocations: 20.12 MB / 452.4 MB, free: 5.988 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat