Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") translateModel(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 107.7 kB / 16.42 MB, free: 6.52 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.001125/0.001125, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.307/1.307, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05163/0.05163, allocations: 10.72 MB / 281.3 MB, free: 1.297 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.379e-05, allocations: 8.797 kB / 391.4 MB, free: 46.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.002758/0.00279, allocations: 1.553 MB / 393 MB, free: 44.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003807, allocations: 0.5556 MB / 393.6 MB, free: 44.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.003958, allocations: 11.47 kB / 393.6 MB, free: 44.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.004001, allocations: 9.375 kB / 393.6 MB, free: 44.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.523e-05/0.004118, allocations: 10.69 kB / 393.6 MB, free: 44.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.004435, allocations: 71.5 kB / 393.7 MB, free: 44.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.00464, allocations: 117.5 kB / 393.8 MB, free: 44.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.004778, allocations: 21.95 kB / 393.8 MB, free: 44.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004896, allocations: 46.84 kB / 393.8 MB, free: 44.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.004975, allocations: 41.28 kB / 393.9 MB, free: 44.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.005004, allocations: 8.594 kB / 393.9 MB, free: 44.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.841e-05/0.005027, allocations: 6.75 kB / 393.9 MB, free: 44.42 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001215/0.005153, allocations: 157.7 kB / 394 MB, free: 44.31 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 4.554e-05/0.005204, allocations: 99.06 kB / 394.1 MB, free: 44.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.005244, allocations: 21.38 kB / 394.2 MB, free: 44.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.631e-05/0.005275, allocations: 1.375 kB / 394.2 MB, free: 44.23 MB / 318.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Rhyst_DIGITAL.u >= 0.5 and not pre(Rhyst_DIGITAL.state) or Rhyst_DIGITAL.u <= (-0.5) and pre(Rhyst_DIGITAL.state) then Rhyst_DIGITAL.state = not pre(Rhyst_DIGITAL.state); elseif true then Rhyst_DIGITAL.state = pre(Rhyst_DIGITAL.state); end if