Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 108.5 kB / 16.37 MB, free: 5.84 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.00112/0.00112, allocations: 192.9 kB / 17.31 MB, free: 5.492 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.202/1.202, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.576/1.576, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.083e-05, allocations: 10.02 kB / 0.6728 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001899/0.001934, allocations: 1.205 MB / 0.674 GB, free: 4.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006438/0.00259, allocations: 391.6 kB / 0.6744 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.002621, allocations: 0 / 0.6744 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.002638, allocations: 0 / 0.6744 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.71e-05/0.002669, allocations: 0 / 0.6744 GB, free: 4.344 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.000418/0.0031, allocations: 103.6 kB / 0.6745 GB, free: 4.242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.003159, allocations: 15.98 kB / 0.6745 GB, free: 4.227 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.16e-05/0.003196, allocations: 4 kB / 0.6745 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.003219, allocations: 8 kB / 0.6745 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.03e-05/0.003243, allocations: 7.922 kB / 0.6745 GB, free: 4.207 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.003257, allocations: 0 / 0.6745 GB, free: 4.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.003402, allocations: 91.84 kB / 0.6746 GB, free: 4.117 MB / 0.545 GB Notification: Performance of combineBinaries: time 3.524e-05/0.003445, allocations: 23.73 kB / 0.6746 GB, free: 4.094 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 8.135e-06/0.003458, allocations: 15.75 kB / 0.6746 GB, free: 4.078 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.00348, allocations: 8 kB / 0.6747 GB, free: 4.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.123e-06/0.003493, allocations: 4 kB / 0.6747 GB, free: 4.066 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Buildings.Occupants.BaseClasses.binaryVariableGeneration(p, integer(curSeed)) then y = 1.0; elseif true then y = 0.0; end if