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.001707/0.001707, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002159/0.002159, allocations: 160.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.474/1.474, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.05974/0.05974, allocations: 8.608 MB / 267.8 MB, free: 8.578 MB / 254.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/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.615e-06/2.615e-06, allocations: 0 / 395.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.521e-05/4.783e-05, allocations: 2.281 kB / 395.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.00397/0.004017, allocations: 1.975 MB / 397.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.00698, allocations: 1.367 MB / 398.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.00713, allocations: 7.938 kB / 398.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.008227, allocations: 302.6 kB / 399.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006862/0.008913, allocations: 274.9 kB / 399.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.009667, allocations: 267.2 kB / 399.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.01017, allocations: 382.9 kB / 400.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.01033, allocations: 44.83 kB / 400.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.01064, allocations: 195.5 kB / 400.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.01091, allocations: 143.6 kB / 400.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.01096, allocations: 23.94 kB / 400.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.01132, allocations: 135.8 kB / 400.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.01148, allocations: 87.69 kB / 400.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.01162, allocations: 79.7 kB / 400.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006793/0.0123, allocations: 422.6 kB / 401.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.0123, allocations: 4 kB / 401.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0123, allocations: 0 / 401.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.01231, allocations: 0 / 401.2 MB, free: 1.012 MB / 318.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/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.474384117871523] Failed to read output from testmodel.py, exit status != 0: 0.021966759115457535 0.037591318000000006 0.022119839000000002 Calling exit ...