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.001484/0.001484, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001824/0.001824, allocations: 169 kB / 23.28 MB, free: 1.219 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.037/1.037, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.0391/0.0391, allocations: 8.606 MB / 268.9 MB, free: 4.773 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.806e-06/2.806e-06, allocations: 0 / 341.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.16e-05, allocations: 6.312 kB / 341.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002566/0.002588, allocations: 2.026 MB / 343.3 MB, free: 7.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.004272, allocations: 1.387 MB / 344.7 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.004412, allocations: 4 kB / 344.7 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.005112, allocations: 319 kB / 345 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.005569, allocations: 270.9 kB / 345.3 MB, free: 5.184 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.00612, allocations: 271.2 kB / 345.6 MB, free: 4.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.006457, allocations: 379 kB / 345.9 MB, free: 4.547 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.006566, allocations: 28.92 kB / 346 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.006761, allocations: 207.4 kB / 346.2 MB, free: 4.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.006916, allocations: 143.6 kB / 346.3 MB, free: 4.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.006949, allocations: 20 kB / 346.3 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.007136, allocations: 139.7 kB / 346.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.007226, allocations: 91.67 kB / 346.6 MB, free: 3.934 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.759e-05/0.007293, allocations: 79.77 kB / 346.6 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.007607, allocations: 310.9 kB / 346.9 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.007608, allocations: 0 / 346.9 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007609, allocations: 4 kB / 346.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.007614, allocations: 0 / 346.9 MB, free: 3.547 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.752680438105017]