Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.07031/0.07031, allocations: 11.34 MB / 323.8 MB, free: 8.02 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 67.89 kB / 451.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1217, allocations: 56.07 MB / 0.4956 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.004605/0.1263, allocations: 1.976 MB / 0.4976 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.1293, allocations: 1.37 MB / 0.4989 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.1296, allocations: 7.938 kB / 0.4989 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.1306, allocations: 307.2 kB / 0.4992 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007524/0.1314, allocations: 261.7 kB / 0.4994 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008502/0.1322, allocations: 274.3 kB / 0.4997 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005781/0.1328, allocations: 371.1 kB / 0.5001 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.133, allocations: 32.91 kB / 0.5001 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.1334, allocations: 155.4 kB / 0.5002 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.1337, allocations: 175.3 kB / 0.5004 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.1337, allocations: 20 kB / 0.5004 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.134, allocations: 131.9 kB / 0.5006 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1342, allocations: 87.69 kB / 0.5006 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.1343, allocations: 103.3 kB / 0.5007 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006451/0.135, allocations: 422.3 kB / 0.5011 GB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.135, allocations: 0 / 0.5011 GB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.135, allocations: 0 / 0.5011 GB, free: 11.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.135, allocations: 0 / 0.5011 GB, free: 11.98 MB / 382.1 MB Error: Failed to solve equation timer.startTime = IndustrialControlSystems.Logical.Timers.Functions.positiveEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time); [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/Logical/Timers/Timer_On_Redge.mo:14:3-36:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, 0.01) then timer.Sd = timer.S; timer.Shd = timer.S_hold; timer.S_hold = IndustrialControlSystems.Logical.Timers.Functions.hold(pre(timer.Sd), timer.Sd, timer.R, pre(timer.Shd)); timer.startTime = IndustrialControlSystems.Logical.Timers.Functions.positiveEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time); (timer.run, timer.Q) = IndustrialControlSystems.Logical.Timers.Functions.tim(timer.S_hold, timer.R, timer.PV, time, timer.startTime); timer.tr = if timer.Q then timer.PV - (time - timer.startTime) else 0.0; end when; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8775555174797773] Failed to read output from testmodel.py, exit status != 0: 0.14429652132093906 0.43273356399999996 0.29410516600000003 Calling exit ...