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.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004426, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3808, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5896/0.9705, allocations: 141.8 MB / 0.4991 GB, free: 12.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.986, allocations: 8.729 MB / 0.5076 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.9872, allocations: 26.09 kB / 0.5076 GB, free: 11.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.9886, allocations: 271 kB / 0.5079 GB, free: 11.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.9938, allocations: 1.18 MB / 0.509 GB, free: 10.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.9977, allocations: 0.9059 MB / 0.5099 GB, free: 10.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002465/1, allocations: 1.172 MB / 0.5111 GB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008504/1.001, allocations: 382.3 kB / 0.5114 GB, free: 10.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/1.004, allocations: 0.7378 MB / 0.5121 GB, free: 9.977 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/1.005, allocations: 457.6 kB / 0.5126 GB, free: 9.824 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/1.005, allocations: 30.88 kB / 0.5126 GB, free: 9.824 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/1.007, allocations: 0.6353 MB / 0.5132 GB, free: 9.711 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004669/1.008, allocations: 215.7 kB / 0.5134 GB, free: 9.637 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003518/1.008, allocations: 167.1 kB / 0.5136 GB, free: 9.582 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002249/1.011, allocations: 0.9819 MB / 0.5145 GB, free: 9.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.011, allocations: 0 / 0.5145 GB, free: 9.105 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.011, allocations: 0 / 0.5145 GB, free: 9.105 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/1.011, allocations: 0 / 0.5145 GB, free: 9.105 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.002904/1.014, allocations: 0.9906 MB / 0.5155 GB, free: 8.395 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.014, allocations: 7.969 kB / 0.5155 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/1.014, allocations: 102 kB / 0.5156 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/1.015, allocations: 133.8 kB / 0.5157 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/1.016, allocations: 0.4931 MB / 0.5162 GB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/1.016, allocations: 100.2 kB / 0.5163 GB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.016, allocations: 47.52 kB / 0.5164 GB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/1.018, allocations: 0.8236 MB / 0.5172 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/1.018, allocations: 3.938 kB / 0.5172 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/1.018, allocations: 26.38 kB / 0.5172 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.856e-05/1.019, allocations: 36.67 kB / 0.5172 GB, free: 7.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/1.02, allocations: 0.6233 MB / 0.5178 GB, free: 7.359 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.006661/1.027, allocations: 3.924 MB / 0.5217 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008533/1.028, allocations: 344.9 kB / 0.522 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/1.028, allocations: 27.59 kB / 0.522 GB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/1.028, allocations: 38.47 kB / 0.5221 GB, free: 4.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.715e-06/1.028, allocations: 4 kB / 0.5221 GB, free: 4.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.009072/1.037, allocations: 1.635 MB / 0.5237 GB, free: 3.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/1.037, allocations: 131.2 kB / 0.5238 GB, free: 3.367 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/1.038, allocations: 0.594 MB / 0.5244 GB, free: 3.141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/1.038, allocations: 38.77 kB / 0.5244 GB, free: 3.105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/1.039, allocations: 411.3 kB / 0.5248 GB, free: 2.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/1.039, allocations: 147.3 kB / 0.5249 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/1.039, allocations: 14.84 kB / 0.525 GB, free: 2.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/1.039, allocations: 337.8 kB / 0.5253 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/1.04, allocations: 202.9 kB / 0.5255 GB, free: 2.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008121/1.04, allocations: 0.5355 MB / 0.526 GB, free: 1.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007373/1.041, allocations: 294.4 kB / 0.5263 GB, free: 1.832 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/1.041, allocations: 2.938 kB / 0.5263 GB, free: 1.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002178/1.043, allocations: 0.8605 MB / 0.5271 GB, free: 1.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/1.043, allocations: 7.469 kB / 0.5271 GB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/1.043, allocations: 17.25 kB / 0.5271 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/1.046, allocations: 309.4 kB / 0.5274 GB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/1.047, allocations: 131.6 kB / 0.5276 GB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/1.048, allocations: 0.897 MB / 0.5284 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009247/1.049, allocations: 50.62 kB / 0.5285 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.049, allocations: 64 kB / 0.5286 GB, free: 0.8945 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.000517/1.05, allocations: 252.4 kB / 0.5288 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.05, allocations: 72.5 kB / 0.5289 GB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/1.052, allocations: 0.6788 MB / 0.5295 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.052, allocations: 12.77 kB / 0.5295 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.052, allocations: 4 kB / 0.5295 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.052, allocations: 0 / 0.5295 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/1.055, allocations: 1.26 MB / 0.5308 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.055, allocations: 7.031 kB / 0.5308 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/1.057, allocations: 207.5 kB / 0.531 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001321/1.057, allocations: 24.84 kB / 0.531 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/1.057, allocations: 20.73 kB / 0.531 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/1.06, allocations: 2.695 MB / 0.5337 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.06, allocations: 0 / 0.5337 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/1.062, allocations: 0.7968 MB / 0.5344 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/1.062, allocations: 181.6 kB / 0.5346 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/1.063, allocations: 11.19 kB / 0.5346 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/1.063, allocations: 25.64 kB / 0.5346 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.064, allocations: 43.56 kB / 0.5347 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.519e-05/1.064, allocations: 41.2 kB / 0.5347 GB, free: 12.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007231/1.064, allocations: 416.2 kB / 0.5351 GB, free: 12.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.064, allocations: 0 / 0.5351 GB, free: 12.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001397/1.066, allocations: 291.5 kB / 0.5354 GB, free: 12.42 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.003307/1.069, allocations: 1.615 MB / 0.537 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001804/1.071, allocations: 0.5564 MB / 0.5375 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.071, allocations: 1.906 kB / 0.5375 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/1.073, allocations: 398.5 kB / 0.5379 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/1.075, allocations: 320.3 kB / 0.5382 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.085, allocations: 4.278 MB / 0.5424 GB, free: 7.625 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/1.086, allocations: 0.9388 MB / 0.5433 GB, free: 6.676 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008872/1.087, allocations: 283 kB / 0.5436 GB, free: 6.551 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/1.087, allocations: 0 / 0.5436 GB, free: 6.551 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.168/4.255, allocations: 19.64 MB / 0.5627 GB, free: 3.082 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat