Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 116.4 kB / 16.43 MB, free: 6.477 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.001104/0.001104, allocations: 185.5 kB / 17.36 MB, free: 5.703 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.1 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.254/2.254, allocations: 469.8 MB / 0.7431 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.307e-05, allocations: 2.5 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002452/0.002473, allocations: 2.022 MB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003508, allocations: 0.6858 MB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.003632, allocations: 7.938 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.003761, allocations: 31.61 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.003862, allocations: 43.59 kB / 1.069 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.004259, allocations: 159.8 kB / 1.069 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.004636, allocations: 399.2 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.004921, allocations: 211.9 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.0051, allocations: 175.5 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.005283, allocations: 171.3 kB / 1.07 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.005347, allocations: 44 kB / 1.07 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.005433, allocations: 56 kB / 1.07 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002869/0.005725, allocations: 482.7 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001165/0.005849, allocations: 271.8 kB / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.005906, allocations: 47.88 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.907e-05/0.00597, allocations: 39.73 kB / 1.07 GB, free: 8.805 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: 76 (76) * Number of variables: 72 (72) Notification: Performance of Bindings: time 0.0009553/0.00693, allocations: 1.04 MB / 1.071 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.000126/0.007062, allocations: 91.81 kB / 1.072 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.000607/0.007676, allocations: 0.6763 MB / 1.072 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001467/0.007829, allocations: 144.9 kB / 1.072 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of Alias: time 0.001202/0.009037, allocations: 1.035 MB / 1.073 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of simplify2: time 0.000113/0.009159, allocations: 115.7 kB / 1.074 GB, free: 5.352 MB / 0.8419 GB Error: Internal error NBDetectStates.preFromArgs failed because of unexpected expression pre(time - wseCon.T1.t_dummy).