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.001053/0.001053, allocations: 111.8 kB / 16.42 MB, free: 6.531 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.00105/0.001049, allocations: 183.2 kB / 17.35 MB, free: 5.723 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.108/1.108, allocations: 222.9 MB / 241 MB, free: 15.11 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.034/2.034, allocations: 437 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.839e-05, allocations: 6.219 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00164/0.001666, allocations: 1.214 MB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006312/0.002307, allocations: 388.2 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.002341, allocations: 3.938 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.111e-05/0.002357, allocations: 0 / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.717e-05/0.002389, allocations: 3.984 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.002803, allocations: 83.67 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.002869, allocations: 15.98 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.002909, allocations: 7.984 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.002931, allocations: 11.94 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.017e-05/0.002957, allocations: 7.984 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.002971, allocations: 4 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.003134, allocations: 95.83 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of combineBinaries: time 3.658e-05/0.003178, allocations: 23.75 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 7.775e-06/0.003191, allocations: 15.75 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.003208, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of FrontEnd: time 6.001e-06/0.003218, allocations: 0 / 1.021 GB, free: 7.625 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