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.0008468/0.0008468, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008893/0.0008893, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.8725/0.8725, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.08213/0.08213, allocations: 8.619 MB / 268.9 MB, free: 4.793 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.443e-06/1.443e-06, allocations: 0 / 288.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.342e-05, allocations: 5.828 kB / 288.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.1094/0.1094, allocations: 2.034 MB / 290.1 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1113, allocations: 1.404 MB / 291.5 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1114, allocations: 5.188 kB / 291.5 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.1121, allocations: 311.7 kB / 291.8 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005005/0.1126, allocations: 258.9 kB / 292.1 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.1132, allocations: 276.9 kB / 292.3 MB, free: 18.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.1136, allocations: 382.8 kB / 292.7 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1138, allocations: 31.7 kB / 292.7 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.114, allocations: 204.5 kB / 292.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.1142, allocations: 145.9 kB / 293.1 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.1143, allocations: 19.56 kB / 293.1 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.1145, allocations: 133.2 kB / 293.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1146, allocations: 96.52 kB / 293.3 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.1147, allocations: 79.62 kB / 293.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.1151, allocations: 317.1 kB / 293.7 MB, free: 17.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1151, allocations: 4.75 kB / 293.7 MB, free: 17.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1151, allocations: 0.9688 kB / 293.7 MB, free: 17.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1151, allocations: 0 / 293.7 MB, free: 17.81 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.5389823811128736]