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.00138/0.00138, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001762/0.001762, allocations: 177 kB / 23.35 MB, free: 1.133 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.9782/0.9782, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.04252/0.04252, allocations: 8.615 MB / 268.9 MB, free: 4.797 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.052e-06/1.052e-06, allocations: 0 / 288.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.662e-05, allocations: 6.25 kB / 288.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.1071/0.1072, allocations: 2.075 MB / 290.2 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1089, allocations: 1.406 MB / 291.6 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.109, allocations: 6.25 kB / 291.6 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.1096, allocations: 307 kB / 291.9 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.11, allocations: 264.8 kB / 292.2 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.1105, allocations: 263 kB / 292.4 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.1108, allocations: 379.3 kB / 292.8 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1109, allocations: 37.94 kB / 292.8 MB, free: 18.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.1111, allocations: 206.6 kB / 293 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.1113, allocations: 143.8 kB / 293.2 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.1113, allocations: 19.66 kB / 293.2 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.1116, allocations: 137.5 kB / 293.3 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.1116, allocations: 94.23 kB / 293.4 MB, free: 18.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.1117, allocations: 77.11 kB / 293.5 MB, free: 18.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.112, allocations: 322.5 kB / 293.8 MB, free: 17.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.112, allocations: 1.641 kB / 293.8 MB, free: 17.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.112, allocations: 3.938 kB / 293.8 MB, free: 17.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1121, allocations: 0 / 293.8 MB, free: 17.93 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.6042091436684132]