Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 103.8 kB / 16.38 MB, free: 6.484 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.001099/0.001099, allocations: 190.5 kB / 17.31 MB, free: 5.801 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.195/1.195, 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.571/1.571, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.162e-05, allocations: 10.02 kB / 0.6729 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002245/0.00228, allocations: 1.472 MB / 0.6743 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.00341, allocations: 0.7643 MB / 0.675 GB, free: 3.637 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.003454, allocations: 3.938 kB / 0.675 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.003484, allocations: 11.94 kB / 0.6751 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.003532, allocations: 15.84 kB / 0.6751 GB, free: 3.605 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. Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.003987, allocations: 127.6 kB / 0.6752 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.699e-05/0.004092, allocations: 79.77 kB / 0.6753 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.004175, allocations: 12 kB / 0.6753 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.004254, allocations: 43.89 kB / 0.6753 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.004311, allocations: 39.78 kB / 0.6754 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.004331, allocations: 8 kB / 0.6754 GB, free: 3.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.004486, allocations: 91.91 kB / 0.6755 GB, free: 3.211 MB / 0.545 GB Notification: Performance of combineBinaries: time 7.902e-05/0.004572, allocations: 106.9 kB / 0.6756 GB, free: 3.105 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.35e-05/0.004611, allocations: 55.12 kB / 0.6756 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.004637, allocations: 15.94 kB / 0.6756 GB, free: 3.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.337e-06/0.004651, allocations: 0 / 0.6756 GB, free: 3.035 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if hea.occ then hea.p = exp(hea.A * (hea.TOut - 273.15) + hea.B) / (exp(hea.A * (hea.TOut - 273.15) + hea.B) + 1.0); hea.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(hea.p, integer(hea.curSeed)); elseif true then hea.p = 0.0; hea.on = false; end if