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.001801/0.001801, allocations: 79.66 kB / 19.76 MB, free: 2.031 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.002366/0.002366, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.07148/0.07148, allocations: 8.631 MB / 268.4 MB, free: 8.531 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 71.89 kB / 396.1 MB, free: 7.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1236, allocations: 56.05 MB / 452.1 MB, free: 15.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003913/0.1275, allocations: 1.982 MB / 454.1 MB, free: 13.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.1301, allocations: 1.36 MB / 455.5 MB, free: 12.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1302, allocations: 3.938 kB / 455.5 MB, free: 12.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009132/0.1311, allocations: 315.1 kB / 455.8 MB, free: 12.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.1317, allocations: 259.1 kB / 456 MB, free: 11.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000748/0.1324, allocations: 277.5 kB / 456.3 MB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004554/0.1329, allocations: 371 kB / 456.7 MB, free: 11.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.133, allocations: 36.91 kB / 456.7 MB, free: 11.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.1332, allocations: 155.4 kB / 456.8 MB, free: 11.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.1335, allocations: 163.3 kB / 457 MB, free: 10.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.1335, allocations: 20 kB / 457 MB, free: 10.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.1338, allocations: 135.8 kB / 457.2 MB, free: 10.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1339, allocations: 87.73 kB / 457.2 MB, free: 10.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.1341, allocations: 103.3 kB / 457.3 MB, free: 10.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005531/0.1346, allocations: 414.4 kB / 457.8 MB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1346, allocations: 0 / 457.8 MB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1346, allocations: 4 kB / 457.8 MB, free: 10.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1346, allocations: 3.938 kB / 457.8 MB, free: 10.12 MB / 430.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.5273834030376747] Failed to read output from testmodel.py, exit status != 0: 0.1432992829941213 0.15846441800000002 0.020680340000000002 Calling exit ...