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.001221/0.001221, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001474/0.001474, allocations: 191.8 kB / 16.13 MB, free: 6.668 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.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 472.6 MB / 0.7447 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 65.3 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3416, allocations: 159.9 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07569/0.4174, allocations: 80.44 MB / 1.146 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02977/0.4472, allocations: 18.78 MB / 1.164 GB, free: 7.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005934/0.4531, allocations: 95.5 kB / 1.164 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003898/0.4571, allocations: 0.9791 MB / 1.165 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009017/0.4662, allocations: 2.555 MB / 1.168 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005588/0.4718, allocations: 1.717 MB / 1.17 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008951/0.4807, allocations: 6.85 MB / 1.176 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003853/0.4846, allocations: 2.247 MB / 1.179 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.4893, allocations: 1.777 MB / 1.18 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/0.4925, allocations: 1.61 MB / 1.182 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004021/0.4929, allocations: 135.9 kB / 1.182 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003927/0.4968, allocations: 1.466 MB / 1.183 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000648/0.4975, allocations: 0.5406 MB / 1.184 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.4993, allocations: 1.263 MB / 1.185 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006409/0.5057, allocations: 4.646 MB / 1.19 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5057, allocations: 0 / 1.19 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5058, allocations: 0 / 1.19 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.931e-05/0.5058, allocations: 0 / 1.19 GB, free: 13.45 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.005778/0.5116, allocations: 3.039 MB / 1.193 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5117, allocations: 8.031 kB / 1.193 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.5134, allocations: 420.3 kB / 1.193 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.5173, allocations: 2.065 MB / 1.195 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.5174, allocations: 151.5 kB / 1.195 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.5177, allocations: 180 kB / 1.195 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/0.5212, allocations: 1.897 MB / 1.197 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.5213, allocations: 3.938 kB / 1.197 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.5214, allocations: 79.98 kB / 1.197 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/0.5215, allocations: 44 kB / 1.197 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.5243, allocations: 1.438 MB / 1.199 GB, free: 3.945 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.01064/0.535, allocations: 8.048 MB / 1.207 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.5374, allocations: 1.046 MB / 1.208 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.5381, allocations: 368 kB / 1.208 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008037/0.5389, allocations: 1.156 MB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009274/0.5399, allocations: 438.8 kB / 1.21 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=67): time 5.19e-06/0.5399, allocations: 0 / 1.21 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67): time 0.002862/0.5428, allocations: 1.125 MB / 1.211 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.5429, allocations: 145.1 kB / 1.211 GB, free: 6.867 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.002571/0.5454, allocations: 1.755 MB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.5455, allocations: 49.7 kB / 1.213 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000928/0.5465, allocations: 1.088 MB / 1.214 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.5467, allocations: 244.6 kB / 1.214 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.5471, allocations: 214.5 kB / 1.214 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5472, allocations: 341.9 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007625/0.548, allocations: 365.8 kB / 1.215 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.5491, allocations: 0.6985 MB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.5507, allocations: 1.001 MB / 1.216 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.5508, allocations: 4 kB / 1.216 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002525/0.5533, allocations: 1.249 MB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.5533, allocations: 8 kB / 1.218 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.5533, allocations: 8.531 kB / 1.218 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.5534, allocations: 20 kB / 1.218 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008125/0.5542, allocations: 223.6 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/0.5542, allocations: 23.91 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.5557, allocations: 209.5 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/0.5558, allocations: 47.98 kB / 1.218 GB, free: 15.02 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.0009506/0.5567, allocations: 0.5014 MB / 1.219 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/0.557, allocations: 193.6 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.5592, allocations: 1.038 MB / 1.22 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.5593, allocations: 12 kB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.5593, allocations: 0 / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001621/0.5609, allocations: 0.8515 MB / 1.221 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.5658, allocations: 2.842 MB / 1.223 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5658, allocations: 0 / 1.223 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.5665, allocations: 144 kB / 1.224 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.5665, allocations: 4 kB / 1.224 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/0.5666, allocations: 31.97 kB / 1.224 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.5666, allocations: 7.938 kB / 1.224 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.5666, allocations: 7.938 kB / 1.224 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.5695, allocations: 1.522 MB / 1.225 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006712/0.5702, allocations: 370.6 kB / 1.225 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.5705, allocations: 27.98 kB / 1.225 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.5716, allocations: 99.75 kB / 1.226 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.5718, allocations: 60.47 kB / 1.226 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/0.5719, allocations: 35.97 kB / 1.226 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002021/0.5739, allocations: 1.186 MB / 1.227 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5739, allocations: 0 / 1.227 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001925/0.5758, allocations: 0.6387 MB / 1.227 GB, free: 5.262 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.002072/0.5779, allocations: 0.8765 MB / 1.228 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.58, allocations: 0.8835 MB / 1.229 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.58, allocations: 0 / 1.229 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.5809, allocations: 427.2 kB / 1.23 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/0.5851, allocations: 0.8348 MB / 1.23 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007107/0.5922, allocations: 4.443 MB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.5937, allocations: 1.501 MB / 1.236 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001719/0.5954, allocations: 367.7 kB / 1.237 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/0.5959, allocations: 139.4 kB / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.5959, allocations: 4 kB / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of Templates: time 0.6353/1.231, allocations: 33.49 MB / 1.269 GB, free: 170.2 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)