Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001088/0.001088, allocations: 108.4 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.001021/0.001021, allocations: 190 kB / 17.36 MB, free: 5.727 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.352/1.352, 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 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.287e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003492/0.003525, allocations: 2.018 MB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.005066, allocations: 0.6897 MB / 0.9541 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.005337, allocations: 7.938 kB / 0.9541 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.005539, allocations: 39.59 kB / 0.9541 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.005721, allocations: 39.59 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.006308, allocations: 155.8 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.006801, allocations: 395.2 kB / 0.9547 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.007233, allocations: 275.8 kB / 0.955 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.007437, allocations: 171.5 kB / 0.9551 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.007663, allocations: 163.3 kB / 0.9553 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.007732, allocations: 44 kB / 0.9553 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.24e-05/0.007829, allocations: 55.98 kB / 0.9554 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0003316/0.008167, allocations: 478.7 kB / 0.9558 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0001491/0.008322, allocations: 271.8 kB / 0.9561 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.967e-05/0.008387, allocations: 55.8 kB / 0.9561 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.631e-05/0.00849, allocations: 43.73 kB / 0.9562 GB, free: 2.812 MB / 0.7325 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.001504/0.009999, allocations: 1.45 MB / 0.9576 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 0.0001308/0.01014, allocations: 95.86 kB / 0.9577 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.000948/0.01109, allocations: 0.9925 MB / 0.9587 GB, free: 144 kB / 0.7325 GB Notification: Performance of simplify1: time 7.37e-05/0.01117, allocations: 67.91 kB / 0.9587 GB, free: 76 kB / 0.7325 GB Notification: Performance of Alias: time 0.001878/0.01306, allocations: 1.633 MB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simplify2: time 5.37e-05/0.01313, allocations: 51.92 kB / 0.9604 GB, free: 14.22 MB / 0.7481 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - wseCon.T1.t_dummy}).