Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 105.2 kB / 16.37 MB, free: 6.355 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: 190.1 kB / 17.3 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.184/1.184, 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.566/1.566, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/1.915e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002285/0.002319, allocations: 1.503 MB / 0.6743 GB, free: 4.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003451, allocations: 0.7721 MB / 0.6751 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.003492, allocations: 0 / 0.6751 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.003535, allocations: 3.938 kB / 0.6751 GB, free: 3.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.003582, allocations: 11.86 kB / 0.6751 GB, free: 3.633 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.0004294/0.004023, allocations: 118.6 kB / 0.6752 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.004127, allocations: 79.7 kB / 0.6753 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/0.00422, allocations: 16 kB / 0.6753 GB, free: 3.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.237e-05/0.004298, allocations: 39.89 kB / 0.6753 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.004352, allocations: 31.84 kB / 0.6753 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.004373, allocations: 8 kB / 0.6754 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.004525, allocations: 91.84 kB / 0.6754 GB, free: 3.258 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.838e-05/0.004621, allocations: 102.9 kB / 0.6755 GB, free: 3.156 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.992e-05/0.004656, allocations: 55.12 kB / 0.6756 GB, free: 3.102 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.004683, allocations: 19.94 kB / 0.6756 GB, free: 3.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.037e-06/0.004697, allocations: 0 / 0.6756 GB, free: 3.082 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if bli.occ then bli.pDown = 1.0 - exp(bli.A * (bli.TIn - 273.15) + bli.B) / (exp(bli.A * (bli.TIn - 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