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.001097/0.001097, allocations: 112.1 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.001096/0.001096, allocations: 184.2 kB / 17.36 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.159/1.159, 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 10.1.1-maint.10.0.x/package.mo): time 2.184/2.184, allocations: 437 MB / 0.7111 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.19e-05, allocations: 4.531 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.006504/0.006534, allocations: 5.643 MB / 1.025 GB, free: 3.809 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.008817, allocations: 1.441 MB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.0092, allocations: 15.94 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000828/0.01004, allocations: 218.9 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006831/0.01073, allocations: 210.8 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.01178, allocations: 427.3 kB / 1.027 GB, free: 1.512 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.01284, allocations: 0.8192 MB / 1.028 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008376/0.01369, allocations: 0.5451 MB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005978/0.0143, allocations: 351 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.01482, allocations: 334.6 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.015, allocations: 80 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.01534, allocations: 163.8 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.000699/0.01605, allocations: 0.9157 MB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0003469/0.0164, allocations: 0.5387 MB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.01661, allocations: 95.69 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0001816/0.01679, allocations: 71.55 kB / 1.031 GB, free: 13.6 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.002889/0.01969, allocations: 2.652 MB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.0003257/0.02002, allocations: 214.4 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.001672/0.0217, allocations: 1.968 MB / 1.035 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of simplify1: time 0.0001321/0.02185, allocations: 107.8 kB / 1.036 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of Alias: time 0.003033/0.02489, allocations: 2.892 MB / 1.038 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of simplify2: time 9.174e-05/0.02499, allocations: 87.88 kB / 1.038 GB, free: 5.301 MB / 0.8106 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - chiStaCon.offToOne.t_dummy}).