Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001491, allocations: 114.3 kB / 16.43 MB, free: 6.055 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.001643/0.001644, allocations: 196.7 kB / 17.36 MB, free: 5.617 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.392/2.392, allocations: 472.6 MB / 0.7459 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/2.867e-05, allocations: 2.281 kB / 1.07 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.00413/0.004167, allocations: 2.719 MB / 1.073 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.007203, allocations: 1.749 MB / 1.074 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.007552, allocations: 8 kB / 1.074 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.008057, allocations: 159 kB / 1.075 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.008582, allocations: 183 kB / 1.075 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.00983, allocations: 0.5216 MB / 1.075 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008982/0.01074, allocations: 0.8069 MB / 1.076 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000699/0.01145, allocations: 0.5116 MB / 1.077 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.01193, allocations: 354.9 kB / 1.077 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.01232, allocations: 342.7 kB / 1.077 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.01246, allocations: 76 kB / 1.077 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.01276, allocations: 175.9 kB / 1.077 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.000559/0.01333, allocations: 0.9117 MB / 1.078 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002542/0.01359, allocations: 0.5387 MB / 1.079 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.0137, allocations: 95.69 kB / 1.079 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.000134/0.01384, allocations: 71.59 kB / 1.079 GB, free: 456 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 (125) * Number of variables: 123 (117) Notification: Performance of Bindings: time 0.4678/0.4816, allocations: 2.626 MB / 1.082 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002663/0.4819, allocations: 225.7 kB / 1.082 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001361/0.4833, allocations: 1.716 MB / 1.083 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001308/0.4834, allocations: 113.8 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of Alias: time 0.002511/0.4859, allocations: 2.639 MB / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simplify2: time 9.425e-05/0.486, allocations: 90.16 kB / 1.086 GB, free: 11.28 MB / 0.8419 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - chiStaCon.con1.t_dummy}).