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.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.971/1.971, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004318, allocations: 8 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3724, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6611/1.034, allocations: 155.4 MB / 486.7 MB, free: 2.441 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01921/1.053, allocations: 10.51 MB / 497.2 MB, free: 2.293 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/1.054, allocations: 25.09 kB / 497.3 MB, free: 2.293 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/1.056, allocations: 333.7 kB / 497.6 MB, free: 2.289 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008907/1.065, allocations: 1.98 MB / 499.6 MB, free: 2.254 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007367/1.072, allocations: 1.71 MB / 0.4895 GB, free: 2.219 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002928/1.075, allocations: 1.341 MB / 0.4908 GB, free: 2.203 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/1.076, allocations: 0.4946 MB / 0.4913 GB, free: 2.148 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004685/1.081, allocations: 1.374 MB / 0.4927 GB, free: 2.125 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/1.083, allocations: 0.6024 MB / 0.4933 GB, free: 2.125 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002689/1.083, allocations: 47.22 kB / 0.4933 GB, free: 2.125 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/1.095, allocations: 4.446 MB / 0.4976 GB, free: 2.121 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000885/1.096, allocations: 340 kB / 0.498 GB, free: 2.121 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004731/1.097, allocations: 211.1 kB / 0.4982 GB, free: 2.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007021/1.104, allocations: 2.407 MB / 0.5005 GB, free: 1.191 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.104, allocations: 0 / 0.5005 GB, free: 1.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.256e-06/1.104, allocations: 0 / 0.5005 GB, free: 1.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.698e-05/1.104, allocations: 2.906 kB / 0.5005 GB, free: 1.191 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005714/1.109, allocations: 1.529 MB / 0.502 GB, free: 16.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.109, allocations: 9.969 kB / 0.502 GB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003771/1.11, allocations: 126.7 kB / 0.5021 GB, free: 16.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/1.11, allocations: 115.4 kB / 0.5023 GB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/1.112, allocations: 0.5829 MB / 0.5028 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/1.112, allocations: 113.3 kB / 0.5029 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/1.112, allocations: 74.03 kB / 0.503 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/1.115, allocations: 1.16 MB / 0.5041 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.334e-05/1.115, allocations: 6.844 kB / 0.5041 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/1.116, allocations: 34.47 kB / 0.5042 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/1.116, allocations: 61.19 kB / 0.5042 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002989/1.119, allocations: 1.166 MB / 0.5054 GB, free: 15.01 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.01045/1.129, allocations: 4.747 MB / 0.51 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/1.132, allocations: 0.7785 MB / 0.5108 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001895/1.134, allocations: 1.562 MB / 0.5123 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/1.134, allocations: 44.78 kB / 0.5123 GB, free: 10.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 4.699e-06/1.134, allocations: 0 / 0.5123 GB, free: 10.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=81): time 0.02474/1.159, allocations: 4.029 MB / 0.5163 GB, free: 8.898 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/1.159, allocations: 112.4 kB / 0.5164 GB, free: 8.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.16, allocations: 0.6194 MB / 0.517 GB, free: 8.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003056/1.16, allocations: 44.59 kB / 0.517 GB, free: 8.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/1.161, allocations: 432.7 kB / 0.5174 GB, free: 8.203 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004414/1.161, allocations: 282.8 kB / 0.5177 GB, free: 8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/1.161, allocations: 21.56 kB / 0.5177 GB, free: 8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/1.162, allocations: 349.9 kB / 0.5181 GB, free: 7.676 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/1.163, allocations: 479.7 kB / 0.5185 GB, free: 7.598 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/1.165, allocations: 0.7939 MB / 0.5193 GB, free: 7.129 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/1.168, allocations: 0.5822 MB / 0.5199 GB, free: 7.043 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/1.168, allocations: 2.219 kB / 0.5199 GB, free: 7.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005775/1.173, allocations: 1.638 MB / 0.5215 GB, free: 6.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/1.174, allocations: 17.69 kB / 0.5215 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/1.174, allocations: 13.09 kB / 0.5215 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01415/1.188, allocations: 1.373 MB / 0.5228 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/1.189, allocations: 166 kB / 0.523 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004707/1.194, allocations: 1.505 MB / 0.5245 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.196, allocations: 96.67 kB / 0.5246 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/1.196, allocations: 59.61 kB / 0.5246 GB, free: 4.301 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0008255/1.197, allocations: 305.6 kB / 0.5249 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/1.197, allocations: 79.06 kB / 0.525 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006105/1.203, allocations: 1.62 MB / 0.5266 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1.203, allocations: 12 kB / 0.5266 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.204, allocations: 0 / 0.5266 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/1.204, allocations: 3.984 kB / 0.5266 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007651/1.211, allocations: 2.47 MB / 0.529 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.211, allocations: 4 kB / 0.529 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002715/1.214, allocations: 257.9 kB / 0.5292 GB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/1.218, allocations: 401.4 kB / 0.5296 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002559/1.218, allocations: 37.19 kB / 0.5297 GB, free: 432 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/1.222, allocations: 2.272 MB / 0.5319 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.222, allocations: 32 / 0.5319 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006683/1.229, allocations: 1.953 MB / 0.5338 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009494/1.23, allocations: 295.1 kB / 0.5341 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/1.23, allocations: 21.5 kB / 0.5341 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.232, allocations: 79.47 kB / 0.5342 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/1.232, allocations: 64.17 kB / 0.5342 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.232, allocations: 50.34 kB / 0.5343 GB, free: 12.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009403/1.233, allocations: 453.3 kB / 0.5347 GB, free: 12.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.233, allocations: 0 / 0.5347 GB, free: 12.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003386/1.237, allocations: 0.6901 MB / 0.5354 GB, free: 11.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01055/1.247, allocations: 3.267 MB / 0.5386 GB, free: 8.766 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005849/1.253, allocations: 1.216 MB / 0.5398 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/1.253, allocations: 0 / 0.5398 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004022/1.257, allocations: 0.6889 MB / 0.5404 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/1.262, allocations: 433.8 kB / 0.5408 GB, free: 7.074 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/1.291, allocations: 6.696 MB / 0.5474 GB, free: 1.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009625/1.292, allocations: 1.051 MB / 0.5484 GB, free: 340 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.293, allocations: 353.5 kB / 0.5487 GB, free: 208 kB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/1.293, allocations: 0 / 0.5487 GB, free: 208 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.83/5.123, allocations: 32.18 MB / 0.5802 GB, free: 232 kB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat