Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001198/0.001197, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00888/0.00888, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.384/1.384, 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.945/2.945, allocations: 473.4 MB / 0.7469 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 10.97 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.313, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.07754/0.3906, allocations: 79.22 MB / 1.151 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02685/0.4175, allocations: 19.13 MB / 1.17 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004957/0.4225, allocations: 99.38 kB / 1.17 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.4262, allocations: 1.108 MB / 1.171 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008087/0.4343, allocations: 2.613 MB / 1.174 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005952/0.4403, allocations: 2.01 MB / 1.176 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009291/0.4496, allocations: 7.118 MB / 1.183 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003484/0.4531, allocations: 2.139 MB / 1.185 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.4568, allocations: 1.699 MB / 1.187 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.459, allocations: 1.488 MB / 1.188 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.4593, allocations: 72 kB / 1.188 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.4626, allocations: 1.411 MB / 1.189 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006272/0.4632, allocations: 0.5288 MB / 1.19 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.4648, allocations: 1.244 MB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006088/0.4709, allocations: 4.816 MB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4709, allocations: 4 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4709, allocations: 0 / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.332e-05/0.471, allocations: 3.938 kB / 1.196 GB, free: 10.46 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.004861/0.4759, allocations: 2.746 MB / 1.199 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4759, allocations: 8.031 kB / 1.199 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.477, allocations: 400.2 kB / 1.199 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/0.4811, allocations: 2.591 MB / 1.202 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.4812, allocations: 143.5 kB / 1.202 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.4815, allocations: 183.8 kB / 1.202 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/0.4848, allocations: 1.833 MB / 1.204 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.4848, allocations: 7.938 kB / 1.204 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.485, allocations: 72 kB / 1.204 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/0.4851, allocations: 44 kB / 1.204 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.4876, allocations: 1.368 MB / 1.205 GB, free: 0.8477 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.009554/0.4972, allocations: 7.93 MB / 1.213 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.4992, allocations: 0.9342 MB / 1.214 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.4999, allocations: 355.6 kB / 1.214 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008238/0.5007, allocations: 1.16 MB / 1.215 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008073/0.5015, allocations: 411 kB / 1.216 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=66): time 3.095e-06/0.5016, allocations: 0 / 1.216 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66): time 0.00235/0.5039, allocations: 1.102 MB / 1.217 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.504, allocations: 141.1 kB / 1.217 GB, free: 4.09 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.002834/0.5068, allocations: 2.059 MB / 1.219 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.507, allocations: 49.7 kB / 1.219 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.508, allocations: 1.179 MB / 1.22 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.5083, allocations: 240.7 kB / 1.22 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.5084, allocations: 97.66 kB / 1.22 GB, free: 428 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5085, allocations: 345.9 kB / 1.221 GB, free: 76 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.5092, allocations: 341.9 kB / 1.221 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009116/0.5101, allocations: 0.6723 MB / 1.222 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.5116, allocations: 0.9441 MB / 1.223 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5116, allocations: 3.938 kB / 1.223 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002238/0.5139, allocations: 1.214 MB / 1.224 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.5139, allocations: 8 kB / 1.224 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.5139, allocations: 12 kB / 1.224 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.514, allocations: 12 kB / 1.224 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.5147, allocations: 219.6 kB / 1.224 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.5147, allocations: 19.97 kB / 1.224 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.5162, allocations: 214.7 kB / 1.224 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.75e-05/0.5163, allocations: 47.92 kB / 1.224 GB, free: 12.14 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.001008/0.5173, allocations: 0.5722 MB / 1.225 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.5176, allocations: 209.4 kB / 1.225 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.5196, allocations: 1.038 MB / 1.226 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.5196, allocations: 11.98 kB / 1.226 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5196, allocations: 0 / 1.226 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001338/0.521, allocations: 0.828 MB / 1.227 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/0.5255, allocations: 2.877 MB / 1.23 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5255, allocations: 3.938 kB / 1.23 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/0.5261, allocations: 135.8 kB / 1.23 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.5261, allocations: 7.938 kB / 1.23 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.5262, allocations: 28.17 kB / 1.23 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.5262, allocations: 8 kB / 1.23 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5262, allocations: 0 / 1.23 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.5286, allocations: 1.496 MB / 1.231 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000701/0.5293, allocations: 446 kB / 1.232 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.5296, allocations: 27.98 kB / 1.232 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009332/0.5305, allocations: 99.84 kB / 1.232 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.5306, allocations: 56.48 kB / 1.232 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.738e-05/0.5307, allocations: 39.91 kB / 1.232 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001991/0.5327, allocations: 1.404 MB / 1.233 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5327, allocations: 0 / 1.233 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001659/0.5344, allocations: 0.6427 MB / 1.234 GB, free: 2.039 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.002422/0.5368, allocations: 1.131 MB / 1.235 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.5386, allocations: 0.8473 MB / 1.236 GB, free: 384 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.5386, allocations: 0 / 1.236 GB, free: 384 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007424/0.5393, allocations: 412.4 kB / 1.236 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004866/0.5442, allocations: 0.861 MB / 1.237 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007287/0.5515, allocations: 5 MB / 1.242 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.5528, allocations: 1.596 MB / 1.244 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001629/0.5545, allocations: 413.2 kB / 1.244 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.5549, allocations: 179.4 kB / 1.244 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/0.5549, allocations: 0 / 1.244 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of Templates: time 0.6235/1.178, allocations: 35.39 MB / 1.279 GB, free: 163.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)