Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.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.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSch.occupied|cap.T|mode.y",fileNamePrefix="Buildings_11_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSch.occupied|cap.T|mode.y",fileNamePrefix="Buildings_11_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 107.1 kB / 16.42 MB, free: 6.465 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.001086/0.001086, allocations: 186.1 kB / 17.35 MB, free: 5.703 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.163/1.163, allocations: 222.9 MB / 241 MB, free: 15.07 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.226/2.226, allocations: 469.8 MB / 0.7431 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.685e-05, allocations: 4.469 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes): time 0.0053/0.005324, allocations: 4.749 MB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003306/0.008642, allocations: 2.108 MB / 1.073 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006415/0.009294, allocations: 31.88 kB / 1.073 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.009803, allocations: 186 kB / 1.073 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006113/0.01042, allocations: 194.1 kB / 1.073 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.01205, allocations: 0.8175 MB / 1.074 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.01363, allocations: 1.753 MB / 1.075 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.01487, allocations: 1.19 MB / 1.077 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005609/0.01544, allocations: 0.7088 MB / 1.077 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.01598, allocations: 0.7079 MB / 1.078 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.01619, allocations: 196 kB / 1.078 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.01652, allocations: 287.8 kB / 1.078 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.3888/0.4053, allocations: 2.155 MB / 1.081 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0004428/0.4058, allocations: 1.305 MB / 1.082 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.4061, allocations: 238.6 kB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0004149/0.4065, allocations: 168.2 kB / 1.082 GB, free: 12.4 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: 395 (374) * Number of variables: 375 (346) Notification: Performance of Bindings: time 0.003315/0.4098, allocations: 4.438 MB / 1.087 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0004185/0.4102, allocations: 492.8 kB / 1.087 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.002482/0.4127, allocations: 2.845 MB / 1.09 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0006116/0.4133, allocations: 499.1 kB / 1.09 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of Alias: time 0.005645/0.419, allocations: 5.19 MB / 1.095 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0003443/0.4193, allocations: 307.1 kB / 1.096 GB, free: 5.805 MB / 0.8419 GB Error: Internal error NBDetectStates.preFromArgs failed because of unexpected expression pre(time - operationModes.t2.t_dummy).