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.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004572, allocations: 8 kB / 314.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3433, allocations: 54.88 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6365/0.9799, allocations: 155.6 MB / 0.5125 GB, free: 10.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01933/0.9993, allocations: 10.58 MB / 0.5229 GB, free: 8.395 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/1.001, allocations: 22.66 kB / 0.5229 GB, free: 8.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/1.002, allocations: 347.4 kB / 0.5232 GB, free: 8.219 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008775/1.011, allocations: 1.981 MB / 0.5252 GB, free: 7.699 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007559/1.019, allocations: 1.716 MB / 0.5268 GB, free: 7.227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003106/1.022, allocations: 1.351 MB / 0.5282 GB, free: 6.965 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/1.023, allocations: 0.4911 MB / 0.5286 GB, free: 6.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00497/1.028, allocations: 1.388 MB / 0.53 GB, free: 6.371 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/1.03, allocations: 0.6082 MB / 0.5306 GB, free: 6.164 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002991/1.03, allocations: 44.84 kB / 0.5306 GB, free: 6.164 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/1.043, allocations: 4.499 MB / 0.535 GB, free: 5.059 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009475/1.044, allocations: 351.5 kB / 0.5354 GB, free: 4.934 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005266/1.045, allocations: 206 kB / 0.5356 GB, free: 4.875 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00733/1.052, allocations: 2.401 MB / 0.5379 GB, free: 3.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.052, allocations: 3.938 kB / 0.5379 GB, free: 3.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/1.052, allocations: 0 / 0.5379 GB, free: 3.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.352e-05/1.052, allocations: 0 / 0.5379 GB, free: 3.836 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005888/1.058, allocations: 1.535 MB / 0.5394 GB, free: 2.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.058, allocations: 12.47 kB / 0.5394 GB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004139/1.058, allocations: 128.1 kB / 0.5395 GB, free: 2.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005962/1.059, allocations: 111 kB / 0.5396 GB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/1.061, allocations: 0.5865 MB / 0.5402 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/1.061, allocations: 119.5 kB / 0.5403 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/1.061, allocations: 64.88 kB / 0.5404 GB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003426/1.065, allocations: 1.163 MB / 0.5415 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/1.065, allocations: 0 / 0.5415 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/1.065, allocations: 37.44 kB / 0.5416 GB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/1.065, allocations: 60.78 kB / 0.5416 GB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003781/1.069, allocations: 1.164 MB / 0.5428 GB, free: 236 kB / 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.01116/1.08, allocations: 5.006 MB / 0.5477 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/1.083, allocations: 0.7739 MB / 0.5484 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/1.085, allocations: 1.571 MB / 0.5499 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/1.085, allocations: 40.06 kB / 0.55 GB, free: 9.387 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 3.467e-06/1.085, allocations: 0 / 0.55 GB, free: 9.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.0244/1.109, allocations: 4.03 MB / 0.5539 GB, free: 6.191 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.109, allocations: 111.5 kB / 0.554 GB, free: 6.059 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/1.111, allocations: 0.6171 MB / 0.5546 GB, free: 5.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003235/1.111, allocations: 46.14 kB / 0.5547 GB, free: 5.531 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/1.111, allocations: 428.1 kB / 0.5551 GB, free: 5.195 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005201/1.112, allocations: 286.6 kB / 0.5553 GB, free: 4.957 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/1.112, allocations: 22.56 kB / 0.5554 GB, free: 4.953 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/1.112, allocations: 354.4 kB / 0.5557 GB, free: 4.613 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/1.114, allocations: 474.6 kB / 0.5562 GB, free: 4.301 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/1.116, allocations: 0.794 MB / 0.5569 GB, free: 3.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/1.118, allocations: 0.5797 MB / 0.5575 GB, free: 3.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.118, allocations: 4 kB / 0.5575 GB, free: 3.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005645/1.124, allocations: 1.636 MB / 0.5591 GB, free: 2.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/1.124, allocations: 12 kB / 0.5591 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/1.124, allocations: 8 kB / 0.5591 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/1.138, allocations: 1.379 MB / 0.5605 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.139, allocations: 170 kB / 0.5606 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004363/1.143, allocations: 1.505 MB / 0.5621 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/1.145, allocations: 89.62 kB / 0.5622 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/1.145, allocations: 64.88 kB / 0.5622 GB, free: 15.25 MB / 442.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.0006955/1.146, allocations: 309.4 kB / 0.5625 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/1.146, allocations: 83.05 kB / 0.5626 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005498/1.152, allocations: 1.607 MB / 0.5642 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.152, allocations: 8 kB / 0.5642 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.152, allocations: 0 / 0.5642 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.152, allocations: 7.984 kB / 0.5642 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006714/1.158, allocations: 2.484 MB / 0.5666 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/1.158, allocations: 0 / 0.5666 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/1.161, allocations: 266 kB / 0.5669 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003575/1.165, allocations: 398.2 kB / 0.5673 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/1.165, allocations: 34.16 kB / 0.5673 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004/1.169, allocations: 2.269 MB / 0.5695 GB, free: 9.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.169, allocations: 4.031 kB / 0.5695 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006089/1.175, allocations: 1.956 MB / 0.5714 GB, free: 7.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007542/1.176, allocations: 296 kB / 0.5717 GB, free: 7.414 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/1.176, allocations: 22.12 kB / 0.5717 GB, free: 7.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/1.177, allocations: 72.28 kB / 0.5718 GB, free: 7.348 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/1.178, allocations: 62.75 kB / 0.5719 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.178, allocations: 51.77 kB / 0.5719 GB, free: 7.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008306/1.179, allocations: 452.7 kB / 0.5723 GB, free: 6.914 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.179, allocations: 3.938 kB / 0.5723 GB, free: 6.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002637/1.181, allocations: 0.6929 MB / 0.573 GB, free: 6.277 MB / 442.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.009441/1.191, allocations: 3.268 MB / 0.5762 GB, free: 3.641 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004239/1.195, allocations: 1.214 MB / 0.5774 GB, free: 2.762 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.195, allocations: 4.438 kB / 0.5774 GB, free: 2.758 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00289/1.198, allocations: 0.6886 MB / 0.5781 GB, free: 2.242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.202, allocations: 419.2 kB / 0.5785 GB, free: 1.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/1.221, allocations: 6.699 MB / 0.585 GB, free: 11.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009176/1.222, allocations: 1.054 MB / 0.586 GB, free: 10.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.223, allocations: 355.3 kB / 0.5864 GB, free: 10.38 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/1.223, allocations: 1.859 kB / 0.5864 GB, free: 10.38 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.679/4.903, allocations: 32.16 MB / 0.6178 GB, free: 10.19 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.MoistAir_res.mat does not exist to compare? outputFormat=mat