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.262/2.262, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006086/0.0006085, allocations: 15.98 kB / 314.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3878, allocations: 54.84 MB / 369.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.82/2.208, allocations: 0.6368 GB / 0.9975 GB, free: 58.61 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/2.208, allocations: 107.7 kB / 0.9976 GB, free: 58.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172/3.381, allocations: 230.1 MB / 1.222 GB, free: 31.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.307e-06/3.381, allocations: 0 / 1.222 GB, free: 31.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.207e-05/3.381, allocations: 20 kB / 1.222 GB, free: 31.04 MB / 490.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.004636/3.385, allocations: 1.24 MB / 1.224 GB, free: 29.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/3.386, allocations: 8.031 kB / 1.224 GB, free: 29.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003392/3.386, allocations: 98.52 kB / 1.224 GB, free: 29.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/3.387, allocations: 131.1 kB / 1.224 GB, free: 29.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/3.389, allocations: 0.5597 MB / 1.224 GB, free: 28.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/3.389, allocations: 104.4 kB / 1.224 GB, free: 28.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/3.39, allocations: 44 kB / 1.224 GB, free: 28.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/3.391, allocations: 0.8014 MB / 1.225 GB, free: 27.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/3.392, allocations: 7.938 kB / 1.225 GB, free: 27.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/3.392, allocations: 23.98 kB / 1.225 GB, free: 27.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.502e-05/3.392, allocations: 48.97 kB / 1.225 GB, free: 27.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/3.393, allocations: 0.6127 MB / 1.226 GB, free: 27.18 MB / 490.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.006502/3.4, allocations: 3.914 MB / 1.23 GB, free: 23.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/3.401, allocations: 339.3 kB / 1.23 GB, free: 22.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/3.401, allocations: 28.92 kB / 1.23 GB, free: 22.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/3.401, allocations: 42.83 kB / 1.23 GB, free: 22.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.326e-06/3.401, allocations: 0 / 1.23 GB, free: 22.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.009418/3.411, allocations: 1.619 MB / 1.232 GB, free: 20.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/3.411, allocations: 136.5 kB / 1.232 GB, free: 20.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009309/3.412, allocations: 0.5304 MB / 1.232 GB, free: 20.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/3.412, allocations: 29.7 kB / 1.232 GB, free: 20.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/3.412, allocations: 405.1 kB / 1.233 GB, free: 19.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/3.412, allocations: 146 kB / 1.233 GB, free: 19.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/3.412, allocations: 16 kB / 1.233 GB, free: 19.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/3.412, allocations: 342.8 kB / 1.233 GB, free: 19.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/3.413, allocations: 201.9 kB / 1.233 GB, free: 19.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007263/3.414, allocations: 0.5276 MB / 1.234 GB, free: 18.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000716/3.414, allocations: 291.5 kB / 1.234 GB, free: 18.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/3.414, allocations: 8 kB / 1.234 GB, free: 18.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002121/3.417, allocations: 0.8495 MB / 1.235 GB, free: 17.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/3.417, allocations: 15.98 kB / 1.235 GB, free: 17.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/3.417, allocations: 8 kB / 1.235 GB, free: 17.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/3.419, allocations: 306.7 kB / 1.235 GB, free: 16.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/3.42, allocations: 131.8 kB / 1.236 GB, free: 16.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/3.421, allocations: 0.9074 MB / 1.236 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/3.423, allocations: 39.98 kB / 1.236 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/3.423, allocations: 71.98 kB / 1.237 GB, free: 15.73 MB / 490.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.0005617/3.423, allocations: 253.5 kB / 1.237 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/3.423, allocations: 67.23 kB / 1.237 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/3.426, allocations: 0.6623 MB / 1.237 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/3.426, allocations: 11.98 kB / 1.237 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/3.426, allocations: 4 kB / 1.237 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/3.426, allocations: 0 / 1.237 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/3.429, allocations: 1.247 MB / 1.239 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/3.429, allocations: 0 / 1.239 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/3.431, allocations: 207.7 kB / 1.239 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001558/3.431, allocations: 28.83 kB / 1.239 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/3.431, allocations: 20 kB / 1.239 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/3.433, allocations: 2.692 MB / 1.242 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/3.433, allocations: 3.938 kB / 1.242 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/3.435, allocations: 0.8529 MB / 1.242 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/3.436, allocations: 188.2 kB / 1.243 GB, free: 9.016 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/3.436, allocations: 8 kB / 1.243 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/3.437, allocations: 31.97 kB / 1.243 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/3.437, allocations: 43.97 kB / 1.243 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/3.437, allocations: 39.98 kB / 1.243 GB, free: 8.895 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007478/3.438, allocations: 415 kB / 1.243 GB, free: 8.496 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/3.438, allocations: 0 / 1.243 GB, free: 8.496 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002105/3.44, allocations: 379.8 kB / 1.243 GB, free: 8.125 MB / 490.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.004575/3.445, allocations: 2.696 MB / 1.246 GB, free: 5.379 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/3.447, allocations: 0.5428 MB / 1.247 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/3.447, allocations: 0 / 1.247 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/3.448, allocations: 391 kB / 1.247 GB, free: 4.445 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/3.451, allocations: 321.8 kB / 1.247 GB, free: 4.129 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3719/3.823, allocations: 12.94 MB / 1.26 GB, free: 85.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/3.823, allocations: 0.9401 MB / 1.261 GB, free: 84.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009179/3.824, allocations: 280.6 kB / 1.261 GB, free: 84.44 MB / 490.7 MB Notification: Performance of SimCode: time 1.834e-06/3.824, allocations: 0 / 1.261 GB, free: 84.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.435/7.259, allocations: 23.69 MB / 1.284 GB, free: 84.11 MB / 490.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