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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.739/2.739, allocations: 472.6 MB / 0.7451 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 66.52 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2977, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.08938/0.3871, allocations: 81.02 MB / 1.147 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03116/0.4183, allocations: 18.93 MB / 1.166 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00604/0.4244, allocations: 107.4 kB / 1.166 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004117/0.4286, allocations: 1.157 MB / 1.167 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009197/0.4378, allocations: 2.798 MB / 1.17 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005565/0.4434, allocations: 1.89 MB / 1.172 GB, free: 276 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007993/0.4514, allocations: 5.489 MB / 1.177 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004548/0.456, allocations: 2.62 MB / 1.179 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005461/0.4615, allocations: 2.13 MB / 1.182 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00301/0.4645, allocations: 1.668 MB / 1.183 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008921/0.4654, allocations: 304 kB / 1.183 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004654/0.4701, allocations: 1.685 MB / 1.185 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.4713, allocations: 0.6892 MB / 1.186 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00321/0.4745, allocations: 1.446 MB / 1.187 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00852/0.483, allocations: 4.744 MB / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.4831, allocations: 4 kB / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.185e-06/0.4831, allocations: 0 / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001577/0.4833, allocations: 0 / 1.192 GB, free: 11.4 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.006918/0.4902, allocations: 3.039 MB / 1.195 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4902, allocations: 12.03 kB / 1.195 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.4921, allocations: 424.3 kB / 1.195 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/0.4959, allocations: 2.009 MB / 1.197 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.496, allocations: 147.5 kB / 1.197 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.4964, allocations: 183.9 kB / 1.198 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.5001, allocations: 1.909 MB / 1.199 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.5001, allocations: 0 / 1.199 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.5003, allocations: 76 kB / 1.199 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/0.5004, allocations: 51.94 kB / 1.2 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.5034, allocations: 1.431 MB / 1.201 GB, free: 1.934 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.01103/0.5144, allocations: 8.114 MB / 1.209 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.5167, allocations: 1.047 MB / 1.21 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007032/0.5175, allocations: 366.3 kB / 1.21 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008969/0.5184, allocations: 1.156 MB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008988/0.5193, allocations: 434.9 kB / 1.212 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=67): time 3.076e-06/0.5193, allocations: 0 / 1.212 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67): time 0.002645/0.5219, allocations: 1.125 MB / 1.213 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.522, allocations: 142.5 kB / 1.213 GB, free: 4.797 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.002849/0.5249, allocations: 1.783 MB / 1.215 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.525, allocations: 45.7 kB / 1.215 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009866/0.526, allocations: 1.088 MB / 1.216 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.5263, allocations: 236.6 kB / 1.216 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.5266, allocations: 214.5 kB / 1.216 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5267, allocations: 345.9 kB / 1.217 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007524/0.5275, allocations: 361.8 kB / 1.217 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.5285, allocations: 0.7002 MB / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.5302, allocations: 1.005 MB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5302, allocations: 0 / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002637/0.5329, allocations: 1.253 MB / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.5329, allocations: 9.406 kB / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5329, allocations: 12.03 kB / 1.22 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.533, allocations: 16 kB / 1.22 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/0.5338, allocations: 223.6 kB / 1.22 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.75e-05/0.5338, allocations: 16 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.5351, allocations: 166.6 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.5352, allocations: 44 kB / 1.22 GB, free: 12.98 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.0009018/0.5361, allocations: 0.4958 MB / 1.221 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.5365, allocations: 193.6 kB / 1.221 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.5389, allocations: 1.044 MB / 1.222 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.5389, allocations: 8 kB / 1.222 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.539, allocations: 0 / 1.222 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/0.5405, allocations: 0.8592 MB / 1.223 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/0.5456, allocations: 2.857 MB / 1.226 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5456, allocations: 0 / 1.226 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/0.5463, allocations: 148 kB / 1.226 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.5463, allocations: 4 kB / 1.226 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-05/0.5464, allocations: 23.98 kB / 1.226 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.5464, allocations: 11.92 kB / 1.226 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.778e-06/0.5464, allocations: 7.938 kB / 1.226 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.5495, allocations: 1.515 MB / 1.227 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008881/0.5504, allocations: 378.5 kB / 1.228 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/0.5508, allocations: 23.98 kB / 1.228 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/0.5518, allocations: 55.88 kB / 1.228 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.5519, allocations: 68.42 kB / 1.228 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.811e-05/0.552, allocations: 36.09 kB / 1.228 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001931/0.554, allocations: 1.206 MB / 1.229 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.554, allocations: 0 / 1.229 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001789/0.5558, allocations: 0.6387 MB / 1.23 GB, free: 3.219 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.00184/0.5576, allocations: 0.8819 MB / 1.23 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002341/0.56, allocations: 1.016 MB / 1.231 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.56, allocations: 0 / 1.231 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.5608, allocations: 423.2 kB / 1.232 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/0.5647, allocations: 0.8612 MB / 1.233 GB, free: 260 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.5709, allocations: 3.616 MB / 1.236 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.5721, allocations: 1.497 MB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001437/0.5736, allocations: 365.2 kB / 1.238 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.574, allocations: 151.4 kB / 1.238 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of SimCode: time 7.91e-07/0.574, allocations: 0 / 1.238 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of Templates: time 0.606/1.18, allocations: 35.03 MB / 1.272 GB, free: 167.6 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)