Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 102.5 kB / 16.38 MB, free: 5.98 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.001089/0.001089, allocations: 193.3 kB / 17.32 MB, free: 5.594 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.172/1.172, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.598/1.598, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.262e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.844 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002318/0.002355, allocations: 1.515 MB / 0.6743 GB, free: 4.316 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.0036, allocations: 0.8694 MB / 0.6752 GB, free: 3.438 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.003646, allocations: 0 / 0.6752 GB, free: 3.438 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.003681, allocations: 3.938 kB / 0.6752 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.003733, allocations: 19.84 kB / 0.6752 GB, free: 3.414 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.0005224/0.004269, allocations: 155.4 kB / 0.6753 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.004386, allocations: 99.73 kB / 0.6754 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.004478, allocations: 12 kB / 0.6754 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.004562, allocations: 43.84 kB / 0.6755 GB, free: 3.109 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.004636, allocations: 51.81 kB / 0.6755 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.004658, allocations: 8 kB / 0.6755 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.004839, allocations: 123.8 kB / 0.6757 GB, free: 2.93 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001029/0.00495, allocations: 126.6 kB / 0.6758 GB, free: 2.805 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.353e-05/0.004989, allocations: 74.88 kB / 0.6759 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.005015, allocations: 11.94 kB / 0.6759 GB, free: 2.719 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.076e-05/0.00503, allocations: 0 / 0.6759 GB, free: 2.719 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