Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 110.4 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 188.5 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 250.1 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 496.2 MB / 0.7826 GB, free: 12.33 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.SOC|con.y|con.isDay.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.SOC|con.y|con.isDay.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.425e-05/3.425e-05, allocations: 8.891 kB / 1.137 GB, free: 12.57 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.004131/0.004165, allocations: 2.286 MB / 1.139 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.006, allocations: 0.9545 MB / 1.14 GB, free: 9.305 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.006174, allocations: 8 kB / 1.14 GB, free: 9.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.006392, allocations: 59.34 kB / 1.14 GB, free: 9.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.006663, allocations: 55.45 kB / 1.14 GB, free: 9.184 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.007264, allocations: 283.6 kB / 1.14 GB, free: 8.906 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007176/0.007982, allocations: 0.6519 MB / 1.141 GB, free: 8.254 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005795/0.008561, allocations: 400.9 kB / 1.141 GB, free: 7.859 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.008911, allocations: 295.2 kB / 1.141 GB, free: 7.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.009235, allocations: 267 kB / 1.142 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.009337, allocations: 72 kB / 1.142 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.009486, allocations: 84 kB / 1.142 GB, free: 7.156 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0006765/0.01016, allocations: 0.8316 MB / 1.143 GB, free: 6.316 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0002994/0.01046, allocations: 441.4 kB / 1.143 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.01057, allocations: 75.75 kB / 1.143 GB, free: 5.805 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0001438/0.01071, allocations: 75.5 kB / 1.143 GB, free: 5.73 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 (131) * Number of variables: 128 (122) Notification: Performance of Bindings: time 0.001965/0.01268, allocations: 1.645 MB / 1.145 GB, free: 3.949 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0003935/0.01307, allocations: 318.4 kB / 1.145 GB, free: 3.633 MB / 0.92 GB Notification: Performance of Early Inline: time 0.001217/0.01429, allocations: 1.085 MB / 1.146 GB, free: 2.512 MB / 0.92 GB Notification: Performance of Simplify 1: time 0.0003263/0.01462, allocations: 223.5 kB / 1.146 GB, free: 2.258 MB / 0.92 GB Notification: Performance of Alias: time 0.002888/0.0175, allocations: 2.023 MB / 1.148 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of Simplify 2: time 0.0002102/0.01771, allocations: 171.4 kB / 1.148 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of Remove Stream: time 0.0001918/0.01791, allocations: 159.6 kB / 1.149 GB, free: 15.6 MB / 0.9356 GB Error: Internal error NBDetectStates.preFromArgs failed because of unexpected expression pre(time - con.t1.t_dummy). " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.334738641045988]