Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.Validation.ThermalFollowing.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.CHPs.Validation.ThermalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|theFol.PEleNet|theFolNeg.PEleNet|PEleNetVal.y|theFol.eneCon.QGen_flow|theFolNeg.eneCon.QGen_flow|QGenVal_flow.y|theFol.QWat_flow|theFolNeg.QWat_flow|QWatVal_flow.y|theFol.QLos.Q_flow|theFolNeg.QLos.Q_flow|QLosVal_flow.y|theFol.opeMod.opeMod|theFolNeg.opeMod.opeMod|theFol.TWatOut.T|theFolNeg.TWatOut.T|TWatOutVal.y|TWatOutSet.y|theFol.eng.TEng|theFolNeg.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.Validation.ThermalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ThermalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|theFol.PEleNet|theFolNeg.PEleNet|PEleNetVal.y|theFol.eneCon.QGen_flow|theFolNeg.eneCon.QGen_flow|QGenVal_flow.y|theFol.QWat_flow|theFolNeg.QWat_flow|QWatVal_flow.y|theFol.QLos.Q_flow|theFolNeg.QLos.Q_flow|QLosVal_flow.y|theFol.opeMod.opeMod|theFolNeg.opeMod.opeMod|theFol.TWatOut.T|theFolNeg.TWatOut.T|TWatOutVal.y|TWatOutSet.y|theFol.eng.TEng|theFolNeg.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.Validation.ThermalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 109.9 kB / 16.41 MB, free: 5.93 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.001662/0.001662, allocations: 190.2 kB / 17.35 MB, free: 5.555 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.156/1.156, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.226/2.226, allocations: 469.8 MB / 0.7431 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.484e-05, allocations: 6.219 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ThermalFollowing): time 0.4549/0.455, allocations: 74.19 MB / 1.138 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02761/0.4826, allocations: 18.21 MB / 1.156 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006313/0.489, allocations: 153.8 kB / 1.156 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00465/0.4936, allocations: 1.745 MB / 1.158 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009228/0.5029, allocations: 2.959 MB / 1.161 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009112/0.512, allocations: 3.962 MB / 1.165 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01479/0.5268, allocations: 11.28 MB / 1.176 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007439/0.5343, allocations: 5.055 MB / 1.181 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006893/0.5412, allocations: 3.982 MB / 1.184 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004768/0.5459, allocations: 3.516 MB / 1.188 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.5473, allocations: 0.9043 MB / 1.189 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005087/0.5524, allocations: 2.465 MB / 1.191 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.007339/0.5597, allocations: 10.64 MB / 1.202 GB, free: 11.25 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.004338/0.5641, allocations: 6.709 MB / 1.208 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001915/0.566, allocations: 1.145 MB / 1.209 GB, free: 4.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.001891/0.5679, allocations: 0.5041 MB / 1.21 GB, free: 4.453 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1387 (1334) * Number of variables: 1347 (1287) Notification: Performance of Bindings: time 0.02041/0.5884, allocations: 23.93 MB / 1.233 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of FunctionAlias: time 0.002312/0.5907, allocations: 2.204 MB / 1.235 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of Early Inline: time 0.01816/0.6089, allocations: 15.54 MB / 1.25 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simplify1: time 0.00279/0.6117, allocations: 1.859 MB / 1.252 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of Alias: time 0.02705/0.6387, allocations: 23.06 MB / 1.275 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simplify2: time 0.001414/0.6402, allocations: 1.098 MB / 1.276 GB, free: 13.24 MB / 0.9981 GB Error: Internal error NBDetectStates.preFromArgs failed because of unexpected expression pre(time - theFol.opeMod.transition4.t_dummy).