Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 102.4 kB / 16.37 MB, free: 6.352 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.001079, allocations: 196.1 kB / 17.31 MB, free: 5.898 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.21/1.21, 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.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.269e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001978/0.002014, allocations: 1.225 MB / 0.674 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.002789, allocations: 455.2 kB / 0.6745 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.002821, allocations: 0 / 0.6745 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.002841, allocations: 3.938 kB / 0.6745 GB, free: 4.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.825e-05/0.002878, allocations: 0 / 0.6745 GB, free: 4.23 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/weibull1DON.mo:2:1-36:16:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DON' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.003361, allocations: 118.5 kB / 0.6746 GB, free: 4.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.671e-05/0.003427, allocations: 19.98 kB / 0.6746 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.003471, allocations: 4 kB / 0.6746 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.003496, allocations: 11.94 kB / 0.6746 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.572e-05/0.003526, allocations: 11.92 kB / 0.6746 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.003542, allocations: 4 kB / 0.6746 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.003725, allocations: 103.8 kB / 0.6747 GB, free: 3.965 MB / 0.545 GB Notification: Performance of combineBinaries: time 4.23e-05/0.003775, allocations: 35.58 kB / 0.6748 GB, free: 3.93 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.637e-05/0.003796, allocations: 31.55 kB / 0.6748 GB, free: 3.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.003819, allocations: 8 kB / 0.6748 GB, free: 3.891 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.464e-06/0.00383, allocations: 0 / 0.6748 GB, free: 3.891 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Buildings.Occupants.BaseClasses.weibull1DON(x, u, L, k, dt, integer(curSeed)) then y = 1.0; elseif true then y = 0.0; end if