Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001587/0.001587, allocations: 105.8 kB / 16.64 MB, free: 6.816 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.001306/0.001306, allocations: 186 kB / 17.57 MB, free: 5.922 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.469/1.469, allocations: 222.9 MB / 241.2 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8701/0.8701, allocations: 126.1 MB / 417.4 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 63.91 kB / 0.4951 GB, free: 3.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4474, allocations: 78.71 MB / 0.572 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.08162/0.5291, allocations: 80.21 MB / 0.6503 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03044/0.5596, allocations: 18.6 MB / 0.6685 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00544/0.565, allocations: 91.5 kB / 0.6686 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004138/0.5692, allocations: 1.026 MB / 0.6696 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00961/0.5789, allocations: 2.589 MB / 0.6721 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005676/0.5846, allocations: 1.736 MB / 0.6738 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009183/0.5938, allocations: 5.53 MB / 0.6792 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004586/0.5984, allocations: 2.589 MB / 0.6817 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006008/0.6044, allocations: 2.15 MB / 0.6838 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005113/0.6096, allocations: 1.706 MB / 0.6855 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000876/0.6105, allocations: 307.9 kB / 0.6858 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/0.615, allocations: 1.72 MB / 0.6875 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.616, allocations: 0.6893 MB / 0.6881 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.6184, allocations: 1.442 MB / 0.6895 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006065/0.6244, allocations: 3.863 MB / 0.6933 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.6245, allocations: 3.984 kB / 0.6933 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6245, allocations: 0 / 0.6933 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001086/0.6246, allocations: 0 / 0.6933 GB, free: 10.22 MB / 0.5294 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.006126/0.6308, allocations: 3.035 MB / 0.6963 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.6308, allocations: 8.031 kB / 0.6963 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.6325, allocations: 420.3 kB / 0.6967 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003999/0.6365, allocations: 2.063 MB / 0.6987 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.6367, allocations: 139.6 kB / 0.6988 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/0.637, allocations: 184 kB / 0.699 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/0.6407, allocations: 1.909 MB / 0.7009 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.082e-05/0.6408, allocations: 3.984 kB / 0.7009 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.641, allocations: 72 kB / 0.7009 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.641, allocations: 48 kB / 0.701 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/0.6439, allocations: 1.442 MB / 0.7024 GB, free: 0.7148 MB / 0.5294 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.01201/0.6559, allocations: 8.044 MB / 0.7103 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.6583, allocations: 1.042 MB / 0.7113 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000732/0.659, allocations: 369.8 kB / 0.7116 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.6601, allocations: 1.164 MB / 0.7128 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009931/0.6611, allocations: 434.9 kB / 0.7132 GB, free: 4.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=67): time 3.858e-06/0.6611, allocations: 0 / 0.7132 GB, free: 4.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=67): time 0.002974/0.6641, allocations: 1.117 MB / 0.7143 GB, free: 3.816 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.6642, allocations: 145.1 kB / 0.7144 GB, free: 3.645 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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/IBPSA 4.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.003019/0.6673, allocations: 1.763 MB / 0.7161 GB, free: 1.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.6674, allocations: 53.69 kB / 0.7162 GB, free: 1.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.6688, allocations: 1.092 MB / 0.7172 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.6691, allocations: 240.7 kB / 0.7175 GB, free: 448 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003544/0.6694, allocations: 214.4 kB / 0.7177 GB, free: 228 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.6697, allocations: 341.9 kB / 0.718 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/0.6705, allocations: 365.8 kB / 0.7184 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.6716, allocations: 0.6907 MB / 0.719 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.6734, allocations: 1.001 MB / 0.72 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/0.6734, allocations: 7.938 kB / 0.72 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002771/0.6762, allocations: 1.249 MB / 0.7212 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.6762, allocations: 12.47 kB / 0.7212 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.6762, allocations: 8 kB / 0.7213 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.6763, allocations: 16 kB / 0.7213 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008158/0.6771, allocations: 219.7 kB / 0.7215 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.6771, allocations: 15.94 kB / 0.7215 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.6788, allocations: 206.7 kB / 0.7217 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.936e-05/0.6789, allocations: 51.98 kB / 0.7217 GB, free: 11.79 MB / 0.5606 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.001165/0.68, allocations: 0.4975 MB / 0.7222 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004072/0.6805, allocations: 189.6 kB / 0.7224 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.6827, allocations: 1.045 MB / 0.7234 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.6828, allocations: 4 kB / 0.7234 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6828, allocations: 4 kB / 0.7234 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001616/0.6844, allocations: 0.8553 MB / 0.7243 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005119/0.6895, allocations: 2.834 MB / 0.727 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.6896, allocations: 4.188 kB / 0.727 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/0.6902, allocations: 143.8 kB / 0.7272 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.6902, allocations: 11.88 kB / 0.7272 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.33e-05/0.6903, allocations: 27.98 kB / 0.7272 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.6903, allocations: 4 kB / 0.7272 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6903, allocations: 0 / 0.7272 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/0.6935, allocations: 1.522 MB / 0.7287 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008859/0.6944, allocations: 374.6 kB / 0.7291 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.6947, allocations: 32.06 kB / 0.7291 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009632/0.6956, allocations: 99.73 kB / 0.7292 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.6958, allocations: 64.42 kB / 0.7293 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/0.6959, allocations: 31.97 kB / 0.7293 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001945/0.6978, allocations: 1.194 MB / 0.7304 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6978, allocations: 0 / 0.7304 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002011/0.6999, allocations: 0.6348 MB / 0.7311 GB, free: 2.039 MB / 0.5606 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.00283/0.7027, allocations: 0.8753 MB / 0.7319 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00264/0.7054, allocations: 1.004 MB / 0.7329 GB, free: 388 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.7054, allocations: 4.25 kB / 0.7329 GB, free: 384 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008648/0.7063, allocations: 426.9 kB / 0.7333 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/0.7106, allocations: 0.8653 MB / 0.7342 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007905/0.7186, allocations: 4.52 MB / 0.7386 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.7199, allocations: 1.493 MB / 0.74 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006055/0.7205, allocations: 155.4 kB / 0.7402 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of SimCode: time 1.342e-06/0.7205, allocations: 0 / 0.7402 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of Templates: time 0.3738/1.094, allocations: 34.04 MB / 0.7734 GB, free: 145.3 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)