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.001428/0.001428, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001556/0.001556, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.0652/0.0652, allocations: 11.33 MB / 324.5 MB, free: 8.133 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.002095/0.002095, allocations: 75.89 kB / 452.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1167, allocations: 56.07 MB / 0.4964 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003704/0.1204, allocations: 1.962 MB / 0.4983 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.123, allocations: 1.368 MB / 0.4996 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1232, allocations: 3.938 kB / 0.4996 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009327/0.1241, allocations: 314.3 kB / 0.4999 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005894/0.1247, allocations: 263.1 kB / 0.5002 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.1254, allocations: 273.6 kB / 0.5004 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004554/0.1258, allocations: 371.1 kB / 0.5008 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1259, allocations: 32.91 kB / 0.5008 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.1262, allocations: 159.4 kB / 0.501 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.1264, allocations: 171.3 kB / 0.5011 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.1264, allocations: 20 kB / 0.5012 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.1267, allocations: 127.9 kB / 0.5013 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1268, allocations: 87.67 kB / 0.5014 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1269, allocations: 111.3 kB / 0.5015 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.1274, allocations: 422.3 kB / 0.5019 GB, free: 12.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1274, allocations: 0 / 0.5019 GB, free: 12.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1274, allocations: 0 / 0.5019 GB, free: 12.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1275, allocations: 0 / 0.5019 GB, free: 12.01 MB / 382.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.7330490327440202] Failed to read output from testmodel.py, exit status != 0: 0.1364438240416348 0.31414585799999994 0.18354683499999994 Calling exit ...