Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01491/0.01492, allocations: 90.97 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001888/0.001888, allocations: 173.9 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.386/2.386, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.686/2.686, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 12.59 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2903, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.08958/0.38, allocations: 51.38 MB / 0.7782 GB, free: 6.656 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02303/0.403, allocations: 10.22 MB / 0.7882 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/0.4054, allocations: 51.62 kB / 0.7882 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.4087, allocations: 0.6296 MB / 0.7889 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008352/0.4171, allocations: 1.897 MB / 0.7907 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005828/0.4229, allocations: 1.243 MB / 0.7919 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004939/0.4279, allocations: 1.851 MB / 0.7937 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.43, allocations: 0.8228 MB / 0.7945 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/0.4333, allocations: 0.9769 MB / 0.7955 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.4352, allocations: 0.6144 MB / 0.7961 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003265/0.4356, allocations: 44 kB / 0.7961 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.4393, allocations: 0.9868 MB / 0.7971 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.4399, allocations: 203.1 kB / 0.7973 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.4405, allocations: 281 kB / 0.7976 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.4442, allocations: 1.582 MB / 0.7991 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4443, allocations: 0 / 0.7991 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.306e-06/0.4443, allocations: 0 / 0.7991 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.488e-05/0.4443, allocations: 0 / 0.7991 GB, free: 1.188 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004762/0.4491, allocations: 1.508 MB / 0.8006 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.4492, allocations: 9.094 kB / 0.8006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000367/0.4496, allocations: 126.8 kB / 0.8007 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004623/0.4542, allocations: 0.5174 MB / 0.8012 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.4576, allocations: 1.059 MB / 0.8023 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000689/0.4584, allocations: 133.9 kB / 0.8024 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.4586, allocations: 80 kB / 0.8025 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003978/0.4626, allocations: 1.025 MB / 0.8035 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.4627, allocations: 0 / 0.8035 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.4629, allocations: 32 kB / 0.8035 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.4629, allocations: 19.95 kB / 0.8035 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004917/0.4678, allocations: 0.9993 MB / 0.8045 GB, free: 11.53 MB / 0.6355 GB 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.01083/0.4787, allocations: 4.722 MB / 0.8091 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008006/0.4867, allocations: 1.121 MB / 0.8102 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.4882, allocations: 1.025 MB / 0.8112 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.4883, allocations: 46.88 kB / 0.8112 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 3.817e-06/0.4883, allocations: 0 / 0.8112 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.01525/0.5036, allocations: 2.143 MB / 0.8133 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.5037, allocations: 59.78 kB / 0.8134 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.5058, allocations: 0.9553 MB / 0.8143 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.5061, allocations: 37.7 kB / 0.8144 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006627/0.5067, allocations: 0.5158 MB / 0.8149 GB, free: 256 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004054/0.5072, allocations: 181.3 kB / 0.815 GB, free: 72 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.5073, allocations: 8 kB / 0.815 GB, free: 64 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5074, allocations: 326 kB / 0.8153 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.5095, allocations: 376.9 kB / 0.8157 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.5117, allocations: 0.5225 MB / 0.8162 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.5138, allocations: 398 kB / 0.8166 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.5138, allocations: 4 kB / 0.8166 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.005557/0.5194, allocations: 1.115 MB / 0.8177 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004522/0.5199, allocations: 0.9696 MB / 0.8186 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.5199, allocations: 4 kB / 0.8186 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/0.5222, allocations: 326.8 kB / 0.819 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.5236, allocations: 147.8 kB / 0.8191 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.5264, allocations: 0.9348 MB / 0.82 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.5286, allocations: 183.2 kB / 0.8202 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.5288, allocations: 27.98 kB / 0.8202 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.5288, allocations: 4 kB / 0.8202 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005146/0.534, allocations: 0.9859 MB / 0.8212 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.534, allocations: 0 / 0.8212 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.536, allocations: 324.9 kB / 0.8215 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.5373, allocations: 147.7 kB / 0.8216 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.5398, allocations: 0.9303 MB / 0.8225 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.5421, allocations: 167.4 kB / 0.8227 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.5423, allocations: 31.92 kB / 0.8227 GB, free: 7.988 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008118/0.5431, allocations: 353 kB / 0.8231 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.5434, allocations: 106.7 kB / 0.8232 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005969/0.5494, allocations: 1.229 MB / 0.8244 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.5495, allocations: 4 kB / 0.8244 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5495, allocations: 3.938 kB / 0.8244 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.5495, allocations: 3.984 kB / 0.8244 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008415/0.5579, allocations: 2.327 MB / 0.8266 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.558, allocations: 8.031 kB / 0.8267 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.5591, allocations: 111.8 kB / 0.8268 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.5611, allocations: 324.6 kB / 0.8271 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.5613, allocations: 15.98 kB / 0.8271 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.5639, allocations: 0.9689 MB / 0.828 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.564, allocations: 4.031 kB / 0.828 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007205/0.5712, allocations: 1.472 MB / 0.8295 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009482/0.5722, allocations: 299.4 kB / 0.8298 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.5724, allocations: 12 kB / 0.8298 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/0.5743, allocations: 131.7 kB / 0.8299 GB, free: 436 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.5745, allocations: 36.39 kB / 0.8299 GB, free: 400 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.5747, allocations: 27.97 kB / 0.83 GB, free: 372 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001541/0.5762, allocations: 0.6678 MB / 0.8306 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.21e-07/0.5762, allocations: 0 / 0.8306 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002343/0.5786, allocations: 0.5652 MB / 0.8312 GB, free: 15.12 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.007099/0.5857, allocations: 2.552 MB / 0.8337 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00704/0.5928, allocations: 1.374 MB / 0.835 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.5929, allocations: 0 / 0.835 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.5952, allocations: 484.8 kB / 0.8355 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004466/0.5997, allocations: 0.4997 MB / 0.8359 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009283/0.6091, allocations: 4.667 MB / 0.8405 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/0.61, allocations: 1.093 MB / 0.8416 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001818/0.6119, allocations: 224.5 kB / 0.8418 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009875/0.6129, allocations: 415.3 kB / 0.8422 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of SimCode: time 9.62e-07/0.6129, allocations: 0 / 0.8422 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6852/1.298, allocations: 32.97 MB / 0.8744 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/1.298, allocations: 263.1 kB / 0.8746 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.067/5.365, allocations: 0 / 0.8746 GB, free: 105.5 MB / 0.6667 GB