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.Air.DryAirNasa.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.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004419, allocations: 12 kB / 314.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3389, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.612/0.9509, allocations: 141.8 MB / 0.4991 GB, free: 12.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.9666, allocations: 8.73 MB / 0.5076 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.9679, allocations: 22.06 kB / 0.5076 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.9695, allocations: 274.5 kB / 0.5079 GB, free: 11.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.9757, allocations: 1.183 MB / 0.509 GB, free: 10.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.9797, allocations: 0.9014 MB / 0.5099 GB, free: 10.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.9822, allocations: 1.171 MB / 0.5111 GB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008157/0.983, allocations: 373.5 kB / 0.5114 GB, free: 10.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.9854, allocations: 0.7413 MB / 0.5121 GB, free: 10 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.9865, allocations: 456.8 kB / 0.5126 GB, free: 9.852 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.9867, allocations: 30.97 kB / 0.5126 GB, free: 9.852 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.9891, allocations: 0.6339 MB / 0.5132 GB, free: 9.746 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004393/0.9896, allocations: 219.6 kB / 0.5134 GB, free: 9.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.99, allocations: 162.8 kB / 0.5136 GB, free: 9.609 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.9921, allocations: 0.9884 MB / 0.5145 GB, free: 9.129 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.9922, allocations: 0 / 0.5145 GB, free: 9.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9922, allocations: 0 / 0.5145 GB, free: 9.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.9922, allocations: 3.938 kB / 0.5146 GB, free: 9.125 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.002935/0.9951, allocations: 0.9812 MB / 0.5155 GB, free: 8.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.9952, allocations: 10.88 kB / 0.5155 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002059/0.9954, allocations: 104.1 kB / 0.5156 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.9965, allocations: 137.9 kB / 0.5158 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.9978, allocations: 0.4914 MB / 0.5162 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.9979, allocations: 100 kB / 0.5163 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.9981, allocations: 51.03 kB / 0.5164 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/1, allocations: 0.8167 MB / 0.5172 GB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/1, allocations: 6.625 kB / 0.5172 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1, allocations: 24.62 kB / 0.5172 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.139e-05/1, allocations: 33.8 kB / 0.5172 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/1.002, allocations: 0.6213 MB / 0.5178 GB, free: 7.387 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.006808/1.009, allocations: 3.932 MB / 0.5217 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008668/1.01, allocations: 338.7 kB / 0.522 GB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/1.01, allocations: 37.42 kB / 0.522 GB, free: 4.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.01, allocations: 35.59 kB / 0.5221 GB, free: 4.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.226e-06/1.01, allocations: 3.25 kB / 0.5221 GB, free: 4.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.00916/1.019, allocations: 1.633 MB / 0.5237 GB, free: 3.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/1.019, allocations: 135.2 kB / 0.5238 GB, free: 3.391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009801/1.02, allocations: 0.5916 MB / 0.5244 GB, free: 3.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.245e-05/1.02, allocations: 31.89 kB / 0.5244 GB, free: 3.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/1.021, allocations: 421.6 kB / 0.5248 GB, free: 2.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/1.021, allocations: 144.8 kB / 0.5249 GB, free: 2.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/1.021, allocations: 12.56 kB / 0.525 GB, free: 2.738 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/1.021, allocations: 339.7 kB / 0.5253 GB, free: 2.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/1.022, allocations: 200 kB / 0.5255 GB, free: 2.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/1.022, allocations: 0.534 MB / 0.526 GB, free: 1.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007436/1.023, allocations: 299.3 kB / 0.5263 GB, free: 1.852 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.023, allocations: 4.906 kB / 0.5263 GB, free: 1.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002141/1.025, allocations: 0.8462 MB / 0.5271 GB, free: 1.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.025, allocations: 11.75 kB / 0.5271 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.025, allocations: 11 kB / 0.5271 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/1.028, allocations: 316.3 kB / 0.5274 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/1.029, allocations: 133.2 kB / 0.5276 GB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/1.03, allocations: 0.9009 MB / 0.5284 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/1.031, allocations: 52.31 kB / 0.5285 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.031, allocations: 67.61 kB / 0.5286 GB, free: 0.9141 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.0005491/1.032, allocations: 250.4 kB / 0.5288 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/1.032, allocations: 68.78 kB / 0.5289 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/1.035, allocations: 0.6878 MB / 0.5295 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.035, allocations: 8.078 kB / 0.5295 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.035, allocations: 3.156 kB / 0.5295 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/1.035, allocations: 4 kB / 0.5295 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/1.038, allocations: 1.256 MB / 0.5308 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.038, allocations: 0 / 0.5308 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/1.04, allocations: 211.5 kB / 0.531 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/1.04, allocations: 28.56 kB / 0.531 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/1.04, allocations: 19.52 kB / 0.531 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/1.043, allocations: 2.69 MB / 0.5337 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.043, allocations: 7.188 kB / 0.5337 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/1.045, allocations: 0.792 MB / 0.5344 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/1.045, allocations: 183.8 kB / 0.5346 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/1.045, allocations: 9.562 kB / 0.5346 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/1.046, allocations: 31.52 kB / 0.5346 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.046, allocations: 42.62 kB / 0.5347 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-05/1.046, allocations: 44.62 kB / 0.5347 GB, free: 12.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007443/1.047, allocations: 412.4 kB / 0.5351 GB, free: 12.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.047, allocations: 0 / 0.5351 GB, free: 12.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001406/1.048, allocations: 292.7 kB / 0.5354 GB, free: 12.43 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.003473/1.052, allocations: 1.601 MB / 0.537 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001836/1.054, allocations: 0.5539 MB / 0.5375 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.054, allocations: 1.438 kB / 0.5375 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/1.055, allocations: 405.2 kB / 0.5379 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.058, allocations: 322.8 kB / 0.5382 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.068, allocations: 4.29 MB / 0.5424 GB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/1.069, allocations: 0.9386 MB / 0.5433 GB, free: 6.699 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/1.07, allocations: 282.5 kB / 0.5436 GB, free: 6.574 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/1.07, allocations: 0 / 0.5436 GB, free: 6.574 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.236/4.306, allocations: 19.63 MB / 0.5627 GB, free: 3.121 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat