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.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.001834/0.001834, allocations: 117.7 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.002239/0.002239, allocations: 194.2 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.433/1.433, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.06091/0.06091, allocations: 11.34 MB / 314.7 MB, free: 0.8203 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_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 0.001904/0.001904, allocations: 64.12 kB / 438.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2396, allocations: 54.83 MB / 493.3 MB, free: 24.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003176/0.2428, allocations: 2.019 MB / 495.3 MB, free: 22.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.2446, allocations: 1.294 MB / 496.6 MB, free: 21.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.2448, allocations: 10.69 kB / 496.6 MB, free: 21.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008568/0.2456, allocations: 299.7 kB / 496.9 MB, free: 21.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.2461, allocations: 216.1 kB / 497.2 MB, free: 21.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00084/0.2469, allocations: 329.8 kB / 497.5 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.2473, allocations: 358.7 kB / 497.8 MB, free: 21.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.2474, allocations: 32.67 kB / 497.9 MB, free: 21.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.2476, allocations: 149 kB / 498 MB, free: 21.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.2478, allocations: 167.8 kB / 498.2 MB, free: 21.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.2479, allocations: 22.78 kB / 498.2 MB, free: 21.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.2481, allocations: 123 kB / 498.3 MB, free: 21.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2482, allocations: 92.22 kB / 498.4 MB, free: 21.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.2483, allocations: 125.9 kB / 498.5 MB, free: 20.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.2488, allocations: 398.8 kB / 498.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2488, allocations: 1.375 kB / 498.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2488, allocations: 4 kB / 498.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.2488, allocations: 0 / 498.9 MB, free: 20.71 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_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.507638174807653] Failed to read output from testmodel.py, exit status != 0: 0.25671533588320017 0.26738037800000003 0.016135374 Calling exit ...