Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_y",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.01049/0.01049, allocations: 88.19 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.001265/0.001265, allocations: 177.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.106/2.106, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.494/2.494, allocations: 252.8 MB / 0.511 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004924, allocations: 11.47 kB / 0.6243 GB, free: 21.14 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2276, allocations: 106.2 MB / 0.7281 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.1031/0.3308, allocations: 62.98 MB / 0.7896 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02674/0.3576, allocations: 12.86 MB / 0.8021 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.3601, allocations: 55.62 kB / 0.8022 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003845/0.364, allocations: 0.7423 MB / 0.8029 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.3745, allocations: 2.356 MB / 0.8052 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007054/0.3816, allocations: 1.429 MB / 0.8066 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006832/0.3885, allocations: 2.491 MB / 0.809 GB, free: 5 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/0.3911, allocations: 1.029 MB / 0.81 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004025/0.3952, allocations: 1.156 MB / 0.8112 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.3976, allocations: 0.7894 MB / 0.8119 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004623/0.3982, allocations: 56 kB / 0.812 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003971/0.4021, allocations: 0.8387 MB / 0.8128 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007199/0.4029, allocations: 262.9 kB / 0.8131 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000867/0.4038, allocations: 352.9 kB / 0.8134 GB, free: 500 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004645/0.4085, allocations: 2.011 MB / 0.8154 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4085, allocations: 0 / 0.8154 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.806e-06/0.4086, allocations: 0 / 0.8154 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.7e-05/0.4086, allocations: 0 / 0.8154 GB, free: 14.47 MB / 0.6511 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.005657/0.4143, allocations: 1.783 MB / 0.8171 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4144, allocations: 9.094 kB / 0.8171 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004598/0.4148, allocations: 151.9 kB / 0.8173 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.4162, allocations: 241.9 kB / 0.8175 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004249/0.4205, allocations: 1.361 MB / 0.8188 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.896e-05/0.4207, allocations: 74 kB / 0.8189 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/0.421, allocations: 104 kB / 0.819 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/0.4246, allocations: 1.096 MB / 0.8201 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.874e-05/0.4247, allocations: 4 kB / 0.8201 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.4249, allocations: 47.94 kB / 0.8201 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.4249, allocations: 24 kB / 0.8201 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/0.4286, allocations: 0.9251 MB / 0.821 GB, free: 8.504 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.01056/0.4392, allocations: 4.946 MB / 0.8259 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/0.4419, allocations: 0.636 MB / 0.8265 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008689/0.4428, allocations: 0.8277 MB / 0.8273 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.4429, allocations: 39.12 kB / 0.8273 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 2.975e-06/0.4429, allocations: 3.938 kB / 0.8273 GB, free: 1.566 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.6223/1.065, allocations: 1.881 MB / 0.8292 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/1.065, allocations: 58.84 kB / 0.8292 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/1.069, allocations: 1.249 MB / 0.8305 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/1.069, allocations: 40.52 kB / 0.8305 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000815/1.07, allocations: 0.6004 MB / 0.8311 GB, free: 101 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/1.07, allocations: 216.2 kB / 0.8313 GB, free: 101 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/1.07, allocations: 15.41 kB / 0.8313 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.071, allocations: 339.7 kB / 0.8316 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.072, allocations: 294.3 kB / 0.8319 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/1.074, allocations: 0.5076 MB / 0.8324 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/1.075, allocations: 363 kB / 0.8327 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.075, allocations: 3.125 kB / 0.8327 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009373/1.084, allocations: 1.391 MB / 0.8341 GB, free: 99.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003801/1.085, allocations: 1.421 MB / 0.8355 GB, free: 98.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.085, allocations: 4.375 kB / 0.8355 GB, free: 98.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/1.086, allocations: 151.3 kB / 0.8356 GB, free: 98.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.087, allocations: 166.1 kB / 0.8358 GB, free: 98.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/1.089, allocations: 0.7108 MB / 0.8365 GB, free: 97.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/1.091, allocations: 179.6 kB / 0.8367 GB, free: 97.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/1.091, allocations: 38.8 kB / 0.8367 GB, free: 97.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.091, allocations: 3.594 kB / 0.8367 GB, free: 97.56 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008548/1.1, allocations: 1.245 MB / 0.8379 GB, free: 97.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/1.1, allocations: 4.125 kB / 0.8379 GB, free: 97.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000946/1.101, allocations: 150 kB / 0.8381 GB, free: 97.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.102, allocations: 169.8 kB / 0.8382 GB, free: 97.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/1.103, allocations: 0.7115 MB / 0.8389 GB, free: 96.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/1.106, allocations: 165.7 kB / 0.8391 GB, free: 96.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/1.106, allocations: 35.16 kB / 0.8391 GB, free: 96.59 MB / 0.6511 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.001038/1.107, allocations: 420.4 kB / 0.8395 GB, free: 96.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/1.108, allocations: 133.9 kB / 0.8396 GB, free: 96.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009138/1.117, allocations: 1.403 MB / 0.841 GB, free: 95.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/1.117, allocations: 8.953 kB / 0.841 GB, free: 95.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/1.117, allocations: 0 / 0.841 GB, free: 95.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008046/1.125, allocations: 1.229 MB / 0.8422 GB, free: 95.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.138, allocations: 2.756 MB / 0.8449 GB, free: 94.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.138, allocations: 2.938 kB / 0.8449 GB, free: 94.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.139, allocations: 121.2 kB / 0.845 GB, free: 94.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008993/1.14, allocations: 145.9 kB / 0.8452 GB, free: 94.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/1.14, allocations: 19.89 kB / 0.8452 GB, free: 94.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008529/1.148, allocations: 2.55 MB / 0.8477 GB, free: 92.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/1.148, allocations: 14.83 kB / 0.8477 GB, free: 92.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/1.159, allocations: 2.045 MB / 0.8497 GB, free: 91.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.16, allocations: 347.2 kB / 0.85 GB, free: 90.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/1.16, allocations: 17.2 kB / 0.85 GB, free: 90.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/1.162, allocations: 96.62 kB / 0.8501 GB, free: 90.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/1.162, allocations: 61.03 kB / 0.8502 GB, free: 90.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.162, allocations: 33 kB / 0.8502 GB, free: 90.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002167/1.164, allocations: 0.8939 MB / 0.8511 GB, free: 90.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.164, allocations: 0 / 0.8511 GB, free: 90.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003514/1.168, allocations: 0.7217 MB / 0.8518 GB, free: 90.41 MB / 0.6511 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.01165/1.179, allocations: 3.856 MB / 0.8556 GB, free: 87.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004609/1.184, allocations: 1.164 MB / 0.8567 GB, free: 87.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.184, allocations: 1.375 kB / 0.8567 GB, free: 87.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002684/1.187, allocations: 0.5933 MB / 0.8573 GB, free: 87.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006033/1.193, allocations: 0.751 MB / 0.858 GB, free: 87.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008408/1.201, allocations: 5.942 MB / 0.8638 GB, free: 82.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008822/1.202, allocations: 1.196 MB / 0.865 GB, free: 81.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002139/1.204, allocations: 307.7 kB / 0.8653 GB, free: 81.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.205, allocations: 0.5076 MB / 0.8658 GB, free: 81.16 MB / 0.6511 GB Notification: Performance of SimCode: time 1.352e-06/1.205, allocations: 0 / 0.8658 GB, free: 81.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/1.339, allocations: 42.1 MB / 0.9069 GB, free: 45.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.34, allocations: 250 kB / 0.9071 GB, free: 45.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.091/5.431, allocations: 0 / 0.9071 GB, free: 45.62 MB / 0.6511 GB