Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_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_10_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.001209/0.001209, allocations: 112.8 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.001142/0.001142, allocations: 182 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.398/1.398, 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.558/2.558, allocations: 437 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.689e-05/3.689e-05, allocations: 2.281 kB / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003063/0.003111, allocations: 1.472 MB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007982/0.003924, allocations: 442.9 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.003987, allocations: 4 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.004025, allocations: 7.922 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.004118, allocations: 7.938 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.004319, allocations: 23.91 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.004435, allocations: 55.89 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.004552, allocations: 12 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.004614, allocations: 27.86 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.565e-05/0.004685, allocations: 23.86 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.004713, allocations: 4 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.00473, allocations: 7.938 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of combineBinaries: time 9.03e-05/0.004824, allocations: 71.3 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.431e-05/0.004853, allocations: 47.31 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.004885, allocations: 4 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.035e-05/0.00491, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 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.0004363/0.005352, allocations: 324.3 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of FunctionAlias: time 3.038e-05/0.005389, allocations: 7.953 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001353/0.00553, allocations: 152.3 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of simplify1: time 1.88e-05/0.005555, allocations: 4 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of Alias: time 0.0004896/0.00605, allocations: 281.4 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of simplify2: time 9.007e-06/0.006069, allocations: 7.984 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - offTim1.y}).