Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009257/0.0009257, allocations: 102.4 kB / 16.42 MB, free: 6.512 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.0008892/0.0008893, allocations: 188.3 kB / 17.35 MB, free: 5.73 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.128/1.128, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 285.2 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8109/0.8109, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.118e-05, allocations: 2.281 kB / 0.682 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.001863/0.001882, allocations: 1.481 MB / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.002655, allocations: 424.1 kB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.00271, allocations: 0 / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.558e-05/0.002801, allocations: 11.86 kB / 0.6839 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.705e-05/0.002895, allocations: 28.22 kB / 0.6839 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.003453, allocations: 246.4 kB / 0.6841 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.003775, allocations: 343.4 kB / 0.6844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.003816, allocations: 4 kB / 0.6845 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.004053, allocations: 199.7 kB / 0.6846 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.004237, allocations: 123.6 kB / 0.6848 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.004311, allocations: 20 kB / 0.6848 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.226e-05/0.004378, allocations: 20 kB / 0.6848 GB, free: 4.215 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002178/0.0046, allocations: 230.3 kB / 0.685 GB, free: 3.988 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 5.076e-05/0.004658, allocations: 90.62 kB / 0.6851 GB, free: 3.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.004709, allocations: 20 kB / 0.6851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-05/0.004729, allocations: 11.88 kB / 0.6851 GB, free: 3.867 MB / 494.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(calendarTime2016.firstHourSampling) then calendarTime2016.hour = integer(floor((calendarTime2016.unixTimeStampLocal - div(calendarTime2016.unixTimeStampLocal, 86400.0) * 86400.0) / 3600.0)); elseif true then calendarTime2016.hour = if pre(calendarTime2016.hour) == 23 then 0 else pre(calendarTime2016.hour) + 1; end if