Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001097/0.001097, allocations: 112.8 kB / 16.42 MB, free: 6.523 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.001062/0.001062, allocations: 182 kB / 17.36 MB, free: 5.746 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.164/1.164, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.269/2.269, allocations: 472.6 MB / 0.7459 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.801e-05, allocations: 2.281 kB / 1.07 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ThermalFollowing): time 0.4719/0.4719, allocations: 74.18 MB / 1.142 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02941/0.5013, allocations: 18.21 MB / 1.16 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007001/0.5084, allocations: 154 kB / 1.16 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005808/0.5142, allocations: 1.73 MB / 1.162 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.5249, allocations: 2.962 MB / 1.165 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009937/0.5349, allocations: 3.956 MB / 1.169 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0192/0.5541, allocations: 11.3 MB / 1.18 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.5662, allocations: 6.816 MB / 1.187 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007855/0.5741, allocations: 3.982 MB / 1.19 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005629/0.5797, allocations: 3.517 MB / 1.194 GB, free: 14.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002401/0.5821, allocations: 0.9003 MB / 1.195 GB, free: 14.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006079/0.5882, allocations: 2.474 MB / 1.197 GB, free: 13.4 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.009742/0.598, allocations: 10.64 MB / 1.208 GB, free: 5.141 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.00475/0.6028, allocations: 6.706 MB / 1.214 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.6051, allocations: 1.165 MB / 1.215 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 0.002696/0.6078, allocations: 0.5041 MB / 1.216 GB, free: 12.66 MB / 0.9356 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.03091/0.6388, allocations: 34.48 MB / 1.249 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of FunctionAlias: time 0.004296/0.6431, allocations: 4.926 MB / 1.254 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of Early Inline: time 0.02067/0.6638, allocations: 22.28 MB / 1.276 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simplify1: time 0.001575/0.6654, allocations: 1.174 MB / 1.277 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of Alias: time 0.04163/0.707, allocations: 39.59 MB / 1.316 GB, free: 2.863 MB / 1.029 GB Notification: Performance of simplify2: time 0.001307/0.7084, allocations: 0.7958 MB / 1.317 GB, free: 2.066 MB / 1.029 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - theFol.opeMod.transition4.t_dummy}).