Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001148/0.001148, allocations: 112 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.001095/0.001095, allocations: 186.1 kB / 17.36 MB, free: 5.723 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.121/1.121, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.211/2.211, allocations: 469.8 MB / 0.7432 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.452e-05, allocations: 2.281 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.005951/0.005974, allocations: 5.629 MB / 1.071 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.007945, allocations: 1.434 MB / 1.073 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.008208, allocations: 15.94 kB / 1.073 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006409/0.008855, allocations: 222.8 kB / 1.073 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005126/0.009377, allocations: 218.8 kB / 1.073 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007892/0.01019, allocations: 414.6 kB / 1.074 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008216/0.01102, allocations: 0.8192 MB / 1.074 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005404/0.01157, allocations: 458.3 kB / 1.075 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.01195, allocations: 342.9 kB / 1.075 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.0123, allocations: 334.7 kB / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.01242, allocations: 84 kB / 1.075 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.01268, allocations: 159.9 kB / 1.076 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0005428/0.01323, allocations: 0.9117 MB / 1.077 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002731/0.01351, allocations: 0.5426 MB / 1.077 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.01362, allocations: 95.69 kB / 1.077 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.000108/0.01374, allocations: 63.61 kB / 1.077 GB, free: 1.848 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.3764/0.3901, allocations: 1.86 MB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0003141/0.3905, allocations: 195.1 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001239/0.3917, allocations: 1.407 MB / 1.081 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0002454/0.392, allocations: 232.8 kB / 1.081 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of Alias: time 0.001933/0.3939, allocations: 1.783 MB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001544/0.3941, allocations: 165.3 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Error: Internal error NBDetectStates.preFromArgs failed because of unexpected expression pre(time - chiStaCon.offToOne.t_dummy).