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.00185/0.00185, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001336/0.001336, allocations: 198.8 kB / 16.14 MB, free: 6.707 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.61 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3502, allocations: 159.9 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.08762/0.4378, allocations: 80.7 MB / 1.146 GB, free: 10 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02878/0.4666, allocations: 19.35 MB / 1.165 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004395/0.4711, allocations: 95.44 kB / 1.165 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003753/0.4749, allocations: 1.116 MB / 1.166 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008399/0.4833, allocations: 2.617 MB / 1.169 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005423/0.4887, allocations: 1.996 MB / 1.171 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009066/0.4978, allocations: 7.126 MB / 1.178 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004451/0.5023, allocations: 2.266 MB / 1.18 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004723/0.507, allocations: 1.82 MB / 1.182 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.5105, allocations: 1.668 MB / 1.183 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007681/0.5113, allocations: 132 kB / 1.184 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004305/0.5156, allocations: 1.466 MB / 1.185 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.5167, allocations: 0.6186 MB / 1.186 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.5193, allocations: 1.344 MB / 1.187 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007606/0.5269, allocations: 4.966 MB / 1.192 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5269, allocations: 0 / 1.192 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5269, allocations: 4 kB / 1.192 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001651/0.5271, allocations: 0 / 1.192 GB, free: 11.27 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.008581/0.5357, allocations: 3.297 MB / 1.195 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5357, allocations: 12.03 kB / 1.195 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.5374, allocations: 376.2 kB / 1.195 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/0.5428, allocations: 2.603 MB / 1.198 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.543, allocations: 139.5 kB / 1.198 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004526/0.5434, allocations: 179.9 kB / 1.198 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004114/0.5475, allocations: 1.829 MB / 1.2 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.5476, allocations: 3.984 kB / 1.2 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.5478, allocations: 75.98 kB / 1.2 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.5478, allocations: 44 kB / 1.2 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.5508, allocations: 1.352 MB / 1.201 GB, free: 1.137 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.01165/0.5624, allocations: 7.902 MB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.5645, allocations: 0.9069 MB / 1.21 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.5653, allocations: 349.5 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.5665, allocations: 1.156 MB / 1.212 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.5675, allocations: 415 kB / 1.212 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=66): time 3.978e-06/0.5675, allocations: 0 / 1.212 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66): time 0.002889/0.5704, allocations: 1.078 MB / 1.213 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/0.5705, allocations: 141.1 kB / 1.213 GB, free: 4.465 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.004115/0.5747, allocations: 2.059 MB / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.5748, allocations: 49.7 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.5761, allocations: 1.183 MB / 1.216 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.5764, allocations: 236.7 kB / 1.217 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/0.5768, allocations: 218.4 kB / 1.217 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.577, allocations: 345.9 kB / 1.217 GB, free: 336 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.5777, allocations: 337.8 kB / 1.217 GB, free: 0 / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.5788, allocations: 0.6685 MB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.5804, allocations: 0.9324 MB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.5804, allocations: 4 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002758/0.5832, allocations: 1.206 MB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.5832, allocations: 12 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.5833, allocations: 4 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.5833, allocations: 16 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/0.5841, allocations: 211.6 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.903e-05/0.5841, allocations: 15.94 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.5859, allocations: 212.6 kB / 1.221 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.586, allocations: 51.98 kB / 1.221 GB, free: 12.43 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.001212/0.5873, allocations: 0.5639 MB / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/0.5878, allocations: 213.4 kB / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.5901, allocations: 1.03 MB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.5901, allocations: 8 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.5901, allocations: 3.984 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001445/0.5916, allocations: 0.8124 MB / 1.223 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.5971, allocations: 2.853 MB / 1.226 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.5971, allocations: 12.12 kB / 1.226 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.5977, allocations: 139.7 kB / 1.226 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.5978, allocations: 4 kB / 1.226 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.5978, allocations: 23.98 kB / 1.226 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.5979, allocations: 4 kB / 1.226 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5979, allocations: 4 kB / 1.226 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.6007, allocations: 1.477 MB / 1.228 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000932/0.6017, allocations: 394.3 kB / 1.228 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/0.6022, allocations: 27.98 kB / 1.228 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.6034, allocations: 95.88 kB / 1.228 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.6036, allocations: 60.42 kB / 1.228 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/0.6037, allocations: 43.91 kB / 1.228 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002796/0.6065, allocations: 1.404 MB / 1.23 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6065, allocations: 0 / 1.23 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002226/0.6087, allocations: 0.6466 MB / 1.23 GB, free: 2.441 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.002722/0.6114, allocations: 1.101 MB / 1.231 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.6134, allocations: 0.8326 MB / 1.232 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6134, allocations: 4.125 kB / 1.232 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008596/0.6143, allocations: 403 kB / 1.233 GB, free: 432 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004645/0.619, allocations: 0.8702 MB / 1.233 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008218/0.6272, allocations: 4.916 MB / 1.238 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.629, allocations: 1.6 MB / 1.24 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002063/0.6311, allocations: 400.2 kB / 1.24 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/0.6318, allocations: 183.3 kB / 1.24 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.6318, allocations: 0 / 1.24 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of Templates: time 0.551/1.183, allocations: 35.23 MB / 1.275 GB, free: 166.9 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)