Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability.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.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|u1_actual.y.1.|u1Ava.y.1.|u1Hea_actual.y.1.|avaHeaCoo.y1Hea|avaHeaCoo.y1Coo|avaHea.y1Hea",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|u1_actual.y.1.|u1Ava.y.1.|u1Hea_actual.y.1.|avaHeaCoo.y1Hea|avaHeaCoo.y1Coo|avaHea.y1Hea",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 105.7 kB / 16.42 MB, free: 6.449 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.001062/0.001062, allocations: 190 kB / 17.35 MB, free: 5.695 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.129/1.129, allocations: 222.9 MB / 241 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.187/2.187, allocations: 472.6 MB / 0.7459 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.03e-05, allocations: 2.281 kB / 1.07 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentAvailability): time 0.003903/0.003922, allocations: 3.828 MB / 1.074 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002748/0.006681, allocations: 2.31 MB / 1.076 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.006928, allocations: 35.81 kB / 1.076 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006569/0.007591, allocations: 429.2 kB / 1.076 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.007948, allocations: 270.2 kB / 1.077 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.009664, allocations: 1.176 MB / 1.078 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.3721/0.3817, allocations: 2.299 MB / 1.08 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.3838, allocations: 1.814 MB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007871/0.3846, allocations: 1.005 MB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/0.3852, allocations: 0.9333 MB / 1.084 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.3855, allocations: 254.9 kB / 1.084 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.3859, allocations: 332.2 kB / 1.084 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001171/0.3871, allocations: 2.54 MB / 1.087 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0004429/0.3875, allocations: 1.477 MB / 1.088 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.3878, allocations: 291.3 kB / 1.089 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.00029/0.3881, allocations: 241.4 kB / 1.089 GB, free: 8.453 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: 473 (441) * Number of variables: 437 (405) Notification: Performance of Bindings: time 0.005505/0.3936, allocations: 7.62 MB / 1.096 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0008685/0.3944, allocations: 1.294 MB / 1.098 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.005367/0.3998, allocations: 6.43 MB / 1.104 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simplify1: time 0.0003922/0.4002, allocations: 345.9 kB / 1.104 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of Alias: time 0.009757/0.41, allocations: 9.575 MB / 1.113 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of simplify2: time 0.0002497/0.4103, allocations: 251.1 kB / 1.114 GB, free: 8.668 MB / 0.8575 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - avaHeaCoo.trnToAvaTim.t_dummy}).