Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 108.4 kB / 16.38 MB, free: 5.969 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.001058/0.001058, allocations: 191.6 kB / 17.32 MB, free: 5.582 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.194/1.194, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.547/1.547, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.066e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001959/0.001994, allocations: 1.236 MB / 0.674 GB, free: 4.727 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007531/0.002758, allocations: 459.3 kB / 0.6745 GB, free: 4.273 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.002789, allocations: 0 / 0.6745 GB, free: 4.273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.002813, allocations: 3.938 kB / 0.6745 GB, free: 4.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.002847, allocations: 11.98 kB / 0.6745 GB, free: 4.258 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/logit1DQuadratic.mo:2:1-35:21:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit1DQuadratic' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.003333, allocations: 111.6 kB / 0.6746 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.28e-05/0.003394, allocations: 19.98 kB / 0.6746 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.003437, allocations: 0 / 0.6746 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.287e-05/0.003465, allocations: 11.94 kB / 0.6746 GB, free: 4.117 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.42e-05/0.003495, allocations: 15.86 kB / 0.6747 GB, free: 4.102 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.00351, allocations: 3.938 kB / 0.6747 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.003678, allocations: 103.9 kB / 0.6748 GB, free: 3.996 MB / 0.545 GB Notification: Performance of combineBinaries: time 5.503e-05/0.003742, allocations: 39.58 kB / 0.6748 GB, free: 3.957 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.641e-05/0.003764, allocations: 35.55 kB / 0.6748 GB, free: 3.922 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.003783, allocations: 0 / 0.6748 GB, free: 3.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.937e-06/0.003796, allocations: 4 kB / 0.6748 GB, free: 3.918 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Buildings.Occupants.BaseClasses.logit1DQuadratic(x, A, B, C, D, integer(curSeed)) then y = 1.0; elseif true then y = 0.0; end if