Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06077/0.06077, allocations: 11.34 MB / 314.7 MB, free: 0.8828 MB / 238.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.88 kB / 438.5 MB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.274, allocations: 54.83 MB / 493.3 MB, free: 24.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003056/0.277, allocations: 2.005 MB / 495.3 MB, free: 22.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.2789, allocations: 1.279 MB / 496.6 MB, free: 21.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.279, allocations: 5.438 kB / 496.6 MB, free: 21.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000816/0.2798, allocations: 268.1 kB / 496.9 MB, free: 21.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000441/0.2803, allocations: 200.9 kB / 497.1 MB, free: 21.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008487/0.2811, allocations: 317.5 kB / 497.4 MB, free: 21.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.2815, allocations: 337.6 kB / 497.7 MB, free: 21.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2816, allocations: 33.5 kB / 497.7 MB, free: 21.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.2818, allocations: 143.7 kB / 497.9 MB, free: 21.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.282, allocations: 154.2 kB / 498 MB, free: 21.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.282, allocations: 17.34 kB / 498.1 MB, free: 21.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.2822, allocations: 108.1 kB / 498.2 MB, free: 21.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.136e-05/0.2823, allocations: 78.28 kB / 498.2 MB, free: 21.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.2824, allocations: 117.2 kB / 498.4 MB, free: 21.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.2828, allocations: 357.5 kB / 498.7 MB, free: 20.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2828, allocations: 9.297 kB / 498.7 MB, free: 20.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2828, allocations: 0 / 498.7 MB, free: 20.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2828, allocations: 0 / 498.7 MB, free: 20.84 MB / 366.1 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-master/Logical/Timers/Timer_OffDelay.mo:12:3-27:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, 0.01) then 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.odt(timer.S, timer.R, timer.PV, time, timer.startTime); timer.tr = if not timer.Q then timer.PV - (time - timer.startTime) else timer.PV; end when; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5209827187936753] Failed to read output from testmodel.py, exit status != 0: 0.29076230502687395 0.301257769 0.015936642 Calling exit ...