Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01191/0.01191, allocations: 108 kB / 15.06 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001162/0.001162, allocations: 188.4 kB / 15.95 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.053/2.053, allocations: 194.5 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2684/0.2684, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004697, allocations: 12 kB / 361.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1131, allocations: 54.87 MB / 416 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5233/0.6365, allocations: 125.2 MB / 0.5286 GB, free: 9.262 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.6478, allocations: 4.877 MB / 0.5334 GB, free: 4.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.6489, allocations: 27.75 kB / 0.5334 GB, free: 4.355 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.6505, allocations: 282.6 kB / 0.5336 GB, free: 4.078 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.6537, allocations: 0.7113 MB / 0.5343 GB, free: 3.367 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.6577, allocations: 0.8191 MB / 0.5351 GB, free: 2.547 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.6603, allocations: 1.028 MB / 0.5361 GB, free: 1.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.6615, allocations: 381.3 kB / 0.5365 GB, free: 1.141 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.6635, allocations: 0.5569 MB / 0.5371 GB, free: 0.582 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.6651, allocations: 486.4 kB / 0.5375 GB, free: 108 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.6654, allocations: 32 kB / 0.5375 GB, free: 76 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.6673, allocations: 431.5 kB / 0.538 GB, free: 15.65 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004992/0.6678, allocations: 215.4 kB / 0.5382 GB, free: 15.44 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.6681, allocations: 161.4 kB / 0.5383 GB, free: 15.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.67, allocations: 0.8014 MB / 0.5391 GB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.67, allocations: 0 / 0.5391 GB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.67, allocations: 0 / 0.5391 GB, free: 14.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.67, allocations: 0 / 0.5391 GB, free: 14.48 MB / 426.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.002782/0.6728, allocations: 0.9192 MB / 0.54 GB, free: 13.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.6729, allocations: 8.031 kB / 0.54 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002321/0.6731, allocations: 102.5 kB / 0.5401 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005364/0.6737, allocations: 91.14 kB / 0.5402 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.675, allocations: 0.499 MB / 0.5407 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.6752, allocations: 108.3 kB / 0.5408 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.6754, allocations: 51.94 kB / 0.5408 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.6775, allocations: 0.7994 MB / 0.5416 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.6776, allocations: 7.938 kB / 0.5416 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.6777, allocations: 20 kB / 0.5416 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.933e-05/0.6778, allocations: 44.97 kB / 0.5417 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.6796, allocations: 0.6439 MB / 0.5423 GB, free: 11.01 MB / 426.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.007553/0.6872, allocations: 3.959 MB / 0.5462 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.6885, allocations: 412.8 kB / 0.5466 GB, free: 6.352 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003076/0.6916, allocations: 1.671 MB / 0.5482 GB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.6917, allocations: 42.56 kB / 0.5482 GB, free: 4.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.106e-06/0.6917, allocations: 0 / 0.5482 GB, free: 4.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.004723/0.6964, allocations: 1.44 MB / 0.5496 GB, free: 2.922 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.6965, allocations: 132.5 kB / 0.5498 GB, free: 2.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.6976, allocations: 0.5575 MB / 0.5503 GB, free: 2.195 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.6977, allocations: 41.69 kB / 0.5504 GB, free: 2.148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.6981, allocations: 375.2 kB / 0.5507 GB, free: 1.773 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.6983, allocations: 153.9 kB / 0.5509 GB, free: 1.621 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.6984, allocations: 12 kB / 0.5509 GB, free: 1.609 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.6986, allocations: 378.7 kB / 0.5512 GB, free: 1.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/0.6992, allocations: 209.9 kB / 0.5514 GB, free: 1.027 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009058/0.7001, allocations: 0.5392 MB / 0.552 GB, free: 336 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.7009, allocations: 307.8 kB / 0.5523 GB, free: 28 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.7009, allocations: 4 kB / 0.5523 GB, free: 24 kB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00269/0.7036, allocations: 0.911 MB / 0.5532 GB, free: 15.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.7037, allocations: 11.94 kB / 0.5532 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.7037, allocations: 12 kB / 0.5532 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.706, allocations: 273.2 kB / 0.5534 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007843/0.7068, allocations: 131.8 kB / 0.5536 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.7083, allocations: 0.8373 MB / 0.5544 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009021/0.7092, allocations: 52.78 kB / 0.5544 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.7094, allocations: 40 kB / 0.5545 GB, free: 13.73 MB / 442.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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004997/0.7099, allocations: 248.8 kB / 0.5547 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.7101, allocations: 71.16 kB / 0.5548 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.7121, allocations: 0.7248 MB / 0.5555 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.7122, allocations: 7.938 kB / 0.5555 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7122, allocations: 4 kB / 0.5555 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.7122, allocations: 3.984 kB / 0.5555 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.7153, allocations: 1.366 MB / 0.5568 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.7153, allocations: 0 / 0.5568 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/0.7174, allocations: 191.8 kB / 0.557 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.7175, allocations: 24.84 kB / 0.557 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.7176, allocations: 16.17 kB / 0.557 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.7202, allocations: 2.688 MB / 0.5597 GB, free: 7.988 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7203, allocations: 4.031 kB / 0.5597 GB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.7225, allocations: 1.018 MB / 0.5607 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.723, allocations: 208.1 kB / 0.5609 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.7232, allocations: 8 kB / 0.5609 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.7239, allocations: 32.05 kB / 0.5609 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.724, allocations: 35.91 kB / 0.5609 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/0.7241, allocations: 19.98 kB / 0.561 GB, free: 6.555 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007274/0.7249, allocations: 407 kB / 0.5614 GB, free: 6.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-07/0.7249, allocations: 0 / 0.5614 GB, free: 6.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001191/0.7261, allocations: 219.9 kB / 0.5616 GB, free: 5.938 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003134/0.7292, allocations: 2.117 MB / 0.5636 GB, free: 3.742 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002/0.7313, allocations: 0.5813 MB / 0.5642 GB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.7313, allocations: 4 kB / 0.5642 GB, free: 3.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.733, allocations: 434.7 kB / 0.5646 GB, free: 2.723 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.7354, allocations: 290.7 kB / 0.5649 GB, free: 2.441 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.748, allocations: 11.4 MB / 0.576 GB, free: 6.758 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.7488, allocations: 0.9502 MB / 0.577 GB, free: 5.777 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001271/0.7501, allocations: 201.8 kB / 0.5771 GB, free: 5.578 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.7506, allocations: 227.4 kB / 0.5774 GB, free: 5.355 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7506, allocations: 0 / 0.5774 GB, free: 5.355 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07812/0.8288, allocations: 19.09 MB / 0.596 GB, free: 2.355 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.8292, allocations: 292.4 kB / 0.5963 GB, free: 1.98 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/4.269, allocations: 0 / 0.5963 GB, free: 1.98 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat