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.35/2.35, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.548e-05, allocations: 0 / 309.8 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4025, allocations: 54.85 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.84/2.242, allocations: 0.6367 GB / 0.9928 GB, free: 92.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/2.243, allocations: 96.11 kB / 0.9928 GB, free: 92.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145/3.388, allocations: 229.6 MB / 1.217 GB, free: 66.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.492e-06/3.388, allocations: 0 / 1.217 GB, free: 66.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.044e-05/3.388, allocations: 20.19 kB / 1.217 GB, free: 66.48 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.003556/3.391, allocations: 1.154 MB / 1.218 GB, free: 65.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/3.391, allocations: 8.031 kB / 1.218 GB, free: 65.28 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/3.392, allocations: 102.5 kB / 1.218 GB, free: 65.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/3.393, allocations: 143 kB / 1.218 GB, free: 65.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/3.394, allocations: 0.5404 MB / 1.219 GB, free: 64.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/3.395, allocations: 100.4 kB / 1.219 GB, free: 64.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/3.395, allocations: 51.91 kB / 1.219 GB, free: 64.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/3.396, allocations: 0.8066 MB / 1.22 GB, free: 63.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/3.396, allocations: 0 / 1.22 GB, free: 63.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/3.397, allocations: 20 kB / 1.22 GB, free: 63.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.004e-05/3.397, allocations: 44.88 kB / 1.22 GB, free: 63.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/3.398, allocations: 0.605 MB / 1.221 GB, free: 62.73 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005744/3.404, allocations: 3.906 MB / 1.224 GB, free: 58.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/3.405, allocations: 315.3 kB / 1.225 GB, free: 58.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/3.405, allocations: 165.4 kB / 1.225 GB, free: 58.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/3.405, allocations: 29.27 kB / 1.225 GB, free: 58.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/3.405, allocations: 42.84 kB / 1.225 GB, free: 58.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.396e-06/3.405, allocations: 0 / 1.225 GB, free: 58.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008114/3.413, allocations: 1.493 MB / 1.226 GB, free: 56.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/3.413, allocations: 140.5 kB / 1.226 GB, free: 56.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/3.414, allocations: 0.5226 MB / 1.227 GB, free: 55.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/3.414, allocations: 37.7 kB / 1.227 GB, free: 55.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/3.415, allocations: 401.2 kB / 1.227 GB, free: 55.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/3.415, allocations: 153.9 kB / 1.228 GB, free: 55.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/3.415, allocations: 12 kB / 1.228 GB, free: 55.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.981e-05/3.415, allocations: 338.8 kB / 1.228 GB, free: 54.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/3.415, allocations: 193.5 kB / 1.228 GB, free: 54.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/3.416, allocations: 0.5215 MB / 1.229 GB, free: 53.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/3.417, allocations: 296 kB / 1.229 GB, free: 53.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/3.417, allocations: 4 kB / 1.229 GB, free: 53.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001893/3.419, allocations: 0.8333 MB / 1.23 GB, free: 52.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/3.419, allocations: 9.25 kB / 1.23 GB, free: 52.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/3.419, allocations: 12 kB / 1.23 GB, free: 52.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/3.421, allocations: 309.5 kB / 1.23 GB, free: 52.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/3.422, allocations: 127.8 kB / 1.23 GB, free: 52.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/3.423, allocations: 0.8968 MB / 1.231 GB, free: 51.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009909/3.424, allocations: 44.05 kB / 1.231 GB, free: 51.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/3.424, allocations: 67.98 kB / 1.231 GB, free: 51.31 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 () * 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.0002152/3.424, allocations: 156.7 kB / 1.231 GB, free: 51.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/3.424, allocations: 71.11 kB / 1.231 GB, free: 51.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/3.427, allocations: 0.6664 MB / 1.232 GB, free: 50.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/3.427, allocations: 4 kB / 1.232 GB, free: 50.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/3.427, allocations: 0 / 1.232 GB, free: 50.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/3.427, allocations: 0 / 1.232 GB, free: 50.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/3.429, allocations: 1.254 MB / 1.233 GB, free: 49.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/3.429, allocations: 4 kB / 1.233 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/3.431, allocations: 207.9 kB / 1.233 GB, free: 48.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001358/3.431, allocations: 24.84 kB / 1.233 GB, free: 48.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-05/3.431, allocations: 27.94 kB / 1.233 GB, free: 48.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/3.433, allocations: 2.68 MB / 1.236 GB, free: 45.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/3.433, allocations: 0 / 1.236 GB, free: 45.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/3.435, allocations: 0.8349 MB / 1.237 GB, free: 44.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/3.435, allocations: 184.2 kB / 1.237 GB, free: 44.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/3.436, allocations: 11.98 kB / 1.237 GB, free: 44.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/3.436, allocations: 24.05 kB / 1.237 GB, free: 44.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/3.437, allocations: 39.95 kB / 1.237 GB, free: 44.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.014e-05/3.437, allocations: 43.98 kB / 1.237 GB, free: 44.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006866/3.437, allocations: 403.2 kB / 1.238 GB, free: 44.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/3.437, allocations: 4 kB / 1.238 GB, free: 44.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001775/3.439, allocations: 383.8 kB / 1.238 GB, free: 43.85 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 () * 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.004144/3.443, allocations: 2.678 MB / 1.241 GB, free: 41.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/3.445, allocations: 0.5395 MB / 1.241 GB, free: 40.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/3.445, allocations: 0 / 1.241 GB, free: 40.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/3.446, allocations: 402.8 kB / 1.241 GB, free: 40.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/3.449, allocations: 314.1 kB / 1.242 GB, free: 39.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/3.46, allocations: 2.649 MB / 1.244 GB, free: 37.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/3.461, allocations: 0.9416 MB / 1.245 GB, free: 36.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008487/3.462, allocations: 279.3 kB / 1.246 GB, free: 35.92 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/3.462, allocations: 0 / 1.246 GB, free: 35.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.272/6.734, allocations: 23.58 MB / 1.269 GB, free: 12.33 MB / 490.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