Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001025/0.001025, allocations: 111.8 kB / 16.42 MB, free: 6.047 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.001049/0.001049, allocations: 189.9 kB / 17.36 MB, free: 5.617 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.104/1.104, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.04/2.04, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.371e-05, allocations: 4.25 kB / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001888/0.001909, allocations: 1.479 MB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.002938, allocations: 0.7362 MB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.002981, allocations: 4 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.003011, allocations: 7.875 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.003055, allocations: 11.88 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.003474, allocations: 123.6 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.003604, allocations: 75.83 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.003691, allocations: 11.98 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.003772, allocations: 43.84 kB / 1.022 GB, free: 7.016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.00383, allocations: 39.83 kB / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.003852, allocations: 4 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.004005, allocations: 95.91 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of combineBinaries: time 8.335e-05/0.004096, allocations: 102.9 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.657e-05/0.004128, allocations: 67.05 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.004149, allocations: 7.938 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.135e-05/0.004165, allocations: 4 kB / 1.022 GB, free: 6.699 MB / 0.795 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