Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 103.2 kB / 16.38 MB, free: 5.98 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.001085/0.001085, allocations: 193.3 kB / 17.32 MB, free: 5.594 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.164/1.164, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.581/1.581, allocations: 292.3 MB / 0.5496 GB, free: 17.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/1.964e-05, allocations: 5.938 kB / 0.6729 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002264/0.002299, allocations: 1.523 MB / 0.6743 GB, free: 4.363 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003455, allocations: 0.7994 MB / 0.6751 GB, free: 3.555 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.0035, allocations: 0 / 0.6751 GB, free: 3.555 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.003537, allocations: 11.86 kB / 0.6751 GB, free: 3.543 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.34e-05/0.003616, allocations: 11.88 kB / 0.6751 GB, free: 3.531 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.0004536/0.00408, allocations: 131.5 kB / 0.6753 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.004212, allocations: 99.75 kB / 0.6754 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.633e-05/0.004295, allocations: 8 kB / 0.6754 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.004381, allocations: 47.77 kB / 0.6754 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.004442, allocations: 35.84 kB / 0.6754 GB, free: 3.215 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.004464, allocations: 8 kB / 0.6755 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.004624, allocations: 103.8 kB / 0.6756 GB, free: 3.105 MB / 0.545 GB Notification: Performance of combineBinaries: time 9.561e-05/0.004727, allocations: 122.6 kB / 0.6757 GB, free: 2.984 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.292e-05/0.004768, allocations: 78.86 kB / 0.6757 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.004804, allocations: 15.94 kB / 0.6758 GB, free: 2.891 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.251e-05/0.004821, allocations: 0 / 0.6758 GB, free: 2.891 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if lig.sampleTrigger then if lig.occ then lig.on = pre(lig.on); elseif true then lig.on = false; end if; elseif true then lig.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(lig.pArriv, integer(lig.curSeed)); end if