Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00111/0.00111, allocations: 109.6 kB / 16.42 MB, free: 6.469 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.001099/0.001099, allocations: 187.2 kB / 17.35 MB, free: 5.691 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.159/1.159, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.12/2.12, allocations: 437 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.706e-05, allocations: 6.219 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ThermalFollowing): time 0.4933/0.4934, allocations: 74.18 MB / 1.092 GB, free: 20.05 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02619/0.5196, allocations: 18.21 MB / 1.109 GB, free: 16.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007308/0.5269, allocations: 153.1 kB / 1.11 GB, free: 16.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005603/0.5325, allocations: 1.73 MB / 1.111 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.5434, allocations: 2.972 MB / 1.114 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009697/0.5532, allocations: 3.955 MB / 1.118 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01521/0.5684, allocations: 11.3 MB / 1.129 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01183/0.5802, allocations: 6.811 MB / 1.136 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00925/0.5895, allocations: 3.98 MB / 1.14 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005753/0.5953, allocations: 3.52 MB / 1.143 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001614/0.597, allocations: 0.9042 MB / 1.144 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005761/0.6027, allocations: 2.466 MB / 1.146 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.00793/0.6107, allocations: 10.64 MB / 1.157 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.004731/0.6154, allocations: 6.704 MB / 1.163 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.6174, allocations: 1.167 MB / 1.164 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of FrontEnd: time 0.001898/0.6193, allocations: 0.5052 MB / 1.165 GB, free: 0.5938 MB / 0.8575 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.03369/0.653, allocations: 34.48 MB / 1.199 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.004819/0.6579, allocations: 4.926 MB / 1.203 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.02258/0.6805, allocations: 22.28 MB / 1.225 GB, free: 7.773 MB / 0.92 GB Notification: Performance of simplify1: time 0.002239/0.6828, allocations: 1.174 MB / 1.226 GB, free: 6.598 MB / 0.92 GB Notification: Performance of Alias: time 0.04339/0.7262, allocations: 39.6 MB / 1.265 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of simplify2: time 0.001301/0.7275, allocations: 0.8036 MB / 1.266 GB, free: 11.6 MB / 0.9669 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - theFol.opeMod.transition4.t_dummy}).