Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009185/0.0009186, allocations: 106 kB / 16.42 MB, free: 6.527 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.0009069/0.0009073, allocations: 190 kB / 17.36 MB, free: 5.73 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.136/1.136, 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 7.0.3-maint.7.0.x/package.mo): time 1.216/1.216, allocations: 251.7 MB / 0.51 GB, free: 400 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.141e-05, allocations: 6.219 kB / 0.7264 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001587/0.001606, allocations: 1.227 MB / 0.7276 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007151/0.002331, allocations: 448.5 kB / 0.728 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.002364, allocations: 0 / 0.728 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.002383, allocations: 3.938 kB / 0.728 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.76e-05/0.002415, allocations: 0 / 0.728 GB, free: 3.059 MB / 0.5606 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0004407/0.002869, allocations: 119.5 kB / 0.7281 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.694e-05/0.002934, allocations: 23.86 kB / 0.7281 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.002972, allocations: 4 kB / 0.7281 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.002998, allocations: 15.98 kB / 0.7281 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.331e-05/0.003026, allocations: 7.922 kB / 0.7282 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.003047, allocations: 4 kB / 0.7282 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.003216, allocations: 103.9 kB / 0.7283 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of combineBinaries: time 4.066e-05/0.003265, allocations: 35.58 kB / 0.7283 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 1.106e-05/0.003282, allocations: 27.56 kB / 0.7283 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.003305, allocations: 7.938 kB / 0.7283 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.991e-06/0.003315, allocations: 0 / 0.7283 GB, free: 2.715 MB / 0.5606 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