Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 107 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.001117/0.001117, allocations: 188 kB / 17.3 MB, free: 5.918 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.191/1.191, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.551/1.551, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.431e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.00237/0.002408, allocations: 1.55 MB / 0.6744 GB, free: 4.336 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003597, allocations: 0.8148 MB / 0.6751 GB, free: 3.512 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.003646, allocations: 0 / 0.6751 GB, free: 3.512 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.003682, allocations: 3.938 kB / 0.6752 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.003763, allocations: 19.8 kB / 0.6752 GB, free: 3.488 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.0004544/0.004229, allocations: 127.6 kB / 0.6753 GB, free: 3.363 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.004365, allocations: 115.6 kB / 0.6754 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.004458, allocations: 15.98 kB / 0.6754 GB, free: 3.234 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.287e-05/0.004546, allocations: 39.86 kB / 0.6755 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.00462, allocations: 51.75 kB / 0.6755 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.004643, allocations: 8 kB / 0.6755 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.004802, allocations: 95.84 kB / 0.6756 GB, free: 3.043 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001059/0.004915, allocations: 150.4 kB / 0.6757 GB, free: 2.895 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 4.834e-05/0.004969, allocations: 90.62 kB / 0.6758 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.005002, allocations: 15.94 kB / 0.6758 GB, free: 2.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.406e-05/0.00502, allocations: 0 / 0.6758 GB, free: 2.789 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if lig.sampleTrigger then if lig.occ then if not pre(lig.on) then lig.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(lig.pInter, integer(lig.curSeed)); elseif true then lig.on = true; end if; elseif true then lig.on = false; end if; elseif true then lig.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(lig.pArriv, integer(lig.curSeed)); end if