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.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001259/0.001259, allocations: 193.5 kB / 16.14 MB, free: 6.688 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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 65.83 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3612, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07661/0.4378, allocations: 80.43 MB / 1.146 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02631/0.4642, allocations: 18.78 MB / 1.164 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005025/0.4693, allocations: 95.44 kB / 1.164 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003843/0.4731, allocations: 0.9869 MB / 1.165 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008757/0.4819, allocations: 2.55 MB / 1.168 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005565/0.4875, allocations: 1.72 MB / 1.17 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008943/0.4965, allocations: 6.858 MB / 1.176 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003571/0.5001, allocations: 2.227 MB / 1.178 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004324/0.5044, allocations: 1.777 MB / 1.18 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002992/0.5074, allocations: 1.625 MB / 1.182 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.5078, allocations: 132 kB / 1.182 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004155/0.512, allocations: 1.466 MB / 1.183 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006364/0.5127, allocations: 0.5329 MB / 1.184 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.5144, allocations: 1.267 MB / 1.185 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006629/0.521, allocations: 4.65 MB / 1.19 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5211, allocations: 4 kB / 1.19 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5211, allocations: 0 / 1.19 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.278e-05/0.5211, allocations: 3.938 kB / 1.19 GB, free: 13.38 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.005411/0.5266, allocations: 3.029 MB / 1.193 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5266, allocations: 16.03 kB / 1.193 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.5282, allocations: 424.3 kB / 1.193 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.5315, allocations: 2.057 MB / 1.195 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.5316, allocations: 147.5 kB / 1.195 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.5319, allocations: 184 kB / 1.195 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003321/0.5352, allocations: 1.901 MB / 1.197 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.5353, allocations: 0 / 1.197 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.5354, allocations: 75.98 kB / 1.197 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/0.5355, allocations: 48 kB / 1.197 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002826/0.5383, allocations: 1.434 MB / 1.199 GB, free: 3.891 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.01012/0.5484, allocations: 8.055 MB / 1.207 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.5506, allocations: 1.052 MB / 1.208 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007192/0.5514, allocations: 367.4 kB / 1.208 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009663/0.5523, allocations: 1.16 MB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009227/0.5533, allocations: 430.9 kB / 1.21 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=67): time 3.807e-06/0.5533, allocations: 4 kB / 1.21 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67): time 0.002694/0.556, allocations: 1.125 MB / 1.211 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.5562, allocations: 137.1 kB / 1.211 GB, free: 6.805 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.002842/0.559, allocations: 1.763 MB / 1.213 GB, free: 5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.5591, allocations: 49.69 kB / 1.213 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009699/0.5601, allocations: 1.084 MB / 1.214 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.5604, allocations: 240.6 kB / 1.214 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/0.5607, allocations: 218.4 kB / 1.214 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5608, allocations: 341.9 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007772/0.5616, allocations: 361.8 kB / 1.215 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.5627, allocations: 0.6946 MB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.5645, allocations: 1.006 MB / 1.216 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.5645, allocations: 4 kB / 1.216 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00258/0.5671, allocations: 1.245 MB / 1.218 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.5671, allocations: 8 kB / 1.218 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.5671, allocations: 15.94 kB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.5672, allocations: 12.53 kB / 1.218 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.568, allocations: 223.7 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-05/0.568, allocations: 19.94 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.5695, allocations: 202.7 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5696, allocations: 47.98 kB / 1.218 GB, free: 14.96 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.0008681/0.5705, allocations: 0.4992 MB / 1.219 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.5709, allocations: 193.6 kB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.5732, allocations: 1.041 MB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.5732, allocations: 11.94 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.5732, allocations: 3.984 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001636/0.5749, allocations: 0.8553 MB / 1.221 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004946/0.5798, allocations: 2.842 MB / 1.223 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.5798, allocations: 4 kB / 1.223 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.5805, allocations: 144 kB / 1.224 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.5805, allocations: 4 kB / 1.224 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-05/0.5806, allocations: 27.98 kB / 1.224 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.5806, allocations: 7.938 kB / 1.224 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5806, allocations: 4 kB / 1.224 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.5836, allocations: 1.522 MB / 1.225 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/0.5843, allocations: 378.5 kB / 1.225 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.5846, allocations: 24 kB / 1.225 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.5856, allocations: 107.7 kB / 1.226 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.5858, allocations: 60.41 kB / 1.226 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.5859, allocations: 35.98 kB / 1.226 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001895/0.5878, allocations: 1.19 MB / 1.227 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5878, allocations: 0 / 1.227 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00184/0.5896, allocations: 0.631 MB / 1.227 GB, free: 5.199 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.002001/0.5916, allocations: 0.87 MB / 1.228 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.5936, allocations: 0.8863 MB / 1.229 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.5937, allocations: 1.188 kB / 1.229 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008706/0.5945, allocations: 423.4 kB / 1.23 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/0.5986, allocations: 0.8389 MB / 1.23 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00745/0.606, allocations: 4.45 MB / 1.235 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.6076, allocations: 1.498 MB / 1.236 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001887/0.6095, allocations: 363.8 kB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.6101, allocations: 147.4 kB / 1.237 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/0.6101, allocations: 0 / 1.237 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of Templates: time 0.5794/1.189, allocations: 33.49 MB / 1.269 GB, free: 169.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)