Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00134/0.00134, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.001196/0.001196, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8057/0.8057, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.203e-05, allocations: 6.219 kB / 0.5862 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002552/0.002594, allocations: 1.461 MB / 0.5876 GB, free: 20.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007143/0.003323, allocations: 438.5 kB / 0.588 GB, free: 20.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.003383, allocations: 0.9688 kB / 0.588 GB, free: 20.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.00342, allocations: 8.984 kB / 0.588 GB, free: 20.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.003538, allocations: 13.3 kB / 0.5881 GB, free: 20.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.003706, allocations: 19.58 kB / 0.5881 GB, free: 20.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.00382, allocations: 54.05 kB / 0.5881 GB, free: 20.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.003956, allocations: 15.78 kB / 0.5881 GB, free: 20.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.004022, allocations: 19.92 kB / 0.5882 GB, free: 20.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.551e-05/0.004094, allocations: 24.97 kB / 0.5882 GB, free: 20.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.004124, allocations: 5.688 kB / 0.5882 GB, free: 20.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.004143, allocations: 5.438 kB / 0.5882 GB, free: 20.07 MB / 446.1 MB Notification: Performance of combineBinaries: time 7.997e-05/0.004228, allocations: 72.47 kB / 0.5883 GB, free: 20.01 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.616e-05/0.004259, allocations: 47.75 kB / 0.5883 GB, free: 19.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.0043, allocations: 5.688 kB / 0.5883 GB, free: 19.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.157e-05/0.004326, allocations: 2.656 kB / 0.5883 GB, free: 19.98 MB / 446.1 MB 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.0004058/0.004736, allocations: 321.5 kB / 0.5886 GB, free: 19.63 MB / 446.1 MB Notification: Performance of FunctionAlias: time 2.759e-05/0.00477, allocations: 9.859 kB / 0.5886 GB, free: 19.62 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001377/0.004913, allocations: 147.2 kB / 0.5888 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simplify1: time 1.931e-05/0.004939, allocations: 9.734 kB / 0.5888 GB, free: 19.48 MB / 446.1 MB Notification: Performance of Alias: time 0.0005151/0.005461, allocations: 284.1 kB / 0.5891 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simplify2: time 8.456e-06/0.00548, allocations: 9.578 kB / 0.5891 GB, free: 19.24 MB / 446.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - offTim1.y}).