Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.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.Chillers.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D") translateModel(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 91.69 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.009573/0.009573, allocations: 172.4 kB / 16.26 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 473.4 MB / 0.7469 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 9.156 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3582, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D): time 0.08147/0.4397, allocations: 80.21 MB / 1.152 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02709/0.4668, allocations: 18.11 MB / 1.17 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004469/0.4713, allocations: 87.5 kB / 1.17 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003424/0.4748, allocations: 1.08 MB / 1.171 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008395/0.4832, allocations: 2.633 MB / 1.174 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.4886, allocations: 1.884 MB / 1.176 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01001/0.4987, allocations: 6.941 MB / 1.182 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003903/0.5026, allocations: 2.043 MB / 1.184 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004327/0.507, allocations: 1.644 MB / 1.186 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.5101, allocations: 1.481 MB / 1.188 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003936/0.5105, allocations: 72 kB / 1.188 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004484/0.515, allocations: 1.68 MB / 1.189 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007064/0.5157, allocations: 481.7 kB / 1.19 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.5176, allocations: 1.186 MB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007342/0.525, allocations: 4.696 MB / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.525, allocations: 4 kB / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.455e-06/0.525, allocations: 0 / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001155/0.5252, allocations: 0 / 1.195 GB, free: 10.88 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: 411 * Number of variables: 411 Notification: Performance of Generate backend data structure: time 0.006047/0.5312, allocations: 2.635 MB / 1.198 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.5313, allocations: 12.03 kB / 1.198 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.5326, allocations: 376.4 kB / 1.198 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005074/0.5377, allocations: 2.466 MB / 1.201 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.5379, allocations: 143 kB / 1.201 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.5382, allocations: 168 kB / 1.201 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.5419, allocations: 1.743 MB / 1.203 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.5419, allocations: 3.938 kB / 1.203 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.5421, allocations: 68 kB / 1.203 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.5421, allocations: 40 kB / 1.203 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/0.545, allocations: 1.304 MB / 1.204 GB, free: 1.727 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.0105/0.5556, allocations: 7.462 MB / 1.211 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.5574, allocations: 0.692 MB / 1.212 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008149/0.5582, allocations: 374.8 kB / 1.212 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009572/0.5592, allocations: 1.152 MB / 1.214 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.5592, allocations: 43.11 kB / 1.214 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=57): time 2.966e-06/0.5592, allocations: 4 kB / 1.214 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57): time 0.002842/0.5621, allocations: 1.098 MB / 1.215 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.5622, allocations: 115.4 kB / 1.215 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.5652, allocations: 2.005 MB / 1.217 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.5653, allocations: 49.69 kB / 1.217 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.5664, allocations: 1.074 MB / 1.218 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.5666, allocations: 209.1 kB / 1.218 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.5668, allocations: 81.67 kB / 1.218 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5669, allocations: 345.9 kB / 1.218 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008416/0.5678, allocations: 345.8 kB / 1.219 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.5689, allocations: 0.6748 MB / 1.219 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.5707, allocations: 0.9395 MB / 1.22 GB, free: 92 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.5707, allocations: 4 kB / 1.22 GB, free: 88 kB / 0.9669 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002788/0.5735, allocations: 1.155 MB / 1.222 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002345/0.5738, allocations: 326.8 kB / 1.222 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.5738, allocations: 8 kB / 1.222 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.5738, allocations: 12 kB / 1.222 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/0.5747, allocations: 223.6 kB / 1.222 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.5747, allocations: 23.92 kB / 1.222 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.5766, allocations: 232.9 kB / 1.222 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.5767, allocations: 47.92 kB / 1.222 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.5767, allocations: 4 kB / 1.222 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002004/0.5787, allocations: 0.9288 MB / 1.223 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.5787, allocations: 8 kB / 1.223 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.5788, allocations: 12 kB / 1.223 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.5795, allocations: 224.2 kB / 1.224 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.5796, allocations: 15.94 kB / 1.224 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.5812, allocations: 208.2 kB / 1.224 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/0.5813, allocations: 36 kB / 1.224 GB, free: 12.52 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 9 (chi.eff.swiCoo.u2,chi.eff.swiHea.u2,chi.eff.hea,chi.notCoo.y,chi.conCoo.y,chi.eff.hys.y,$PRE.chi.eff.hys.y,chi.hys.y,$PRE.chi.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 105 * 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.001248/0.5826, allocations: 0.6122 MB / 1.224 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/0.583, allocations: 205.5 kB / 1.225 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.5854, allocations: 1.054 MB / 1.226 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.5854, allocations: 12 kB / 1.226 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.5855, allocations: 0 / 1.226 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/0.5871, allocations: 0.7946 MB / 1.226 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.5923, allocations: 2.825 MB / 1.229 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.5923, allocations: 4 kB / 1.229 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.5929, allocations: 144.2 kB / 1.229 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/0.5929, allocations: 4 kB / 1.229 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.593, allocations: 19.98 kB / 1.229 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.593, allocations: 8 kB / 1.229 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.593, allocations: 7.938 kB / 1.229 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.5962, allocations: 1.526 MB / 1.231 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00085/0.5971, allocations: 414.1 kB / 1.231 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.5973, allocations: 20 kB / 1.231 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.5984, allocations: 119.8 kB / 1.231 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.5986, allocations: 68.23 kB / 1.231 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/0.5986, allocations: 35.91 kB / 1.231 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002119/0.6008, allocations: 1.392 MB / 1.233 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6008, allocations: 4 kB / 1.233 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002599/0.6034, allocations: 0.9774 MB / 1.234 GB, free: 2.043 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 2 (chi.hys.y,chi.eff.hys.y) * Number of discrete states: 2 (chi.eff.hys.y,chi.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.001724/0.6051, allocations: 0.76 MB / 1.234 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00303/0.6081, allocations: 1.318 MB / 1.236 GB, free: 108 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6082, allocations: 0 / 1.236 GB, free: 108 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009772/0.6092, allocations: 435.7 kB / 1.236 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00558/0.6147, allocations: 0.9275 MB / 1.237 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/0.6213, allocations: 4.543 MB / 1.242 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.6224, allocations: 1.515 MB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001837/0.6243, allocations: 429.1 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.6247, allocations: 167.4 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of SimCode: time 1.213e-06/0.6247, allocations: 0 / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of Templates: time 0.6857/1.31, allocations: 36.27 MB / 1.279 GB, free: 162.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.TableData2D.pipe 2>&1)