Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.01048/0.01048, allocations: 86.75 kB / 15.04 MB, free: 6.062 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.001173/0.001173, allocations: 168.2 kB / 15.92 MB, free: 6 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.147/2.147, allocations: 205.5 MB / 222.2 MB, free: 13.72 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.584/2.584, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007341/0.0007347, allocations: 14.44 kB / 0.6243 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2544, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.1089/0.3634, allocations: 63.01 MB / 0.7896 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0308/0.3943, allocations: 12.87 MB / 0.8022 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008495/0.4028, allocations: 51.62 kB / 0.8022 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.01862/0.4215, allocations: 0.7462 MB / 0.8029 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.03884/0.4604, allocations: 2.353 MB / 0.8052 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.008786/0.4692, allocations: 1.423 MB / 0.8066 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008353/0.4776, allocations: 2.491 MB / 0.8091 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003371/0.481, allocations: 1.029 MB / 0.8101 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.4852, allocations: 1.16 MB / 0.8112 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.4875, allocations: 0.7817 MB / 0.812 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004772/0.4881, allocations: 56 kB / 0.812 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003988/0.4921, allocations: 0.8386 MB / 0.8128 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007127/0.4928, allocations: 258.9 kB / 0.8131 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000832/0.4937, allocations: 352.9 kB / 0.8134 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004727/0.4984, allocations: 2.003 MB / 0.8154 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4985, allocations: 0 / 0.8154 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.885e-06/0.4985, allocations: 0 / 0.8154 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.48e-05/0.4986, allocations: 0 / 0.8154 GB, free: 0.5039 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005992/0.5046, allocations: 1.775 MB / 0.8171 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.5046, allocations: 13.09 kB / 0.8171 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000487/0.5051, allocations: 147.9 kB / 0.8173 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.5066, allocations: 241.9 kB / 0.8175 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004579/0.5113, allocations: 1.357 MB / 0.8188 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5114, allocations: 74 kB / 0.8189 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/0.5118, allocations: 104 kB / 0.819 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/0.5157, allocations: 1.096 MB / 0.8201 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.673e-05/0.5158, allocations: 7.984 kB / 0.8201 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.516, allocations: 51.88 kB / 0.8201 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.339e-05/0.516, allocations: 24 kB / 0.8201 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/0.5199, allocations: 0.9251 MB / 0.821 GB, free: 10.54 MB / 0.6511 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.01063/0.5306, allocations: 4.943 MB / 0.8259 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.5333, allocations: 0.6354 MB / 0.8265 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009098/0.5343, allocations: 0.8277 MB / 0.8273 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.5343, allocations: 39.12 kB / 0.8273 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 6.071e-06/0.5344, allocations: 0 / 0.8273 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.01736/0.5517, allocations: 1.893 MB / 0.8292 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.5518, allocations: 59.97 kB / 0.8292 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/0.5547, allocations: 1.249 MB / 0.8305 GB, free: 364 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.555, allocations: 37.7 kB / 0.8305 GB, free: 320 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008816/0.5559, allocations: 0.6026 MB / 0.8311 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004362/0.5564, allocations: 212.9 kB / 0.8313 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.5564, allocations: 16 kB / 0.8313 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.5566, allocations: 326 kB / 0.8316 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.5581, allocations: 305.8 kB / 0.8319 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.5598, allocations: 0.5123 MB / 0.8324 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.5614, allocations: 351 kB / 0.8327 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.5615, allocations: 3.984 kB / 0.8327 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00961/0.5711, allocations: 1.394 MB / 0.8341 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006972/0.5719, allocations: 1.423 MB / 0.8355 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.5719, allocations: 0 / 0.8355 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.573, allocations: 152.7 kB / 0.8356 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.5743, allocations: 167.8 kB / 0.8358 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.5759, allocations: 0.72 MB / 0.8365 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.5783, allocations: 175 kB / 0.8367 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/0.5786, allocations: 35.98 kB / 0.8367 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5786, allocations: 4 kB / 0.8367 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008831/0.5874, allocations: 1.245 MB / 0.8379 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.5875, allocations: 4.375 kB / 0.8379 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009518/0.5885, allocations: 148.7 kB / 0.8381 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.5898, allocations: 167.7 kB / 0.8382 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.5913, allocations: 0.7124 MB / 0.8389 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.5936, allocations: 171.1 kB / 0.8391 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.5939, allocations: 35.98 kB / 0.8391 GB, free: 7.211 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001098/0.595, allocations: 412.9 kB / 0.8395 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.5955, allocations: 142.2 kB / 0.8397 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009156/0.6047, allocations: 1.396 MB / 0.841 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.304e-05/0.6048, allocations: 11.95 kB / 0.841 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.6048, allocations: 0 / 0.841 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008822/0.6137, allocations: 1.236 MB / 0.8422 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/0.6335, allocations: 2.746 MB / 0.8449 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/0.6336, allocations: 4.438 kB / 0.8449 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.6351, allocations: 127.8 kB / 0.845 GB, free: 0.9766 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.6365, allocations: 136.7 kB / 0.8452 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.6367, allocations: 16 kB / 0.8452 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6023/1.239, allocations: 2.54 MB / 0.8477 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/1.239, allocations: 11.84 kB / 0.8477 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.25, allocations: 2.054 MB / 0.8497 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.251, allocations: 341.8 kB / 0.85 GB, free: 114.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004995/1.251, allocations: 17.59 kB / 0.85 GB, free: 114.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/1.254, allocations: 97.88 kB / 0.8501 GB, free: 114.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/1.254, allocations: 55.72 kB / 0.8502 GB, free: 114.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/1.254, allocations: 31.06 kB / 0.8502 GB, free: 114.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002467/1.256, allocations: 0.8961 MB / 0.8511 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.42e-07/1.257, allocations: 0 / 0.8511 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003049/1.26, allocations: 0.721 MB / 0.8518 GB, free: 114.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01137/1.271, allocations: 3.871 MB / 0.8556 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004398/1.275, allocations: 1.16 MB / 0.8567 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/1.275, allocations: 3.344 kB / 0.8567 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002597/1.278, allocations: 0.5962 MB / 0.8573 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006394/1.285, allocations: 0.7535 MB / 0.858 GB, free: 111.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00901/1.294, allocations: 5.935 MB / 0.8638 GB, free: 107.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.295, allocations: 1.198 MB / 0.865 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002396/1.297, allocations: 311.1 kB / 0.8653 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.299, allocations: 0.5056 MB / 0.8658 GB, free: 106 MB / 0.6667 GB Notification: Performance of SimCode: time 1.943e-06/1.299, allocations: 1.406 kB / 0.8658 GB, free: 106 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/1.419, allocations: 42.13 MB / 0.9069 GB, free: 77.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/1.42, allocations: 253.8 kB / 0.9072 GB, free: 77.37 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.105/5.525, allocations: 4 kB / 0.9072 GB, free: 77.37 MB / 0.6667 GB