Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01073/0.01073, allocations: 103.4 kB / 15.05 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001179/0.001178, allocations: 174.3 kB / 15.93 MB, free: 5.91 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.57/1.57, allocations: 170.9 MB / 187.5 MB, free: 0.8594 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2615/0.2615, allocations: 38.09 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006308/0.0006308, allocations: 19.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.09022, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4863/0.5766, allocations: 125.2 MB / 497.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.5873, allocations: 4.866 MB / 0.4906 GB, free: 4.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009968/0.5884, allocations: 30.06 kB / 0.4906 GB, free: 4.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.5898, allocations: 282 kB / 0.4909 GB, free: 3.941 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.593, allocations: 0.7117 MB / 0.4916 GB, free: 3.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.5968, allocations: 0.8099 MB / 0.4924 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002389/0.5992, allocations: 1.031 MB / 0.4934 GB, free: 2.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009003/0.6001, allocations: 375.1 kB / 0.4938 GB, free: 1.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.6018, allocations: 0.5654 MB / 0.4943 GB, free: 1.348 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.6034, allocations: 486.4 kB / 0.4948 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.6036, allocations: 32 kB / 0.4948 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.6054, allocations: 427.5 kB / 0.4952 GB, free: 432 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003919/0.6058, allocations: 215.4 kB / 0.4954 GB, free: 216 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.6061, allocations: 161.4 kB / 0.4956 GB, free: 48 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.6078, allocations: 0.7999 MB / 0.4964 GB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.6078, allocations: 0 / 0.4964 GB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6078, allocations: 0 / 0.4964 GB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.6079, allocations: 0 / 0.4964 GB, free: 15.25 MB / 362.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.002758/0.6106, allocations: 0.923 MB / 0.4973 GB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.6107, allocations: 12.03 kB / 0.4973 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002352/0.611, allocations: 98.5 kB / 0.4974 GB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/0.6115, allocations: 95.09 kB / 0.4975 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.6128, allocations: 0.5005 MB / 0.4979 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.613, allocations: 104.4 kB / 0.498 GB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.6131, allocations: 48 kB / 0.4981 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.6152, allocations: 0.7954 MB / 0.4989 GB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.6153, allocations: 4 kB / 0.4989 GB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.6154, allocations: 31.92 kB / 0.4989 GB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.931e-05/0.6155, allocations: 48.92 kB / 0.4989 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.6174, allocations: 0.6439 MB / 0.4996 GB, free: 11.78 MB / 362.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.008252/0.6257, allocations: 3.959 MB / 0.5034 GB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.6274, allocations: 412.3 kB / 0.5038 GB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00423/0.6316, allocations: 1.679 MB / 0.5055 GB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.6318, allocations: 42.5 kB / 0.5055 GB, free: 5.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 4.428e-06/0.6318, allocations: 0 / 0.5055 GB, free: 5.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.006524/0.6383, allocations: 1.441 MB / 0.5069 GB, free: 3.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.6385, allocations: 136.3 kB / 0.5071 GB, free: 3.523 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.64, allocations: 0.5652 MB / 0.5076 GB, free: 2.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.6402, allocations: 37.7 kB / 0.5076 GB, free: 2.906 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005552/0.6408, allocations: 375.3 kB / 0.508 GB, free: 2.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.641, allocations: 153.8 kB / 0.5081 GB, free: 2.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.6412, allocations: 16 kB / 0.5082 GB, free: 2.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000288/0.6415, allocations: 374.8 kB / 0.5085 GB, free: 1.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009459/0.6424, allocations: 209.9 kB / 0.5087 GB, free: 1.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.6438, allocations: 0.5393 MB / 0.5092 GB, free: 1.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.6452, allocations: 319.7 kB / 0.5095 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.6452, allocations: 0 / 0.5095 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003817/0.6491, allocations: 0.8961 MB / 0.5104 GB, free: 15.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.6491, allocations: 15.98 kB / 0.5104 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.6492, allocations: 8 kB / 0.5104 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/0.6521, allocations: 268.7 kB / 0.5107 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.6533, allocations: 131.8 kB / 0.5108 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.6554, allocations: 0.845 MB / 0.5117 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.6568, allocations: 47.83 kB / 0.5117 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.657, allocations: 43.98 kB / 0.5117 GB, free: 14.49 MB / 378.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.0007097/0.6577, allocations: 252.6 kB / 0.512 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.658, allocations: 63.25 kB / 0.512 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.6608, allocations: 0.7325 MB / 0.5128 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.6609, allocations: 7.938 kB / 0.5128 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.6609, allocations: 0 / 0.5128 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.6609, allocations: 0 / 0.5128 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/0.6652, allocations: 1.357 MB / 0.5141 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6653, allocations: 3.938 kB / 0.5141 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/0.668, allocations: 200 kB / 0.5143 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.6682, allocations: 24.84 kB / 0.5143 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-05/0.6683, allocations: 12 kB / 0.5143 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/0.6722, allocations: 2.702 MB / 0.517 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.6723, allocations: 4.031 kB / 0.517 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.6755, allocations: 1.011 MB / 0.5179 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/0.6761, allocations: 212.1 kB / 0.5182 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.6764, allocations: 11.95 kB / 0.5182 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6774, allocations: 27.98 kB / 0.5182 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.6776, allocations: 39.95 kB / 0.5182 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.6777, allocations: 23.98 kB / 0.5183 GB, free: 7.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.6788, allocations: 403 kB / 0.5186 GB, free: 6.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6788, allocations: 0 / 0.5186 GB, free: 6.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001869/0.6807, allocations: 211.9 kB / 0.5188 GB, free: 6.707 MB / 378.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.00448/0.6852, allocations: 2.108 MB / 0.5209 GB, free: 4.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.688, allocations: 0.5774 MB / 0.5215 GB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.6881, allocations: 4 kB / 0.5215 GB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002407/0.6905, allocations: 442.6 kB / 0.5219 GB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/0.6938, allocations: 293.6 kB / 0.5222 GB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.709, allocations: 11.4 MB / 0.5333 GB, free: 7.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/0.7098, allocations: 0.9502 MB / 0.5342 GB, free: 6.539 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001272/0.7111, allocations: 201.8 kB / 0.5344 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.7116, allocations: 243.3 kB / 0.5347 GB, free: 6.102 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7116, allocations: 0 / 0.5347 GB, free: 6.102 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06927/0.7809, allocations: 19.08 MB / 0.5533 GB, free: 3.133 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004229/0.7814, allocations: 280.6 kB / 0.5536 GB, free: 2.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/4.016, allocations: 0 / 0.5536 GB, free: 2.77 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat