Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 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.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_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage") translateModel(Buildings.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_latest_Buildings.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.00111/0.00111, allocations: 107.2 kB / 16.42 MB, free: 5.992 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.001056/0.001056, allocations: 188.2 kB / 17.36 MB, free: 5.57 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.145/1.145, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.232/2.232, allocations: 472.6 MB / 0.7459 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.102e-05, allocations: 6.219 kB / 1.07 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.0056/0.005619, allocations: 5.623 MB / 1.076 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.007404, allocations: 1.442 MB / 1.077 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.007555, allocations: 11.94 kB / 1.077 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.008111, allocations: 218.9 kB / 1.077 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.00853, allocations: 222.8 kB / 1.077 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.009161, allocations: 414.1 kB / 1.078 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006895/0.00986, allocations: 0.8192 MB / 1.079 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005118/0.01038, allocations: 0.5607 MB / 1.079 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.01067, allocations: 338.9 kB / 1.079 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3703/0.381, allocations: 330.8 kB / 1.08 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.3812, allocations: 81.66 kB / 1.08 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.3815, allocations: 157.9 kB / 1.08 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0004592/0.382, allocations: 0.9136 MB / 1.081 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001827/0.3822, allocations: 0.5418 MB / 1.081 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.3823, allocations: 99.81 kB / 1.081 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001552/0.3825, allocations: 70.27 kB / 1.082 GB, free: 11.28 MB / 0.8419 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.001791/0.3843, allocations: 2.65 MB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001836/0.3845, allocations: 215.5 kB / 1.084 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001302/0.3858, allocations: 1.958 MB / 1.086 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of simplify1: time 9.494e-05/0.3859, allocations: 115.6 kB / 1.086 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of Alias: time 0.002457/0.3883, allocations: 2.908 MB / 1.089 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of simplify2: time 7.341e-05/0.3884, allocations: 82.77 kB / 1.089 GB, free: 8.031 MB / 0.8419 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - chiStaCon.offToOne.t_dummy}).