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.0009969/0.0009969, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001046/0.001046, allocations: 169 kB / 23.02 MB, free: 1.551 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.9916/0.9916, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.06918/0.06918, allocations: 8.611 MB / 268.6 MB, free: 4.93 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.623e-06/1.623e-06, allocations: 0 / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.613e-05, allocations: 10.25 kB / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.005167/0.005194, allocations: 2.049 MB / 342.9 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.006686, allocations: 1.395 MB / 344.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.006795, allocations: 3.938 kB / 344.3 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.00737, allocations: 315 kB / 344.6 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.007747, allocations: 266.9 kB / 344.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.008194, allocations: 275.1 kB / 345.2 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.008515, allocations: 379 kB / 345.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.008623, allocations: 36.91 kB / 345.6 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.0088, allocations: 199.5 kB / 345.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.008931, allocations: 143.6 kB / 345.9 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.008959, allocations: 28 kB / 345.9 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.009136, allocations: 135.8 kB / 346.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.009215, allocations: 91.67 kB / 346.2 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.00928, allocations: 79.7 kB / 346.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.009594, allocations: 318.8 kB / 346.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.009598, allocations: 3.984 kB / 346.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0096, allocations: 0 / 346.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.009605, allocations: 0 / 346.5 MB, free: 2.695 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.7672816570848227]