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.001874/0.001874, allocations: 88.05 kB / 19.44 MB, free: 332 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.002152/0.002152, allocations: 165.7 kB / 22.76 MB, free: 1.656 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.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.07395/0.07395, allocations: 8.614 MB / 268.2 MB, free: 4.941 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 2.023e-06/2.023e-06, allocations: 0 / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.227e-05, allocations: 2.312 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002866/0.002899, allocations: 2.03 MB / 342.2 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.004847, allocations: 1.378 MB / 343.5 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.004967, allocations: 11.94 kB / 343.6 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.005781, allocations: 303.1 kB / 343.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.006255, allocations: 274.9 kB / 344.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.006798, allocations: 271.2 kB / 344.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.007099, allocations: 379 kB / 344.8 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.007217, allocations: 40.84 kB / 344.8 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.007424, allocations: 203.5 kB / 345 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.007588, allocations: 147.6 kB / 345.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.007627, allocations: 20 kB / 345.2 MB, free: 3.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.00786, allocations: 127.8 kB / 345.3 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.722e-05/0.007957, allocations: 91.67 kB / 345.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.962e-05/0.008046, allocations: 79.7 kB / 345.5 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.00848, allocations: 422.6 kB / 345.9 MB, free: 2.988 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.008485, allocations: 0 / 345.9 MB, free: 2.988 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.008487, allocations: 4 kB / 345.9 MB, free: 2.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.008493, allocations: 4 kB / 345.9 MB, free: 2.98 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: 2.355197962024249]