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.001005/0.001005, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001646/0.001646, allocations: 169 kB / 23.02 MB, free: 1.543 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 1.042/1.042, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.06082/0.06082, allocations: 8.605 MB / 268.6 MB, free: 4.918 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 1.713e-06/1.713e-06, allocations: 0 / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.852e-05, allocations: 4.844 kB / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002225/0.002254, allocations: 2.053 MB / 342.9 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.003791, allocations: 1.387 MB / 344.3 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.003909, allocations: 11.88 kB / 344.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005778/0.004487, allocations: 315 kB / 344.6 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.0049, allocations: 266.9 kB / 344.9 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.005396, allocations: 271.2 kB / 345.2 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.005712, allocations: 383 kB / 345.5 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.00581, allocations: 36.89 kB / 345.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.005989, allocations: 199.5 kB / 345.8 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.006117, allocations: 147.6 kB / 345.9 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.006143, allocations: 20 kB / 345.9 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.00634, allocations: 135.8 kB / 346.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.006412, allocations: 91.67 kB / 346.2 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.006479, allocations: 83.69 kB / 346.2 MB, free: 3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.006798, allocations: 318.8 kB / 346.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006801, allocations: 0 / 346.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006802, allocations: 4 kB / 346.5 MB, free: 2.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.006806, allocations: 0 / 346.5 MB, free: 2.684 MB / 266.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.794180414173752]