Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001092/0.001092, allocations: 108.9 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.00106/0.00106, allocations: 183.2 kB / 17.35 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.114/1.114, 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 10.1.1-maint.10.0.x/package.mo): time 2.03/2.03, allocations: 437 MB / 0.7111 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.513e-05, allocations: 2.5 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002474/0.002497, allocations: 2.014 MB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003521, allocations: 0.6935 MB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.003634, allocations: 8 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.003768, allocations: 39.55 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.00386, allocations: 31.66 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.004242, allocations: 159.8 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003684/0.00462, allocations: 407.1 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.004946, allocations: 272.7 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.005117, allocations: 175.5 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.005297, allocations: 159.3 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.73e-05/0.005361, allocations: 44 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.005448, allocations: 55.98 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0002761/0.00573, allocations: 474.8 kB / 1.024 GB, free: 4.938 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 0.0001275/0.005864, allocations: 275.8 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.005923, allocations: 51.81 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of FrontEnd: time 5.852e-05/0.005986, allocations: 39.73 kB / 1.024 GB, free: 4.574 MB / 0.795 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.001208/0.007199, allocations: 1.454 MB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of FunctionAlias: time 0.0001137/0.007318, allocations: 95.75 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of Early Inline: time 0.000808/0.008134, allocations: 0.9887 MB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of simplify1: time 6.642e-05/0.008208, allocations: 67.89 kB / 1.026 GB, free: 1.84 MB / 0.795 GB Notification: Performance of Alias: time 0.001591/0.009807, allocations: 1.638 MB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of simplify2: time 6.106e-05/0.009877, allocations: 44 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - wseCon.T1.t_dummy}).