Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 104.4 kB / 16.37 MB, free: 6.371 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.001079/0.00108, allocations: 186.9 kB / 17.3 MB, free: 5.914 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.2/1.2, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.556/1.556, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/1.95e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001937/0.001969, allocations: 1.24 MB / 0.674 GB, free: 4.652 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007045/0.002685, allocations: 439.4 kB / 0.6745 GB, free: 4.219 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.002714, allocations: 0 / 0.6745 GB, free: 4.219 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.002736, allocations: 3.938 kB / 0.6745 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.766e-05/0.002774, allocations: 0 / 0.6745 GB, free: 4.215 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/weibull1DOFF.mo:2:1-36:17:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DOFF' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.003245, allocations: 119.5 kB / 0.6746 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.003309, allocations: 23.92 kB / 0.6746 GB, free: 4.074 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.003351, allocations: 8 kB / 0.6746 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.765e-05/0.003374, allocations: 4 kB / 0.6746 GB, free: 4.062 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.613e-05/0.003404, allocations: 15.91 kB / 0.6746 GB, free: 4.047 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.00342, allocations: 4 kB / 0.6746 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.003593, allocations: 103.8 kB / 0.6747 GB, free: 3.941 MB / 0.545 GB Notification: Performance of combineBinaries: time 4.076e-05/0.003642, allocations: 35.58 kB / 0.6748 GB, free: 3.906 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.258e-05/0.003661, allocations: 27.56 kB / 0.6748 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.003682, allocations: 7.938 kB / 0.6748 GB, free: 3.871 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.424e-06/0.003694, allocations: 0 / 0.6748 GB, free: 3.871 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Buildings.Occupants.BaseClasses.weibull1DOFF(x, u, L, k, dt, integer(curSeed)) then y = 1.0; elseif true then y = 0.0; end if