Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00113/0.00113, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001061/0.001061, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.155/1.155, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.222/1.222, allocations: 251.7 MB / 0.51 GB, free: 424 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.153e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001938/0.001957, allocations: 1.49 MB / 0.7278 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003032, allocations: 0.7809 MB / 0.7286 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.003078, allocations: 0 / 0.7286 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.003105, allocations: 3.938 kB / 0.7286 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.003156, allocations: 19.84 kB / 0.7286 GB, free: 2.457 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.0004541/0.003616, allocations: 115.6 kB / 0.7287 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.003726, allocations: 75.77 kB / 0.7288 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.71e-05/0.00381, allocations: 12 kB / 0.7288 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.003887, allocations: 39.89 kB / 0.7288 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.003942, allocations: 27.84 kB / 0.7288 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.003964, allocations: 8 kB / 0.7289 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.004117, allocations: 95.84 kB / 0.7289 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of combineBinaries: time 8.268e-05/0.004208, allocations: 98.91 kB / 0.729 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.751e-05/0.004241, allocations: 59.12 kB / 0.7291 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.004264, allocations: 11.94 kB / 0.7291 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.546e-06/0.004277, allocations: 0 / 0.7291 GB, free: 1.922 MB / 0.5606 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