Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008092/0.0008091, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005656/0.005656, allocations: 170 kB / 16.27 MB, free: 6.652 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 9.375 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3409, 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.0766/0.4175, allocations: 78.96 MB / 1.151 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02863/0.4462, allocations: 18.6 MB / 1.169 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005233/0.4515, allocations: 87.5 kB / 1.169 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003652/0.4551, allocations: 0.9752 MB / 1.17 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008898/0.4641, allocations: 2.559 MB / 1.173 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005515/0.4696, allocations: 1.704 MB / 1.175 GB, free: 368 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009256/0.4789, allocations: 6.862 MB / 1.181 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004447/0.4834, allocations: 2.119 MB / 1.183 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004161/0.4875, allocations: 1.636 MB / 1.185 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/0.4903, allocations: 1.447 MB / 1.186 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005654/0.4909, allocations: 72 kB / 1.186 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.4951, allocations: 1.395 MB / 1.188 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008255/0.496, allocations: 449.7 kB / 1.188 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.4983, allocations: 1.171 MB / 1.189 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006625/0.5049, allocations: 4.513 MB / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.505, allocations: 7.938 kB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.454e-06/0.505, allocations: 0 / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.574e-05/0.5051, allocations: 4 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.004523/0.5096, allocations: 2.513 MB / 1.196 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5097, allocations: 8.031 kB / 1.196 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.5112, allocations: 452.4 kB / 1.197 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/0.5149, allocations: 2.066 MB / 1.199 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.515, allocations: 147.5 kB / 1.199 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.5153, allocations: 195.9 kB / 1.199 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/0.5189, allocations: 1.905 MB / 1.201 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.519, allocations: 7.938 kB / 1.201 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.5192, allocations: 72 kB / 1.201 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-05/0.5192, allocations: 47.98 kB / 1.201 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.5222, allocations: 1.454 MB / 1.202 GB, free: 3.539 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.01056/0.5327, allocations: 8.087 MB / 1.21 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.535, allocations: 1.079 MB / 1.211 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/0.5358, allocations: 378.3 kB / 1.212 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008525/0.5366, allocations: 1.156 MB / 1.213 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009431/0.5376, allocations: 442.9 kB / 1.213 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=67): time 5.12e-06/0.5376, allocations: 7.938 kB / 1.213 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67): time 0.0027/0.5403, allocations: 1.16 MB / 1.214 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.5404, 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.002642/0.5431, allocations: 1.767 MB / 1.216 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.5432, allocations: 49.7 kB / 1.216 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009764/0.5442, allocations: 1.088 MB / 1.217 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.5445, allocations: 244.7 kB / 1.218 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.5446, allocations: 89.67 kB / 1.218 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5448, allocations: 341.9 kB / 1.218 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008247/0.5456, allocations: 377.8 kB / 1.218 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.5467, allocations: 0.7086 MB / 1.219 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.5485, allocations: 1.024 MB / 1.22 GB, free: 360 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.5485, allocations: 4 kB / 1.22 GB, free: 356 kB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002749/0.5512, allocations: 1.264 MB / 1.221 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.5513, allocations: 8 kB / 1.221 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.5513, allocations: 8 kB / 1.221 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.5513, allocations: 12 kB / 1.221 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.5522, allocations: 236.2 kB / 1.222 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.834e-05/0.5522, allocations: 23.86 kB / 1.222 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.5538, allocations: 214.7 kB / 1.222 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.554, allocations: 47.98 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.001176/0.5552, allocations: 0.5068 MB / 1.222 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005482/0.5557, allocations: 193.6 kB / 1.223 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.5583, allocations: 1.062 MB / 1.224 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5584, allocations: 11.98 kB / 1.224 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5584, allocations: 0 / 1.224 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001667/0.56, allocations: 0.8787 MB / 1.224 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005912/0.566, allocations: 2.857 MB / 1.227 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.566, allocations: 0 / 1.227 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006584/0.5667, allocations: 144 kB / 1.227 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.5667, allocations: 4 kB / 1.227 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/0.5668, allocations: 35.91 kB / 1.227 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.578e-05/0.5668, allocations: 11.94 kB / 1.227 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5668, allocations: 7.938 kB / 1.227 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.5698, allocations: 1.554 MB / 1.229 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008652/0.5707, allocations: 406.4 kB / 1.229 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/0.5711, allocations: 23.98 kB / 1.229 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.5723, allocations: 113.3 kB / 1.229 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.5724, allocations: 56.47 kB / 1.23 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.402e-05/0.5725, allocations: 39.97 kB / 1.23 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00212/0.5747, allocations: 1.19 MB / 1.231 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5747, allocations: 0 / 1.231 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00199/0.5767, allocations: 0.6348 MB / 1.231 GB, free: 4.629 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.002014/0.5787, allocations: 0.8713 MB / 1.232 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.5807, allocations: 0.9068 MB / 1.233 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.5807, allocations: 0 / 1.233 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009035/0.5816, allocations: 439.5 kB / 1.234 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00471/0.5863, allocations: 0.8415 MB / 1.234 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007073/0.5934, allocations: 4.544 MB / 1.239 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.5948, allocations: 1.494 MB / 1.24 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001602/0.5964, allocations: 367.9 kB / 1.241 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.5968, allocations: 151.4 kB / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/0.5969, allocations: 4 kB / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.6251/1.222, allocations: 33.65 MB / 1.274 GB, free: 166.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)