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.001416/0.001416, allocations: 88.72 kB / 19.44 MB, free: 356 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.001694/0.001694, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.06619/0.06619, allocations: 8.612 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 1.362e-06/1.362e-06, allocations: 0 / 340.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.607e-05, allocations: 9.062 kB / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002722/0.002748, allocations: 1.979 MB / 342.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.004781, allocations: 1.356 MB / 343.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.004949, allocations: 11.94 kB / 343.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.005766, allocations: 307.1 kB / 343.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005579/0.006324, allocations: 262.9 kB / 344 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.006913, allocations: 271.2 kB / 344.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.007274, allocations: 382.9 kB / 344.7 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.007401, allocations: 36.84 kB / 344.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.007663, allocations: 203.5 kB / 344.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.007831, allocations: 143.6 kB / 345.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.007869, allocations: 20 kB / 345.1 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.008084, allocations: 131.8 kB / 345.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.008173, allocations: 95.67 kB / 345.3 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.008281, allocations: 75.7 kB / 345.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.008692, allocations: 426.6 kB / 345.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.008695, allocations: 0 / 345.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008696, allocations: 0 / 345.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.008704, allocations: 4 kB / 345.8 MB, free: 3.047 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.204224385903217]