Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="mat",numberOfIntervals=14400,variableFilter="time|ySet|yOut",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="mat",numberOfIntervals=14400,variableFilter="time|ySet|yOut",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009255, allocations: 110.9 kB / 16.43 MB, free: 6.035 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.0008965/0.0008965, allocations: 183.1 kB / 17.36 MB, free: 5.613 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.144/1.144, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.226/2.226, allocations: 474.4 MB / 0.7477 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/1.998e-05, allocations: 2.281 kB / 1.073 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.00325/0.003277, allocations: 2.384 MB / 1.075 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.004327, allocations: 0.7247 MB / 1.076 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.004449, allocations: 4 kB / 1.076 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.004594, allocations: 43.45 kB / 1.076 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/0.004688, allocations: 39.59 kB / 1.076 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.00506, allocations: 159.8 kB / 1.076 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.005454, allocations: 436.1 kB / 1.076 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.005789, allocations: 161.6 kB / 1.076 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.005944, allocations: 143.5 kB / 1.077 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.006112, allocations: 163.2 kB / 1.077 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.006167, allocations: 47.94 kB / 1.077 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.006216, allocations: 48 kB / 1.077 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.000313/0.006534, allocations: 0.5213 MB / 1.077 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.000138/0.006678, allocations: 319 kB / 1.078 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.006746, allocations: 63.81 kB / 1.078 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.376e-05/0.006795, allocations: 27.73 kB / 1.078 GB, free: 1.941 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if onOffCtr.onOffFuzLog.isAblToTurOn then onOffCtr.onOffFuzLog.devTurOff = 0; onOffCtr.onOffFuzLog.devRunMin = 0; onOffCtr.onOffFuzLog.devNorOpe = 1; elseif true then onOffCtr.onOffFuzLog.devTurOff = 1; onOffCtr.onOffFuzLog.devRunMin = 0; onOffCtr.onOffFuzLog.devNorOpe = 0; end if