Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_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_9_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.001095/0.001095, allocations: 110.8 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.00106/0.00106, allocations: 190 kB / 17.36 MB, free: 5.699 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.157/1.157, allocations: 222.9 MB / 241 MB, free: 15.15 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.902/1.902, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.238e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001977/0.001998, allocations: 1.49 MB / 0.9529 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003064, allocations: 0.7323 MB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.003109, allocations: 8 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.00314, allocations: 7.922 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.057e-05/0.003186, allocations: 7.875 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.003621, allocations: 123.6 kB / 0.9537 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.003745, allocations: 87.7 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.003827, allocations: 11.98 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.003903, allocations: 39.91 kB / 0.9539 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.00397, allocations: 43.77 kB / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.00399, allocations: 4 kB / 0.9539 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.004142, allocations: 99.84 kB / 0.954 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.125e-05/0.004231, allocations: 102.9 kB / 0.9541 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.995e-05/0.004267, allocations: 55.12 kB / 0.9542 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.00429, allocations: 11.94 kB / 0.9542 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.122e-05/0.004305, allocations: 4 kB / 0.9542 GB, free: 4.957 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