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.Air.DryAirNasa.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.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.979/1.979, allocations: 209.2 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004504, allocations: 12 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3819, allocations: 48.7 MB / 331.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2762/0.6581, allocations: 141.7 MB / 473 MB, free: 428 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4023/1.061, allocations: 8.701 MB / 481.7 MB, free: 2.895 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/1.062, allocations: 24.44 kB / 481.7 MB, free: 2.895 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/1.063, allocations: 270.4 kB / 482 MB, free: 2.895 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005055/1.068, allocations: 1.186 MB / 483.2 MB, free: 2.867 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004125/1.072, allocations: 0.9009 MB / 484.1 MB, free: 2.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002651/1.075, allocations: 1.168 MB / 485.3 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008151/1.075, allocations: 386.8 kB / 485.6 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/1.078, allocations: 0.7375 MB / 486.4 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/1.08, allocations: 462.5 kB / 486.8 MB, free: 2.793 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002289/1.08, allocations: 32.59 kB / 486.9 MB, free: 2.793 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/1.083, allocations: 0.6278 MB / 487.5 MB, free: 2.793 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006331/1.084, allocations: 220.3 kB / 487.7 MB, free: 2.793 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005077/1.084, allocations: 160.8 kB / 487.9 MB, free: 2.762 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002647/1.087, allocations: 0.9955 MB / 488.9 MB, free: 2.691 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/1.087, allocations: 0 / 488.9 MB, free: 2.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.087, allocations: 0.8125 kB / 488.9 MB, free: 2.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.162e-05/1.087, allocations: 0 / 488.9 MB, free: 2.691 MB / 394.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.0035/1.091, allocations: 0.9787 MB / 489.8 MB, free: 18.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/1.091, allocations: 13.17 kB / 489.9 MB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002635/1.091, allocations: 100.8 kB / 490 MB, free: 18.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/1.092, allocations: 129.7 kB / 490.1 MB, free: 18.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/1.094, allocations: 0.4916 MB / 490.6 MB, free: 17.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/1.094, allocations: 106.5 kB / 490.7 MB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/1.094, allocations: 46.84 kB / 490.7 MB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/1.096, allocations: 0.8134 MB / 491.5 MB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/1.096, allocations: 6.906 kB / 491.5 MB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.096, allocations: 22.47 kB / 491.6 MB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.718e-05/1.096, allocations: 41.28 kB / 491.6 MB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/1.098, allocations: 0.6144 MB / 492.2 MB, free: 17.46 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.006844/1.104, allocations: 3.94 MB / 496.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008919/1.105, allocations: 345.7 kB / 496.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/1.106, allocations: 26.77 kB / 496.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/1.106, allocations: 38.62 kB / 496.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.396e-06/1.106, allocations: 0 / 496.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.00928/1.115, allocations: 1.643 MB / 498.2 MB, free: 14.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/1.115, allocations: 134.4 kB / 498.3 MB, free: 14.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/1.116, allocations: 0.6006 MB / 498.9 MB, free: 13.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/1.116, allocations: 35.52 kB / 499 MB, free: 13.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/1.116, allocations: 405.7 kB / 499.4 MB, free: 13.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/1.117, allocations: 149.6 kB / 499.5 MB, free: 13.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/1.117, allocations: 14.19 kB / 499.5 MB, free: 13.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/1.117, allocations: 342.7 kB / 499.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/1.117, allocations: 199.2 kB / 0.4883 GB, free: 13.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/1.118, allocations: 0.5368 MB / 0.4889 GB, free: 12.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/1.119, allocations: 298.5 kB / 0.4891 GB, free: 12.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/1.119, allocations: 3.062 kB / 0.4891 GB, free: 12.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002116/1.121, allocations: 0.8533 MB / 0.49 GB, free: 12.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/1.121, allocations: 11.38 kB / 0.49 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/1.121, allocations: 18.22 kB / 0.49 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002256/1.123, allocations: 311.2 kB / 0.4903 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/1.124, allocations: 136.2 kB / 0.4904 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/1.126, allocations: 0.8909 MB / 0.4913 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.127, allocations: 49.72 kB / 0.4913 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.127, allocations: 68.67 kB / 0.4914 GB, free: 12.18 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.0005132/1.128, allocations: 255.8 kB / 0.4917 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.128, allocations: 67.91 kB / 0.4917 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/1.13, allocations: 0.6613 MB / 0.4924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/1.13, allocations: 6.125 kB / 0.4924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.13, allocations: 0 / 0.4924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.13, allocations: 3.094 kB / 0.4924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/1.133, allocations: 1.263 MB / 0.4936 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.133, allocations: 3.219 kB / 0.4936 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/1.135, allocations: 214.1 kB / 0.4938 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/1.135, allocations: 25.5 kB / 0.4938 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/1.135, allocations: 17.12 kB / 0.4939 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/1.138, allocations: 2.703 MB / 0.4965 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.138, allocations: 0 / 0.4965 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/1.14, allocations: 0.8036 MB / 0.4973 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/1.14, allocations: 177.9 kB / 0.4975 GB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/1.141, allocations: 5.531 kB / 0.4975 GB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/1.141, allocations: 27.31 kB / 0.4975 GB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.142, allocations: 45.45 kB / 0.4975 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.351e-05/1.142, allocations: 40.14 kB / 0.4976 GB, free: 8.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007422/1.142, allocations: 413.1 kB / 0.498 GB, free: 8.391 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.142, allocations: 0 / 0.498 GB, free: 8.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001537/1.144, allocations: 297.1 kB / 0.4982 GB, free: 8.367 MB / 410.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.003499/1.147, allocations: 1.595 MB / 0.4998 GB, free: 7.574 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001811/1.149, allocations: 0.5569 MB / 0.5003 GB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.149, allocations: 0 / 0.5003 GB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/1.151, allocations: 395 kB / 0.5007 GB, free: 7.441 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/1.154, allocations: 325.1 kB / 0.501 GB, free: 7.406 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009976/1.164, allocations: 4.283 MB / 0.5052 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/1.164, allocations: 0.9425 MB / 0.5061 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009276/1.165, allocations: 276.7 kB / 0.5064 GB, free: 4.785 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/1.165, allocations: 0 / 0.5064 GB, free: 4.785 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.433/4.598, allocations: 19.64 MB / 0.5256 GB, free: 6.898 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat