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.001318/0.001318, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001453/0.001453, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.973 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.06654/0.06654, allocations: 11.34 MB / 323.8 MB, free: 8.227 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: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="me",version="2.0",platforms={"static"}) [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.002396/0.002396, allocations: 71.89 kB / 451 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1091, allocations: 56.07 MB / 0.4952 GB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003556/0.1126, allocations: 2.063 MB / 0.4972 GB, free: 272 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1151, allocations: 1.454 MB / 0.4987 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1152, allocations: 7.938 kB / 0.4987 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008273/0.116, allocations: 311.1 kB / 0.499 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005521/0.1165, allocations: 265.7 kB / 0.4992 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.1172, allocations: 279.2 kB / 0.4995 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.1176, allocations: 371 kB / 0.4998 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1178, allocations: 33.19 kB / 0.4999 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.118, allocations: 159.4 kB / 0.5 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1182, allocations: 171.3 kB / 0.5002 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.1182, allocations: 20 kB / 0.5002 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.1185, allocations: 131.9 kB / 0.5003 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1186, allocations: 99.61 kB / 0.5004 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1187, allocations: 131.2 kB / 0.5005 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.1193, allocations: 422.2 kB / 0.5009 GB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1193, allocations: 0 / 0.5009 GB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1193, allocations: 0 / 0.5009 GB, free: 12.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1193, allocations: 0 / 0.5009 GB, free: 12.45 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.6954047930048546] Failed to read output from testmodel.py, exit status != 0: 0.12699716500355862 0.31954017500000004 0.020345112000000002 Calling exit ...