Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 108.5 kB / 16.42 MB, free: 6.488 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.001104/0.001104, allocations: 187.2 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.112/1.112, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.015/2.015, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.535e-05, allocations: 2.281 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001597/0.001619, allocations: 1.219 MB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006028/0.002232, allocations: 384.3 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.002261, allocations: 3.938 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.00228, allocations: 0 / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.281e-05/0.002308, allocations: 7.938 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.002712, allocations: 87.72 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.002779, allocations: 23.91 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.004e-05/0.002815, allocations: 0 / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.002839, allocations: 15.92 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.006e-05/0.002863, allocations: 4 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.002876, allocations: 0 / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.003023, allocations: 91.91 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of combineBinaries: time 3.497e-05/0.003066, allocations: 23.73 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 9.197e-06/0.00308, allocations: 19.69 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.0031, allocations: 4 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of FrontEnd: time 5.931e-06/0.003111, allocations: 4 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Buildings.Occupants.BaseClasses.binaryVariableGeneration(p, integer(curSeed)) then y = 1.0; elseif true then y = 0.0; end if