Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001084/0.001084, allocations: 107.5 kB / 16.42 MB, free: 6.469 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.001066/0.001066, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.134/1.134, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.205/1.205, allocations: 251.7 MB / 0.51 GB, free: 444 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.508e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001905/0.001928, allocations: 1.498 MB / 0.7278 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003002, allocations: 0.7771 MB / 0.7286 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.003042, allocations: 0 / 0.7286 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.003078, allocations: 7.922 kB / 0.7286 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.003125, allocations: 11.86 kB / 0.7286 GB, free: 2.477 MB / 0.5606 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0004564/0.003586, allocations: 123.6 kB / 0.7287 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.003696, allocations: 75.77 kB / 0.7288 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.147e-05/0.003783, allocations: 15.98 kB / 0.7288 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.003864, allocations: 27.92 kB / 0.7288 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.003922, allocations: 35.83 kB / 0.7289 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003943, allocations: 8 kB / 0.7289 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.004098, allocations: 95.84 kB / 0.729 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of combineBinaries: time 8.651e-05/0.004192, allocations: 98.91 kB / 0.729 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.893e-05/0.004226, allocations: 59.11 kB / 0.7291 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.004251, allocations: 15.94 kB / 0.7291 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.017e-06/0.004266, allocations: 4 kB / 0.7291 GB, free: 1.926 MB / 0.5606 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