Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 106.2 kB / 16.42 MB, free: 6.461 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.001074/0.001074, allocations: 185.9 kB / 17.35 MB, free: 5.738 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.158/1.158, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.913/1.913, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.717e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001988/0.002014, allocations: 1.489 MB / 0.9529 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.003058, allocations: 0.7284 MB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.003101, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.00313, allocations: 3.938 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.00318, allocations: 15.84 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.003618, allocations: 123.6 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.003733, allocations: 87.69 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.003816, allocations: 16 kB / 0.9538 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.789e-05/0.00389, allocations: 31.91 kB / 0.9539 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.003954, allocations: 39.83 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.003976, allocations: 8 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.00413, allocations: 95.84 kB / 0.954 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.347e-05/0.004222, allocations: 106.9 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.551e-05/0.004255, allocations: 63.06 kB / 0.9542 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.004279, allocations: 11.94 kB / 0.9542 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.097e-06/0.004293, allocations: 4 kB / 0.9542 GB, free: 4.934 MB / 0.7325 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