Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001112/0.001112, allocations: 106.9 kB / 16.42 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.001091/0.001091, allocations: 187.2 kB / 17.36 MB, free: 5.699 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.161/1.161, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.902/1.902, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.759e-05, allocations: 6.219 kB / 0.9514 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001853/0.001879, allocations: 1.214 MB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007106/0.002601, allocations: 396.8 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.002637, allocations: 0 / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.002657, allocations: 0 / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.207e-05/0.002693, allocations: 3.938 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.003184, allocations: 83.72 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.744e-05/0.003261, allocations: 19.92 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.003304, allocations: 4 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.003338, allocations: 11.98 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.454e-05/0.003367, allocations: 7.922 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.003386, allocations: 8 kB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.00355, allocations: 87.91 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of combineBinaries: time 4.214e-05/0.0036, allocations: 27.73 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 8.295e-06/0.003613, allocations: 15.75 kB / 0.9532 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.003633, allocations: 0 / 0.9532 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.933e-06/0.003644, allocations: 0 / 0.9532 GB, free: 5.836 MB / 0.7325 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