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.001194/0.001193, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.22 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3594, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.09307/0.4525, allocations: 81.29 MB / 1.148 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03121/0.4838, allocations: 19.49 MB / 1.167 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005091/0.4889, allocations: 107.4 kB / 1.167 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00474/0.4937, allocations: 1.324 MB / 1.168 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.5039, allocations: 2.848 MB / 1.171 GB, free: 1.047 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007139/0.511, allocations: 2.198 MB / 1.173 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009478/0.5205, allocations: 5.723 MB / 1.178 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005396/0.526, allocations: 2.64 MB / 1.181 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005939/0.5319, allocations: 2.196 MB / 1.183 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003524/0.5355, allocations: 1.699 MB / 1.185 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.5366, allocations: 308 kB / 1.185 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004732/0.5413, allocations: 1.704 MB / 1.187 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.5429, allocations: 0.7787 MB / 1.188 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003286/0.5462, allocations: 1.528 MB / 1.189 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008996/0.5552, allocations: 5.075 MB / 1.194 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5552, allocations: 4 kB / 1.194 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5553, allocations: 0 / 1.194 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001894/0.5554, allocations: 0 / 1.194 GB, free: 9.117 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.008809/0.5643, allocations: 3.293 MB / 1.197 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5643, allocations: 8.031 kB / 1.197 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.5661, allocations: 384.2 kB / 1.198 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005758/0.5719, allocations: 2.551 MB / 1.2 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.572, allocations: 135.5 kB / 1.2 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005534/0.5726, allocations: 187.9 kB / 1.2 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004207/0.5768, allocations: 1.833 MB / 1.202 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/0.5769, allocations: 0 / 1.202 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.5771, allocations: 72 kB / 1.202 GB, free: 444 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.5772, allocations: 44 kB / 1.202 GB, free: 400 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.5802, allocations: 1.348 MB / 1.204 GB, free: 15.04 MB / 0.9669 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.01191/0.5921, allocations: 7.976 MB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.5944, allocations: 0.8986 MB / 1.212 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.5951, allocations: 343 kB / 1.213 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009311/0.5961, allocations: 1.16 MB / 1.214 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008735/0.597, allocations: 407.4 kB / 1.214 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=66): time 3.416e-06/0.597, allocations: 0 / 1.214 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66): time 0.002788/0.5998, allocations: 1.078 MB / 1.215 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/0.5999, allocations: 141.1 kB / 1.215 GB, free: 2.309 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.004089/0.604, allocations: 2.083 MB / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.6042, allocations: 45.7 kB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.6056, allocations: 1.191 MB / 1.219 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.6059, allocations: 232.7 kB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/0.6063, allocations: 214.4 kB / 1.219 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6065, allocations: 349.9 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/0.6072, allocations: 337.8 kB / 1.22 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.6082, allocations: 0.6684 MB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.6099, allocations: 0.9324 MB / 1.221 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.6099, allocations: 4 kB / 1.221 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002669/0.6126, allocations: 1.202 MB / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.6127, allocations: 8 kB / 1.222 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.6127, allocations: 11.94 kB / 1.222 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.6127, allocations: 12 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.6135, allocations: 211.6 kB / 1.223 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/0.6135, allocations: 19.92 kB / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.615, allocations: 159 kB / 1.223 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.6151, allocations: 47.98 kB / 1.223 GB, free: 10.3 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.001134/0.6163, allocations: 0.5745 MB / 1.223 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000684/0.617, allocations: 213.3 kB / 1.224 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.6195, allocations: 1.026 MB / 1.225 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.6195, allocations: 15.98 kB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6196, allocations: 0 / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/0.621, allocations: 0.8085 MB / 1.225 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006029/0.627, allocations: 2.881 MB / 1.228 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.6271, allocations: 3.938 kB / 1.228 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.6277, allocations: 132 kB / 1.228 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.6277, allocations: 4 kB / 1.228 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.6278, allocations: 27.98 kB / 1.228 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.6278, allocations: 11.92 kB / 1.228 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6278, allocations: 4 kB / 1.228 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/0.6306, allocations: 1.473 MB / 1.23 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008637/0.6315, allocations: 398.2 kB / 1.23 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005186/0.632, allocations: 27.92 kB / 1.23 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.6331, allocations: 56.08 kB / 1.23 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.6333, allocations: 60.47 kB / 1.23 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.6334, allocations: 31.98 kB / 1.23 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002743/0.6362, allocations: 1.416 MB / 1.232 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6362, allocations: 4 kB / 1.232 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002304/0.6385, allocations: 0.6466 MB / 1.232 GB, free: 328 kB / 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.002688/0.6412, allocations: 1.133 MB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002384/0.6436, allocations: 0.9496 MB / 1.234 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.6436, allocations: 0 / 1.234 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008007/0.6444, allocations: 403 kB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004809/0.6492, allocations: 0.8981 MB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007552/0.6568, allocations: 3.965 MB / 1.24 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.6586, allocations: 1.595 MB / 1.241 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001878/0.6605, allocations: 413.9 kB / 1.242 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/0.6611, allocations: 171.4 kB / 1.242 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of SimCode: time 1.112e-06/0.6612, allocations: 0 / 1.242 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of Templates: time 0.5973/1.258, allocations: 36.78 MB / 1.278 GB, free: 164.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)