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.0009567/0.0009567, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001057/0.001057, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 1.017/1.017, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.03747/0.03747, allocations: 8.621 MB / 269.7 MB, free: 4.746 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.202e-06/1.202e-06, allocations: 0 / 342.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.332e-05, allocations: 5.266 kB / 342.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.00523/0.005243, allocations: 2.026 MB / 344.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.006844, allocations: 1.375 MB / 345.5 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.006955, allocations: 7.938 kB / 345.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.007548, allocations: 311.1 kB / 345.8 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.01092, allocations: 262.9 kB / 346.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.01131, allocations: 279.1 kB / 346.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.01157, allocations: 379 kB / 346.7 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.01166, allocations: 36.89 kB / 346.8 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.01183, allocations: 203.4 kB / 347 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.01196, allocations: 143.6 kB / 347.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.01199, allocations: 24 kB / 347.1 MB, free: 3.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.01216, allocations: 135.8 kB / 347.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.01223, allocations: 91.69 kB / 347.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.01229, allocations: 79.7 kB / 347.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.01257, allocations: 318.8 kB / 347.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.634e-06/0.01257, allocations: 0 / 347.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.01257, allocations: 0 / 347.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.01257, allocations: 0 / 347.7 MB, free: 2.449 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.7131997193209827]