Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 112.6 kB / 16.38 MB, free: 6 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.0009029/0.0009029, allocations: 187.9 kB / 17.31 MB, free: 5.621 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.177/1.177, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.542/1.542, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.035e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001939/0.001973, allocations: 1.24 MB / 0.6741 GB, free: 4.633 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007217/0.002706, allocations: 447.3 kB / 0.6745 GB, free: 4.191 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.002739, allocations: 4 kB / 0.6745 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.002756, allocations: 0 / 0.6745 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/0.002805, allocations: 7.922 kB / 0.6745 GB, free: 4.18 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/logit2D.mo:2:1-36:12:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit2D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.003264, allocations: 107.6 kB / 0.6746 GB, free: 4.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.003338, allocations: 31.91 kB / 0.6746 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.003377, allocations: 0 / 0.6746 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.003404, allocations: 19.92 kB / 0.6746 GB, free: 4.023 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.008e-05/0.003439, allocations: 7.922 kB / 0.6747 GB, free: 4.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.003456, allocations: 4 kB / 0.6747 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.003627, allocations: 107.8 kB / 0.6748 GB, free: 3.906 MB / 0.545 GB Notification: Performance of combineBinaries: time 4.507e-05/0.003681, allocations: 35.59 kB / 0.6748 GB, free: 3.871 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.338e-05/0.003699, allocations: 31.55 kB / 0.6748 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.003722, allocations: 0 / 0.6748 GB, free: 3.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.574e-06/0.003733, allocations: 0 / 0.6748 GB, free: 3.84 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Buildings.Occupants.BaseClasses.logit2D(x1, x2, A, B, C, integer(curSeed)) then y = 1.0; elseif true then y = 0.0; end if