Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 110 kB / 16.42 MB, free: 5.977 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.001193/0.001193, allocations: 185.2 kB / 17.35 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.218/1.218, 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 12.0.0-master/package.mo): time 2.35/2.35, allocations: 472.6 MB / 0.7459 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.682e-05, allocations: 2.281 kB / 1.07 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002123/0.002148, allocations: 1.469 MB / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.002844, allocations: 446.8 kB / 1.072 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.002895, allocations: 0 / 1.072 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.00293, allocations: 7.922 kB / 1.072 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.00301, allocations: 11.86 kB / 1.072 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.003163, allocations: 23.92 kB / 1.072 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.623e-05/0.003256, allocations: 59.84 kB / 1.072 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.003353, allocations: 15.98 kB / 1.072 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.003409, allocations: 19.97 kB / 1.072 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.003468, allocations: 23.86 kB / 1.072 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003489, allocations: 4 kB / 1.072 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.003503, allocations: 4 kB / 1.072 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of combineBinaries: time 8.198e-05/0.003589, allocations: 75.16 kB / 1.072 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.039e-05/0.003614, allocations: 39.41 kB / 1.072 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.003645, allocations: 8 kB / 1.072 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.971e-05/0.003671, allocations: 7.938 kB / 1.072 GB, free: 7.473 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0003678/0.004044, allocations: 312.4 kB / 1.072 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 2.151e-05/0.004071, allocations: 11.95 kB / 1.072 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001307/0.004206, allocations: 144.3 kB / 1.073 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of simplify1: time 1.729e-05/0.004229, allocations: 11.95 kB / 1.073 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004284/0.004662, allocations: 289.3 kB / 1.073 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of simplify2: time 1.186e-05/0.004683, allocations: 7.984 kB / 1.073 GB, free: 6.523 MB / 0.8419 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - offTim1.y}).