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.001284/0.001284, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001337/0.001337, allocations: 170.2 kB / 22.46 MB, free: 2.105 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.9937/0.9937, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.03601/0.03601, allocations: 8.617 MB / 267.8 MB, free: 5.129 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 395.8 MB, free: 1.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.791e-05, allocations: 4.953 kB / 395.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002316/0.002334, allocations: 1.975 MB / 397.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.004086, allocations: 1.356 MB / 399.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.00419, allocations: 3.938 kB / 399.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.004824, allocations: 322.9 kB / 399.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.005184, allocations: 258.9 kB / 399.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.005581, allocations: 278.7 kB / 400 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.005873, allocations: 386.9 kB / 400.4 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.005984, allocations: 36.78 kB / 400.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.00616, allocations: 207.4 kB / 400.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.006316, allocations: 143.6 kB / 400.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.006346, allocations: 20 kB / 400.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.006522, allocations: 127.8 kB / 400.9 MB, free: 12.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.006609, allocations: 99.66 kB / 401 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.006686, allocations: 79.7 kB / 401.1 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.007047, allocations: 430.6 kB / 401.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.00705, allocations: 0 / 401.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007051, allocations: 0 / 401.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.007056, allocations: 0 / 401.5 MB, free: 12.21 MB / 378.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.7974279299378395]