Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.005019/0.005019, allocations: 181 kB / 16.26 MB, free: 6.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004979, allocations: 9.75 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.357, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07325/0.4303, allocations: 78.96 MB / 1.151 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02601/0.4563, allocations: 18.58 MB / 1.169 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.4609, allocations: 91.44 kB / 1.169 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003289/0.4642, allocations: 0.983 MB / 1.17 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008204/0.4724, allocations: 2.55 MB / 1.173 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004867/0.4773, allocations: 1.715 MB / 1.175 GB, free: 364 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009331/0.4866, allocations: 6.863 MB / 1.181 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00385/0.4905, allocations: 2.108 MB / 1.183 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/0.4945, allocations: 1.644 MB / 1.185 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.4968, allocations: 1.443 MB / 1.186 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.4971, allocations: 72 kB / 1.186 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/0.5006, allocations: 1.407 MB / 1.188 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004868/0.5011, allocations: 441.8 kB / 1.188 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.5024, allocations: 1.171 MB / 1.189 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005245/0.5077, allocations: 4.516 MB / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5077, allocations: 0 / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5077, allocations: 0 / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.797e-05/0.5078, allocations: 7.938 kB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 453 * Number of variables: 453 Notification: Performance of Generate backend data structure: time 0.004274/0.512, allocations: 2.513 MB / 1.196 GB, free: 10 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5121, allocations: 8.031 kB / 1.196 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.5136, allocations: 456.4 kB / 1.197 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003456/0.5171, allocations: 2.063 MB / 1.199 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.5172, allocations: 143.5 kB / 1.199 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.5175, allocations: 187.9 kB / 1.199 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.521, allocations: 1.909 MB / 1.201 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.5211, allocations: 4 kB / 1.201 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.5212, allocations: 76 kB / 1.201 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.5213, allocations: 47.94 kB / 1.201 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.5243, allocations: 1.454 MB / 1.202 GB, free: 3.551 MB / 0.9512 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.01136/0.5357, allocations: 8.091 MB / 1.21 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.5382, allocations: 1.085 MB / 1.211 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007617/0.539, allocations: 378.3 kB / 1.212 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.54, allocations: 1.16 MB / 1.213 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009524/0.541, allocations: 442.9 kB / 1.213 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=67): time 3.857e-06/0.541, allocations: 4 kB / 1.213 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67): time 0.002907/0.5439, allocations: 1.16 MB / 1.214 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.544, allocations: 133.1 kB / 1.215 GB, free: 6.344 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.5467, allocations: 1.765 MB / 1.216 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.5468, allocations: 45.7 kB / 1.216 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009898/0.5478, allocations: 1.092 MB / 1.217 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.5481, allocations: 242.1 kB / 1.218 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.5482, allocations: 93.67 kB / 1.218 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5484, allocations: 345.9 kB / 1.218 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009184/0.5494, allocations: 377.8 kB / 1.218 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.5504, allocations: 0.7025 MB / 1.219 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.5522, allocations: 1.017 MB / 1.22 GB, free: 372 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.5523, allocations: 4 kB / 1.22 GB, free: 368 kB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002564/0.5548, allocations: 1.272 MB / 1.221 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.5549, allocations: 8.531 kB / 1.221 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.5549, allocations: 8 kB / 1.221 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-05/0.5549, allocations: 16 kB / 1.221 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/0.5558, allocations: 227.7 kB / 1.222 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.5558, allocations: 19.94 kB / 1.222 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.5572, allocations: 219.4 kB / 1.222 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.5573, allocations: 51.92 kB / 1.222 GB, free: 14.54 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001048/0.5584, allocations: 0.4951 MB / 1.222 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.5587, allocations: 193.6 kB / 1.223 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.5609, allocations: 1.068 MB / 1.224 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.561, allocations: 11.98 kB / 1.224 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.561, allocations: 0 / 1.224 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/0.5627, allocations: 0.8826 MB / 1.224 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004873/0.5675, allocations: 2.861 MB / 1.227 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.5676, allocations: 0 / 1.227 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/0.5682, allocations: 143.8 kB / 1.227 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.5683, allocations: 8.188 kB / 1.227 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.5683, allocations: 23.98 kB / 1.227 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.5683, allocations: 11.92 kB / 1.227 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5684, allocations: 7.938 kB / 1.227 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.5712, allocations: 1.546 MB / 1.229 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006572/0.5718, allocations: 406.4 kB / 1.229 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.572, allocations: 24 kB / 1.229 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.5731, allocations: 114.4 kB / 1.229 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.5732, allocations: 68.41 kB / 1.23 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/0.5733, allocations: 35.97 kB / 1.23 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001778/0.5751, allocations: 1.19 MB / 1.231 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5751, allocations: 0 / 1.231 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001736/0.5768, allocations: 0.6348 MB / 1.231 GB, free: 4.637 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneCon.criDam.x[2],heaPum.refCycIneEva.criDam.x[1],heaPum.refCycIneEva.criDam.x[2]) * Number of discrete variables: 5 ($whenCondition1,heaPum.hys.y,heaPum.eff.hys.y,tabMea.nextTimeEvent,tabMea.nextTimeEventScaled) * Number of discrete states: 4 (tabMea.nextTimeEvent,tabMea.nextTimeEventScaled,heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/0.5787, allocations: 0.8731 MB / 1.232 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.5806, allocations: 0.9103 MB / 1.233 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5806, allocations: 0 / 1.233 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.5815, allocations: 436.1 kB / 1.234 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/0.5858, allocations: 0.8338 MB / 1.234 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/0.5927, allocations: 4.544 MB / 1.239 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.5939, allocations: 1.502 MB / 1.24 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001432/0.5953, allocations: 364.2 kB / 1.241 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.5957, allocations: 155.3 kB / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/0.5957, allocations: 3.938 kB / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.6078/1.203, allocations: 33.66 MB / 1.274 GB, free: 166.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)