Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.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_11_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_11_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.00112/0.00112, allocations: 115.9 kB / 16.43 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.001087/0.001087, 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.15 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.273/2.273, allocations: 469.8 MB / 0.7431 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/1.928e-05, allocations: 2.281 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ElectricalFollowing): time 0.4251/0.4251, allocations: 41.17 MB / 1.106 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.4418, allocations: 11.13 MB / 1.117 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003329/0.4452, allocations: 84.25 kB / 1.117 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.4476, allocations: 1.008 MB / 1.118 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.4517, allocations: 1.591 MB / 1.119 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.4562, allocations: 2.161 MB / 1.122 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006383/0.4626, allocations: 5.499 MB / 1.127 GB, free: 424 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/0.4658, allocations: 2.392 MB / 1.129 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.4688, allocations: 1.956 MB / 1.131 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.4705, allocations: 1.715 MB / 1.133 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.471, allocations: 420.4 kB / 1.133 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.474, allocations: 1.579 MB / 1.135 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.003371/0.4773, allocations: 5.161 MB / 1.14 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 0.001839/0.4792, allocations: 3.279 MB / 1.143 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007828/0.48, allocations: 0.5526 MB / 1.144 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.0009537/0.4809, allocations: 246.8 kB / 1.144 GB, free: 6.176 MB / 0.8731 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.01033/0.4913, allocations: 11.64 MB / 1.155 GB, free: 14 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.001132/0.4924, allocations: 1.056 MB / 1.156 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.007561/0.5, allocations: 7.377 MB / 1.163 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of simplify1: time 0.001236/0.5012, allocations: 0.9048 MB / 1.164 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of Alias: time 0.01354/0.5148, allocations: 10.84 MB / 1.175 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of simplify2: time 0.0007802/0.5156, allocations: 0.5448 MB / 1.175 GB, free: 416 kB / 0.8887 GB Error: Internal error NBDetectStates.preFromArgs failed because of unexpected expression pre(time - eleFol.opeMod.transition4.t_dummy).