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.001613/0.001613, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.0021/0.002101, allocations: 190.9 kB / 16.25 MB, free: 6.148 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.83 kB / 0.9115 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2977, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.08914/0.3868, allocations: 80.25 MB / 1.146 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03007/0.4169, allocations: 18.62 MB / 1.164 GB, free: 7.578 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006196/0.4232, allocations: 95.44 kB / 1.164 GB, free: 7.484 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00385/0.4271, allocations: 1.022 MB / 1.165 GB, free: 6.457 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008069/0.4352, allocations: 2.586 MB / 1.168 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005105/0.4403, allocations: 1.734 MB / 1.17 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007715/0.448, allocations: 5.52 MB / 1.175 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004182/0.4522, allocations: 2.585 MB / 1.177 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/0.4572, allocations: 2.166 MB / 1.18 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.46, allocations: 1.719 MB / 1.181 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007141/0.4608, allocations: 303.9 kB / 1.182 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.4647, allocations: 1.704 MB / 1.183 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009828/0.4657, allocations: 0.6931 MB / 1.184 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002495/0.4682, allocations: 1.442 MB / 1.185 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007066/0.4753, allocations: 4.764 MB / 1.19 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.4754, allocations: 0 / 1.19 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4754, allocations: 0 / 1.19 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001436/0.4756, allocations: 4 kB / 1.19 GB, free: 13.14 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.008291/0.4839, allocations: 3.031 MB / 1.193 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.4839, allocations: 8.031 kB / 1.193 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.4857, allocations: 424.3 kB / 1.193 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005751/0.4915, allocations: 2.061 MB / 1.195 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.4917, allocations: 143.5 kB / 1.195 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003356/0.4921, allocations: 184 kB / 1.196 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/0.4957, allocations: 1.897 MB / 1.198 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/0.4958, allocations: 3.938 kB / 1.198 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.4959, allocations: 72 kB / 1.198 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.674e-05/0.496, allocations: 59.98 kB / 1.198 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/0.4987, allocations: 1.434 MB / 1.199 GB, free: 3.645 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.01052/0.5092, allocations: 8.051 MB / 1.207 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.5114, allocations: 1.045 MB / 1.208 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.5121, allocations: 367.8 kB / 1.208 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008865/0.513, allocations: 1.156 MB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009151/0.5139, allocations: 442.8 kB / 1.21 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=67): time 3.417e-06/0.514, allocations: 0 / 1.21 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67): time 0.002547/0.5165, allocations: 1.121 MB / 1.211 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.5166, allocations: 137.1 kB / 1.211 GB, free: 6.57 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.002308/0.5189, allocations: 1.763 MB / 1.213 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.923e-05/0.519, allocations: 49.64 kB / 1.213 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009165/0.5199, allocations: 1.085 MB / 1.214 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.5202, allocations: 248.6 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.5205, allocations: 210.5 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5206, allocations: 345.9 kB / 1.215 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007238/0.5214, allocations: 365.8 kB / 1.215 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.5224, allocations: 0.6985 MB / 1.216 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.524, allocations: 1.001 MB / 1.217 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.524, allocations: 4 kB / 1.217 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002349/0.5264, allocations: 1.249 MB / 1.218 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.5264, allocations: 8 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.5264, allocations: 8 kB / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.5265, allocations: 12 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008089/0.5273, allocations: 231.5 kB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.5273, allocations: 15.94 kB / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.5287, allocations: 206.8 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.5288, allocations: 55.98 kB / 1.218 GB, free: 14.71 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.0008693/0.5296, allocations: 0.4936 MB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.5299, allocations: 189.6 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.5321, allocations: 1.045 MB / 1.22 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.5321, allocations: 7.984 kB / 1.22 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5321, allocations: 4 kB / 1.22 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/0.5337, allocations: 0.8515 MB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/0.5384, allocations: 2.85 MB / 1.224 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5384, allocations: 4 kB / 1.224 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/0.5391, allocations: 139.8 kB / 1.224 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.5391, allocations: 4 kB / 1.224 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.5392, allocations: 27.98 kB / 1.224 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.5392, allocations: 11.92 kB / 1.224 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5392, allocations: 4.188 kB / 1.224 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.5419, allocations: 1.518 MB / 1.225 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/0.5425, allocations: 374.6 kB / 1.226 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.5427, allocations: 20 kB / 1.226 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009516/0.5437, allocations: 103.7 kB / 1.226 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.5438, allocations: 64.47 kB / 1.226 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.5439, allocations: 27.98 kB / 1.226 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001643/0.5456, allocations: 1.198 MB / 1.227 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5456, allocations: 0 / 1.227 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001771/0.5474, allocations: 0.6426 MB / 1.228 GB, free: 4.949 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.001837/0.5492, allocations: 0.8676 MB / 1.229 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002264/0.5515, allocations: 1.016 MB / 1.23 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5515, allocations: 0 / 1.23 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007805/0.5523, allocations: 419.8 kB / 1.23 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/0.5557, allocations: 0.8572 MB / 1.231 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/0.5618, allocations: 4.452 MB / 1.235 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.5629, allocations: 1.497 MB / 1.237 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001292/0.5642, allocations: 366.8 kB / 1.237 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.5646, allocations: 151.3 kB / 1.237 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.5646, allocations: 0 / 1.237 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.5888/1.153, allocations: 34.48 MB / 1.271 GB, free: 169.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)