Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 104.5 kB / 16.37 MB, free: 6.375 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.001096/0.001096, allocations: 195.1 kB / 17.31 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/1.97e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002318/0.002351, allocations: 1.488 MB / 0.6743 GB, free: 4.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.003493, allocations: 0.7722 MB / 0.675 GB, free: 3.656 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.003538, allocations: 7.938 kB / 0.6751 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.003569, allocations: 3.938 kB / 0.6751 GB, free: 3.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.003618, allocations: 7.875 kB / 0.6751 GB, free: 3.637 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.00412, allocations: 123.6 kB / 0.6752 GB, free: 3.516 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.00427, allocations: 87.69 kB / 0.6753 GB, free: 3.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.004384, allocations: 15.98 kB / 0.6753 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.365e-05/0.004483, allocations: 35.92 kB / 0.6753 GB, free: 3.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.004555, allocations: 35.83 kB / 0.6753 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.004581, allocations: 8 kB / 0.6754 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.00476, allocations: 99.84 kB / 0.6755 GB, free: 3.238 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001071/0.004875, allocations: 106.9 kB / 0.6756 GB, free: 3.133 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.071e-05/0.004911, allocations: 55.12 kB / 0.6756 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.004943, allocations: 15.94 kB / 0.6756 GB, free: 3.062 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.174e-05/0.004959, allocations: 0 / 0.6756 GB, free: 3.062 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.p = exp(win.A * (win.TOut - 273.15) + win.B) / (exp(win.A * (win.TOut - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = 0.0; win.on = false; end if