Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001432/0.001432, allocations: 117.3 kB / 16.43 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.001729/0.001729, allocations: 185.5 kB / 17.35 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7943/0.7943, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.335e-05/4.335e-05, allocations: 11.42 kB / 0.5819 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003752/0.003805, allocations: 1.457 MB / 0.5833 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.004896, allocations: 446.2 kB / 0.5838 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.004993, allocations: 0 / 0.5838 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.748e-05/0.005054, allocations: 5.812 kB / 0.5838 GB, free: 22.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.005203, allocations: 18.78 kB / 0.5838 GB, free: 22.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.005482, allocations: 19.7 kB / 0.5838 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.005649, allocations: 52.09 kB / 0.5839 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.005828, allocations: 19.91 kB / 0.5839 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.005931, allocations: 16.56 kB / 0.5839 GB, free: 22.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.006039, allocations: 24.94 kB / 0.5839 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.006084, allocations: 5.531 kB / 0.5839 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.865e-05/0.006107, allocations: 4.031 kB / 0.5839 GB, free: 22.33 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001367/0.006251, allocations: 75.75 kB / 0.584 GB, free: 22.28 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.787e-05/0.006296, allocations: 43.38 kB / 0.584 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.006351, allocations: 4.094 kB / 0.584 GB, free: 22.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.751e-05/0.006402, allocations: 2.781 kB / 0.584 GB, free: 22.25 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.0006582/0.007066, allocations: 320.1 kB / 0.5844 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FunctionAlias: time 4.917e-05/0.007122, allocations: 11.94 kB / 0.5844 GB, free: 21.89 MB / 446.1 MB Notification: Performance of Early Inline: time 0.000185/0.007313, allocations: 146.2 kB / 0.5845 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simplify1: time 2.955e-05/0.007351, allocations: 10.7 kB / 0.5845 GB, free: 21.75 MB / 446.1 MB Notification: Performance of Alias: time 0.0008797/0.008238, allocations: 283.3 kB / 0.5848 GB, free: 21.52 MB / 446.1 MB Notification: Performance of simplify2: time 1.751e-05/0.008268, allocations: 7.891 kB / 0.5848 GB, free: 21.52 MB / 446.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - offTim1.y}).