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.001185/0.001185, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001681/0.001681, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.14 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3756, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.07904/0.4547, allocations: 80.7 MB / 1.146 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02937/0.4841, allocations: 19.34 MB / 1.165 GB, free: 6.559 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005034/0.4892, allocations: 91.5 kB / 1.165 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004328/0.4936, allocations: 1.123 MB / 1.166 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00863/0.5023, allocations: 2.609 MB / 1.169 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006272/0.5086, allocations: 2.012 MB / 1.171 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.5187, allocations: 7.123 MB / 1.178 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004758/0.5235, allocations: 2.251 MB / 1.18 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004849/0.5284, allocations: 1.824 MB / 1.182 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.5318, allocations: 1.676 MB / 1.183 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0009739/0.5328, allocations: 132 kB / 1.184 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00458/0.5374, allocations: 1.47 MB / 1.185 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.5385, allocations: 0.6147 MB / 1.186 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.5412, allocations: 1.344 MB / 1.187 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0071/0.5484, allocations: 4.973 MB / 1.192 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5484, allocations: 0 / 1.192 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5484, allocations: 0 / 1.192 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001354/0.5485, allocations: 0 / 1.192 GB, free: 11.21 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.007393/0.5559, allocations: 3.297 MB / 1.195 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.556, allocations: 8.031 kB / 1.195 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.5573, allocations: 380.2 kB / 1.195 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004251/0.5615, allocations: 2.585 MB / 1.198 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.5616, allocations: 139.5 kB / 1.198 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.5619, allocations: 187.9 kB / 1.198 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003211/0.5651, allocations: 1.837 MB / 1.2 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.5652, allocations: 0 / 1.2 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.5653, allocations: 68 kB / 1.2 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/0.5654, allocations: 59.92 kB / 1.2 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.5678, allocations: 1.34 MB / 1.201 GB, free: 1.094 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.009315/0.5772, allocations: 7.918 MB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.5791, allocations: 0.9049 MB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005887/0.5798, allocations: 340.7 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007904/0.5806, allocations: 1.16 MB / 1.212 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009381/0.5815, allocations: 402.9 kB / 1.212 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=66): time 2.605e-06/0.5815, allocations: 4 kB / 1.212 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66): time 0.002334/0.5839, allocations: 1.082 MB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.5839, allocations: 137.1 kB / 1.213 GB, free: 4.418 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.002683/0.5866, allocations: 2.059 MB / 1.215 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.795e-05/0.5867, allocations: 49.7 kB / 1.215 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.5878, allocations: 1.192 MB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.588, allocations: 232.7 kB / 1.217 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.5884, allocations: 222.4 kB / 1.217 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5885, allocations: 341.9 kB / 1.217 GB, free: 284 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.5893, allocations: 337.8 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.5903, allocations: 0.6724 MB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.5919, allocations: 0.9285 MB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.5919, allocations: 4 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002276/0.5942, allocations: 1.206 MB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.5942, allocations: 8.938 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5942, allocations: 8 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.5943, allocations: 12.53 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/0.595, allocations: 223.6 kB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.595, allocations: 15.94 kB / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.5966, allocations: 202.7 kB / 1.221 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.5967, allocations: 44 kB / 1.221 GB, free: 12.39 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.001093/0.5977, allocations: 0.5694 MB / 1.221 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.5981, allocations: 213.4 kB / 1.221 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.6003, allocations: 1.029 MB / 1.222 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.6003, allocations: 8 kB / 1.222 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6003, allocations: 4 kB / 1.222 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001443/0.6018, allocations: 0.8085 MB / 1.223 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004641/0.6064, allocations: 2.861 MB / 1.226 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.6064, allocations: 7.938 kB / 1.226 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.607, allocations: 131.9 kB / 1.226 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.607, allocations: 12.12 kB / 1.226 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.6071, allocations: 23.97 kB / 1.226 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.6071, allocations: 4 kB / 1.226 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.6071, allocations: 4 kB / 1.226 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.6097, allocations: 1.484 MB / 1.228 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/0.6104, allocations: 390.3 kB / 1.228 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.6106, allocations: 27.98 kB / 1.228 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.6115, allocations: 91.75 kB / 1.228 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.6117, allocations: 60.48 kB / 1.228 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.6118, allocations: 31.97 kB / 1.228 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002117/0.6139, allocations: 1.404 MB / 1.23 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6139, allocations: 0 / 1.23 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001883/0.6158, allocations: 0.6427 MB / 1.23 GB, free: 2.41 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.002648/0.6184, allocations: 1.125 MB / 1.231 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001803/0.6203, allocations: 0.8355 MB / 1.232 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6203, allocations: 0 / 1.232 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.6211, allocations: 400.4 kB / 1.233 GB, free: 376 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/0.6251, allocations: 0.8672 MB / 1.233 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/0.6328, allocations: 4.916 MB / 1.238 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.6341, allocations: 1.596 MB / 1.24 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001694/0.6358, allocations: 408.2 kB / 1.24 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.6363, allocations: 175.4 kB / 1.24 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/0.6363, allocations: 3.938 kB / 1.24 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.6202/1.256, allocations: 35.21 MB / 1.275 GB, free: 166.8 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)