Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008708/0.0008708, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009173/0.0009174, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 222.1 MB, free: 5.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.594/1.594, allocations: 252 MB / 0.5102 GB, free: 4.777 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006047/0.0006048, allocations: 12 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.4997, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05272/0.5524, allocations: 56.58 MB / 0.7834 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01544/0.5679, allocations: 11.12 MB / 0.7942 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.5699, allocations: 51.62 kB / 0.7943 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.5715, allocations: 464.8 kB / 0.7947 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.5762, allocations: 1.531 MB / 0.7962 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.5791, allocations: 0.8706 MB / 0.7971 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004541/0.5837, allocations: 3.401 MB / 0.8004 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.585, allocations: 0.7911 MB / 0.8012 GB, free: 392 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.5872, allocations: 1.046 MB / 0.8022 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.5884, allocations: 0.8166 MB / 0.803 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.5885, allocations: 44 kB / 0.803 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.5912, allocations: 1.088 MB / 0.8041 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.5915, allocations: 203 kB / 0.8043 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.5919, allocations: 285 kB / 0.8046 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.594, allocations: 1.644 MB / 0.8062 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.594, allocations: 4 kB / 0.8062 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.783e-06/0.594, allocations: 0 / 0.8062 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.594, allocations: 0 / 0.8062 GB, free: 11.24 MB / 0.6231 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.002682/0.5967, allocations: 1.52 MB / 0.8076 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5967, allocations: 12.03 kB / 0.8077 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.5987, allocations: 477.9 kB / 0.8081 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.6007, allocations: 1.105 MB / 0.8092 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.601, allocations: 129.9 kB / 0.8093 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6012, allocations: 83.98 kB / 0.8094 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.6033, allocations: 1.023 MB / 0.8104 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.6034, allocations: 4 kB / 0.8104 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.6035, allocations: 28 kB / 0.8104 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.6035, allocations: 20 kB / 0.8104 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.6058, allocations: 0.9719 MB / 0.8114 GB, free: 5.727 MB / 0.6231 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.006765/0.6126, allocations: 4.668 MB / 0.816 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.6159, allocations: 0.9462 MB / 0.8169 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/0.6168, allocations: 360.5 kB / 0.8172 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/0.6175, allocations: 0.9029 MB / 0.8181 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.6175, allocations: 35 kB / 0.8181 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=48): time 2.464e-06/0.6175, allocations: 4 kB / 0.8181 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.008251/0.6258, allocations: 2.256 MB / 0.8203 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.6259, allocations: 59.83 kB / 0.8204 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.6275, allocations: 1.056 MB / 0.8214 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.6277, allocations: 37.7 kB / 0.8215 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.6281, allocations: 0.5313 MB / 0.822 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.6284, allocations: 165.6 kB / 0.8221 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.6284, allocations: 16 kB / 0.8222 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.6286, allocations: 330 kB / 0.8225 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.6297, allocations: 352.9 kB / 0.8228 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.6308, allocations: 0.5524 MB / 0.8234 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009505/0.6318, allocations: 388.5 kB / 0.8237 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6318, allocations: 0 / 0.8237 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002797/0.6346, allocations: 1.108 MB / 0.8248 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.6347, allocations: 209.2 kB / 0.825 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6348, allocations: 4 kB / 0.825 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.636, allocations: 328.6 kB / 0.8253 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.6366, allocations: 143.8 kB / 0.8255 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.638, allocations: 0.9347 MB / 0.8264 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.6393, allocations: 211.2 kB / 0.8266 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.6394, allocations: 27.98 kB / 0.8266 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.6394, allocations: 4 kB / 0.8266 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002515/0.6419, allocations: 0.983 MB / 0.8276 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.642, allocations: 4 kB / 0.8276 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.643, allocations: 319.9 kB / 0.8279 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.6436, allocations: 147.8 kB / 0.828 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.645, allocations: 0.9309 MB / 0.8289 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.6463, allocations: 183.3 kB / 0.8291 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/0.6464, allocations: 35.97 kB / 0.8291 GB, free: 2.742 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.0005754/0.647, allocations: 352.9 kB / 0.8295 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.6472, allocations: 114.6 kB / 0.8296 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.6511, allocations: 1.306 MB / 0.8309 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.6511, allocations: 8 kB / 0.8309 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6511, allocations: 3.938 kB / 0.8309 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6511, allocations: 3.984 kB / 0.8309 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005273/0.6564, allocations: 2.382 MB / 0.8332 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.6564, allocations: 4 kB / 0.8332 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.6568, allocations: 87.81 kB / 0.8333 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009992/0.6578, allocations: 330.6 kB / 0.8336 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.6579, allocations: 15.98 kB / 0.8336 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.6593, allocations: 0.9695 MB / 0.8346 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6593, allocations: 0 / 0.8346 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/0.663, allocations: 1.353 MB / 0.8359 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005802/0.6636, allocations: 291.4 kB / 0.8362 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.6638, allocations: 8 kB / 0.8362 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.6648, allocations: 127.7 kB / 0.8363 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.665, allocations: 47.33 kB / 0.8363 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.665, allocations: 27.97 kB / 0.8364 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001373/0.6664, allocations: 0.7393 MB / 0.8371 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.815e-06/0.6664, allocations: 0 / 0.8371 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001801/0.6682, allocations: 0.5652 MB / 0.8376 GB, free: 9.836 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (38): * Single equations (assignments): 33 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008773/0.6691, allocations: 361 kB / 0.838 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003485/0.6726, allocations: 1.272 MB / 0.8392 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6726, allocations: 0 / 0.8392 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.6737, allocations: 415.1 kB / 0.8396 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.6765, allocations: 0.5292 MB / 0.8401 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005762/0.6823, allocations: 2.531 MB / 0.8426 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/0.6831, allocations: 1.07 MB / 0.8436 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001274/0.6844, allocations: 235.9 kB / 0.8439 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.6846, allocations: 79.42 kB / 0.844 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.6846, allocations: 0 / 0.844 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of Templates: time 0.04264/0.7273, allocations: 23.75 MB / 0.8671 GB, free: 11.86 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) Environment - environmentSimulation: