Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 107.5 kB / 16.37 MB, free: 6.367 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.001149/0.001149, allocations: 191 kB / 17.31 MB, free: 5.91 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.196/1.196, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.577/1.577, allocations: 292.2 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.222e-05, allocations: 5.938 kB / 0.6728 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002281/0.002317, allocations: 1.48 MB / 0.6743 GB, free: 4.402 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003414, allocations: 0.7721 MB / 0.675 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.003459, allocations: 0 / 0.675 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.003489, allocations: 3.938 kB / 0.6751 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.003543, allocations: 7.875 kB / 0.6751 GB, free: 3.609 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.0004625/0.004017, allocations: 130.6 kB / 0.6752 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.838e-05/0.004123, allocations: 83.7 kB / 0.6753 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.004212, allocations: 15.98 kB / 0.6753 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.914e-05/0.004296, allocations: 31.91 kB / 0.6753 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.846e-05/0.004352, allocations: 35.84 kB / 0.6753 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.004371, allocations: 4 kB / 0.6753 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.004522, allocations: 91.84 kB / 0.6754 GB, free: 3.227 MB / 0.545 GB Notification: Performance of combineBinaries: time 9.081e-05/0.004621, allocations: 102.9 kB / 0.6755 GB, free: 3.125 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.4e-05/0.004662, allocations: 63.11 kB / 0.6756 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.004689, allocations: 15.94 kB / 0.6756 GB, free: 3.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.508e-06/0.004703, allocations: 0 / 0.6756 GB, free: 3.047 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if bli.occ then bli.pDown = 1.0 - exp(bli.A * (bli.TOut - 273.15) + bli.B) / (exp(bli.A * (bli.TOut - 273.15) + bli.B) + 1.0); if Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pDown, integer(bli.curSeed)) then bli.blindState = 0.0; elseif true then bli.blindState = 1.0; end if; elseif true then bli.pDown = 0.0; bli.blindState = 1.0; end if