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.00168/0.00168, allocations: 109.1 kB / 16.42 MB, free: 6.441 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.002201/0.002201, allocations: 183.2 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.634/1.634, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 287.4 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 1.088/1.088, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.098e-05, allocations: 5.094 kB / 0.682 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.00331/0.003351, allocations: 1.486 MB / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.004517, allocations: 424.1 kB / 0.6839 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.004654, allocations: 4 kB / 0.6839 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.004802, allocations: 7.875 kB / 0.6839 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.004966, allocations: 24.22 kB / 0.6839 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.00602, allocations: 250.6 kB / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005782/0.006608, allocations: 339.5 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.962e-05/0.006687, allocations: 7.984 kB / 0.6845 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.007104, allocations: 199.7 kB / 0.6846 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.007469, allocations: 115.7 kB / 0.6848 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.007594, allocations: 24 kB / 0.6848 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.00768, allocations: 20 kB / 0.6848 GB, free: 4.238 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002694/0.007955, allocations: 230.2 kB / 0.685 GB, free: 4.012 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 6.064e-05/0.008023, allocations: 90.62 kB / 0.6851 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.008119, allocations: 20 kB / 0.6851 GB, free: 3.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.972e-05/0.008168, allocations: 11.88 kB / 0.6851 GB, free: 3.891 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