Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00189/0.00189, allocations: 114.1 kB / 17.1 MB, free: 5.762 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.001994/0.001994, allocations: 194.3 kB / 18.03 MB, free: 4.891 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.492/1.492, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8272/0.8272, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.199e-05, allocations: 2.281 kB / 0.5582 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003685/0.003728, allocations: 1.526 MB / 0.5597 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.00543, allocations: 0.5316 MB / 0.5603 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.005514, allocations: 1.156 kB / 0.5603 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.005648, allocations: 15.22 kB / 0.5603 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.005804, allocations: 27.09 kB / 0.5603 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.006883, allocations: 307.7 kB / 0.5606 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008983/0.00779, allocations: 0.5191 MB / 0.5611 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.007885, allocations: 5.609 kB / 0.5611 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006169/0.008511, allocations: 276.3 kB / 0.5614 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.008893, allocations: 144.7 kB / 0.5615 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.009031, allocations: 26.22 kB / 0.5615 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.009144, allocations: 27.69 kB / 0.5616 GB, free: 30.31 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0004267/0.009579, allocations: 263.2 kB / 0.5618 GB, free: 30.17 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001046/0.009692, allocations: 96.97 kB / 0.5619 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.009803, allocations: 31.91 kB / 0.5619 GB, free: 30.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.654e-05/0.00985, allocations: 7.531 kB / 0.5619 GB, free: 30.09 MB / 446.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