Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.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.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.009639/0.009639, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.512/1.512, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8.719 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3845, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.09024/0.4748, allocations: 79.22 MB / 1.151 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03117/0.5061, allocations: 19.14 MB / 1.17 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005365/0.5115, allocations: 91.44 kB / 1.17 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00444/0.5159, allocations: 1.112 MB / 1.171 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009116/0.5251, allocations: 2.613 MB / 1.174 GB, free: 1.035 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00642/0.5315, allocations: 2.015 MB / 1.176 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0103/0.5419, allocations: 7.116 MB / 1.183 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003983/0.5459, allocations: 2.135 MB / 1.185 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004383/0.5503, allocations: 1.691 MB / 1.187 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003226/0.5536, allocations: 1.488 MB / 1.188 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004759/0.5541, allocations: 72 kB / 1.188 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/0.558, allocations: 1.415 MB / 1.189 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007917/0.5588, allocations: 0.5249 MB / 1.19 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002104/0.561, allocations: 1.244 MB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007711/0.5687, allocations: 4.824 MB / 1.196 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5687, allocations: 0 / 1.196 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5688, allocations: 0 / 1.196 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001341/0.5689, allocations: 4 kB / 1.196 GB, free: 10.42 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.006005/0.5749, allocations: 2.734 MB / 1.199 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.575, allocations: 12.03 kB / 1.199 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.5762, allocations: 408.1 kB / 1.199 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.581, allocations: 2.581 MB / 1.202 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.5811, allocations: 139.5 kB / 1.202 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.5814, allocations: 191.8 kB / 1.202 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/0.585, allocations: 1.835 MB / 1.204 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.5851, allocations: 7.938 kB / 1.204 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.5852, allocations: 76 kB / 1.204 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.995e-05/0.5853, allocations: 44 kB / 1.204 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.588, allocations: 1.364 MB / 1.205 GB, free: 0.8125 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.01085/0.5989, allocations: 7.934 MB / 1.213 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.6012, allocations: 0.9302 MB / 1.214 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.6019, allocations: 347.8 kB / 1.214 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.6031, allocations: 1.16 MB / 1.215 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008762/0.604, allocations: 414.9 kB / 1.216 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=66): time 3.777e-06/0.604, allocations: 4 kB / 1.216 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66): time 0.002699/0.6067, allocations: 1.098 MB / 1.217 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.6068, allocations: 141.1 kB / 1.217 GB, free: 4.059 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.003737/0.6106, allocations: 2.055 MB / 1.219 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.6108, allocations: 57.56 kB / 1.219 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.6123, allocations: 1.183 MB / 1.22 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.6126, allocations: 236.7 kB / 1.22 GB, free: 496 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.6128, allocations: 93.67 kB / 1.22 GB, free: 396 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6129, allocations: 349.9 kB / 1.221 GB, free: 40 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007611/0.6137, allocations: 341.9 kB / 1.221 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.6147, allocations: 0.6724 MB / 1.222 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.6163, allocations: 0.9402 MB / 1.223 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.6163, allocations: 4 kB / 1.223 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002683/0.619, allocations: 1.221 MB / 1.224 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.6191, allocations: 8 kB / 1.224 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.6191, allocations: 8 kB / 1.224 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/0.6191, allocations: 16.53 kB / 1.224 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.6199, allocations: 215.7 kB / 1.224 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.6199, allocations: 19.92 kB / 1.224 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.6217, allocations: 214.1 kB / 1.224 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.322e-05/0.6218, allocations: 44 kB / 1.224 GB, free: 12.11 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (118): * Single equations (assignments): 118 * 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.001351/0.6232, allocations: 0.58 MB / 1.225 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005477/0.6237, allocations: 209.4 kB / 1.225 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.6262, allocations: 1.035 MB / 1.226 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.6262, allocations: 8 kB / 1.226 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6262, allocations: 0 / 1.226 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001471/0.6277, allocations: 0.8242 MB / 1.227 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/0.6336, allocations: 2.888 MB / 1.23 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.6336, allocations: 3.938 kB / 1.23 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.6342, allocations: 135.8 kB / 1.23 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/0.6342, allocations: 4 kB / 1.23 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/0.6343, allocations: 35.91 kB / 1.23 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.6343, allocations: 4 kB / 1.23 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6343, allocations: 0 / 1.23 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/0.6375, allocations: 1.5 MB / 1.231 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.6388, allocations: 446 kB / 1.232 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/0.6392, allocations: 20 kB / 1.232 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.6405, allocations: 103.3 kB / 1.232 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.6406, allocations: 60.47 kB / 1.232 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.6407, allocations: 39.97 kB / 1.232 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002851/0.6436, allocations: 1.397 MB / 1.233 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6436, allocations: 0 / 1.233 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00214/0.6457, allocations: 0.6466 MB / 1.234 GB, free: 2.004 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 (72): * Single equations (assignments): 64 * 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.002736/0.6485, allocations: 1.122 MB / 1.235 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.6505, allocations: 0.8473 MB / 1.236 GB, free: 352 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6505, allocations: 4 kB / 1.236 GB, free: 348 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008715/0.6514, allocations: 412.4 kB / 1.236 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005674/0.6571, allocations: 0.871 MB / 1.237 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009097/0.6662, allocations: 4.99 MB / 1.242 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.6681, allocations: 1.6 MB / 1.244 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00189/0.67, allocations: 404.8 kB / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000639/0.6706, allocations: 183.3 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.6706, allocations: 0 / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of Templates: time 0.5542/1.225, allocations: 35.39 MB / 1.279 GB, free: 163.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)