Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 111 kB / 16.42 MB, free: 6.527 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.001116/0.001117, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.206/1.206, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.281/2.281, allocations: 469.8 MB / 0.7432 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.775e-05, allocations: 2.281 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002308/0.002334, allocations: 1.492 MB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003523, allocations: 0.7284 MB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.003585, allocations: 4 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.003625, allocations: 7.922 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.003687, allocations: 19.8 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.004202, allocations: 115.6 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.004343, allocations: 83.77 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.932e-05/0.004429, allocations: 8 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.004518, allocations: 39.89 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.004589, allocations: 39.84 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.004613, allocations: 8 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.004791, allocations: 91.84 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.34e-05/0.004893, allocations: 106.9 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.783e-05/0.004926, allocations: 59.12 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.004959, allocations: 15.94 kB / 1.069 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.318e-05/0.004976, allocations: 0 / 1.069 GB, free: 10.84 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if hea.occ then hea.p = exp(hea.A * (hea.TOut - 273.15) + hea.B) / (exp(hea.A * (hea.TOut - 273.15) + hea.B) + 1.0); hea.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(hea.p, integer(hea.curSeed)); elseif true then hea.p = 0.0; hea.on = false; end if