Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 102.1 kB / 16.37 MB, free: 6.309 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.00109/0.00109, allocations: 193 kB / 17.31 MB, free: 5.891 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.203/1.203, 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 8.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/3.664e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.00242/0.002473, allocations: 1.499 MB / 0.6743 GB, free: 4.383 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.00371, allocations: 0.8694 MB / 0.6752 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.00375, allocations: 0 / 0.6752 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.003785, allocations: 3.938 kB / 0.6752 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.003835, allocations: 19.8 kB / 0.6752 GB, free: 3.48 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'. [/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.0004913/0.004337, allocations: 153.8 kB / 0.6753 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.004448, allocations: 99.75 kB / 0.6754 GB, free: 3.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.004526, allocations: 12 kB / 0.6754 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.004604, allocations: 47.77 kB / 0.6755 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.004679, allocations: 47.83 kB / 0.6755 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.004701, allocations: 8 kB / 0.6755 GB, free: 3.121 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.004875, allocations: 119.9 kB / 0.6756 GB, free: 3.004 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001043/0.00499, allocations: 130.6 kB / 0.6758 GB, free: 2.875 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.21e-05/0.005029, allocations: 74.88 kB / 0.6758 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.005052, allocations: 11.94 kB / 0.6759 GB, free: 2.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.1e-05/0.005067, allocations: 3.938 kB / 0.6759 GB, free: 2.785 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if ac.occ then if pre(ac.on) then ac.on = not Buildings.Occupants.BaseClasses.weibull1DOFF(ac.TIn, ac.u1, ac.L1, ac.k1, ac.samplePeriod, integer(ac.curSeed)); elseif true then ac.on = Buildings.Occupants.BaseClasses.weibull1DON(ac.TIn, ac.u2, ac.L2, ac.k2, ac.samplePeriod, integer(ac.curSeed)); end if; elseif true then ac.on = false; end if