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.0009662/0.0009662, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001638/0.001638, allocations: 173 kB / 23.5 MB, free: 1.059 MB / 18.57 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 0.9773/0.9773, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.03769/0.03769, allocations: 8.61 MB / 268.9 MB, free: 4.992 MB / 250.7 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: Performance of FrontEnd - loaded program: time 3.287e-06/3.287e-06, allocations: 3.984 kB / 340.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.687e-05, allocations: 2.312 kB / 340.9 MB, free: 9.789 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002338/0.002354, allocations: 2.046 MB / 342.9 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.004296, allocations: 1.394 MB / 344.3 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.004417, allocations: 8 kB / 344.3 MB, free: 6.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007468/0.005163, allocations: 311 kB / 344.6 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.005619, allocations: 274.9 kB / 344.9 MB, free: 5.746 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.006077, allocations: 263.2 kB / 345.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.006435, allocations: 382.9 kB / 345.5 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.006552, allocations: 32.92 kB / 345.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.006768, allocations: 203.5 kB / 345.8 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.006951, allocations: 143.6 kB / 345.9 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.006987, allocations: 20 kB / 345.9 MB, free: 4.727 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.007201, allocations: 135.8 kB / 346.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.007309, allocations: 95.67 kB / 346.2 MB, free: 4.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.007405, allocations: 79.7 kB / 346.2 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.00785, allocations: 318.9 kB / 346.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.007853, allocations: 0 / 346.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007854, allocations: 0 / 346.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.007859, allocations: 4 kB / 346.5 MB, free: 4.105 MB / 314.7 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: 1.733901091851294]