Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 103.2 kB / 16.37 MB, free: 6.363 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.001078/0.001078, allocations: 189.2 kB / 17.3 MB, free: 5.914 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.174/1.174, 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.555/1.555, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/1.962e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002308/0.00234, allocations: 1.519 MB / 0.6743 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.003495, allocations: 0.7917 MB / 0.6751 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.003543, allocations: 3.938 kB / 0.6751 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.003573, allocations: 3.938 kB / 0.6751 GB, free: 3.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.003627, allocations: 19.86 kB / 0.6751 GB, free: 3.566 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.0004932/0.004136, allocations: 147.5 kB / 0.6753 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.004262, allocations: 103.8 kB / 0.6754 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.004349, allocations: 11.86 kB / 0.6754 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.004436, allocations: 51.83 kB / 0.6754 GB, free: 3.258 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.004507, allocations: 55.86 kB / 0.6755 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.004533, allocations: 8 kB / 0.6755 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.00469, allocations: 99.78 kB / 0.6756 GB, free: 3.098 MB / 0.545 GB Notification: Performance of combineBinaries: time 9.512e-05/0.004793, allocations: 126.8 kB / 0.6757 GB, free: 2.973 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.866e-05/0.004838, allocations: 66.97 kB / 0.6758 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.004862, allocations: 11.94 kB / 0.6758 GB, free: 2.895 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.215e-05/0.004879, allocations: 7.984 kB / 0.6758 GB, free: 2.887 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.pOpen = exp(win.AOpen * (win.TOut - 273.15) + win.BOpen) / (exp(win.AOpen * (win.TOut - 273.15) + win.BOpen) + 1.0); win.pClose = exp(win.AClose * (win.TOut - 273.15) + win.BClose) / (exp(win.AClose * (win.TOut - 273.15) + win.BClose) + 1.0); if pre(win.on) then win.on = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pClose, integer(win.curSeed)); elseif pre(win.on) == false and win.TOut > 288.15 then win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pOpen, integer(win.curSeed)); elseif true then win.on = pre(win.on); end if; elseif true then win.pOpen = 0.0; win.pClose = 0.0; win.on = false; end if