Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.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.ElectricalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|eleFol.PEleNet|PEleNetVal.y|eleFol.eneCon.QGen_flow|QGenVal_flow.y|eleFol.QWat_flow|QWatVal_flow.y|eleFol.QLos.Q_flow|QLosVal_flow.y|eleFol.opeMod.opeMod|eleFol.TWatOut.T|TWatOutVal.y|eleFol.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|eleFol.PEleNet|PEleNetVal.y|eleFol.eneCon.QGen_flow|QGenVal_flow.y|eleFol.QWat_flow|QWatVal_flow.y|eleFol.QLos.Q_flow|QLosVal_flow.y|eleFol.opeMod.opeMod|eleFol.TWatOut.T|TWatOutVal.y|eleFol.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 111.6 kB / 16.42 MB, free: 6.504 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.00112/0.00112, allocations: 183.2 kB / 17.35 MB, free: 5.711 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.181/1.181, allocations: 222.9 MB / 241 MB, free: 15.09 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.126/2.126, allocations: 437 MB / 0.7111 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.183e-05, allocations: 6.219 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ElectricalFollowing): time 0.03493/0.03495, allocations: 41.19 MB / 1.059 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.04943, allocations: 11.11 MB / 1.07 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.05159, allocations: 79.69 kB / 1.07 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.05379, allocations: 1.008 MB / 1.071 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.05718, allocations: 1.594 MB / 1.073 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.06096, allocations: 2.153 MB / 1.075 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.4175/0.4785, allocations: 5.511 MB / 1.08 GB, free: 22.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004209/0.4828, allocations: 3.15 MB / 1.083 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003376/0.4861, allocations: 1.961 MB / 1.085 GB, free: 21.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.4884, allocations: 1.712 MB / 1.087 GB, free: 21.24 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007818/0.4892, allocations: 419.4 kB / 1.087 GB, free: 21.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.4925, allocations: 1.577 MB / 1.089 GB, free: 21.24 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.003006/0.4955, allocations: 5.165 MB / 1.094 GB, free: 18.48 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.001691/0.4972, allocations: 3.269 MB / 1.097 GB, free: 16.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.4983, allocations: 0.5669 MB / 1.098 GB, free: 16.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0009159/0.4993, allocations: 242.4 kB / 1.098 GB, free: 16.12 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 (638) * Number of variables: 649 (615) Notification: Performance of Bindings: time 0.01199/0.5113, allocations: 16.53 MB / 1.114 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.001621/0.5129, allocations: 2.329 MB / 1.116 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.009072/0.522, allocations: 10.52 MB / 1.127 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of simplify1: time 0.0007074/0.5227, allocations: 0.5648 MB / 1.127 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of Alias: time 0.02094/0.5436, allocations: 18.33 MB / 1.145 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of simplify2: time 0.0007549/0.5444, allocations: 389 kB / 1.145 GB, free: 3.301 MB / 0.8575 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - eleFol.opeMod.transition4.t_dummy}).