Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.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 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.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiStaCon.on|chiStaCon.plr.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiStaCon.on|chiStaCon.plr.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 111.8 kB / 16.42 MB, free: 6.434 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.00112/0.00112, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.154/1.154, allocations: 222.9 MB / 241.1 MB, free: 15.04 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.165/2.165, allocations: 437 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.127e-05, allocations: 4.391 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.006732/0.006762, allocations: 5.647 MB / 1.025 GB, free: 3.793 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.009081, allocations: 1.445 MB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.009497, allocations: 11.94 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008135/0.01032, allocations: 215.4 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005895/0.01092, allocations: 223.4 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.01185, allocations: 418.2 kB / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007667/0.01262, allocations: 0.8154 MB / 1.028 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/0.01322, allocations: 0.549 MB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.01357, allocations: 347 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.01389, allocations: 330.6 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.01398, allocations: 84 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.01424, allocations: 159.9 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.0005391/0.01479, allocations: 0.9118 MB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0002546/0.01505, allocations: 0.5426 MB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.01516, allocations: 99.67 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0001455/0.01531, allocations: 71.55 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 (134) * Number of variables: 130 (125) Notification: Performance of Bindings: time 0.002232/0.01755, allocations: 2.652 MB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.0002155/0.01777, allocations: 214.5 kB / 1.033 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.001588/0.01936, allocations: 1.957 MB / 1.035 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of simplify1: time 0.000103/0.01947, allocations: 119.8 kB / 1.035 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of Alias: time 0.002967/0.02245, allocations: 2.888 MB / 1.038 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of simplify2: time 7.757e-05/0.02254, allocations: 83.88 kB / 1.038 GB, free: 5.297 MB / 0.8106 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - chiStaCon.offToOne.t_dummy}).