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.001386/0.001386, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001412/0.001412, allocations: 210 kB / 22.25 MB, free: 4.855 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.781 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.06297/0.06297, allocations: 11.33 MB / 323.8 MB, free: 8.02 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.001982/0.001982, allocations: 67.91 kB / 451 MB, free: 10.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.1, allocations: 56.08 MB / 0.4952 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003542/0.1036, allocations: 1.978 MB / 0.4971 GB, free: 144 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.106, allocations: 1.364 MB / 0.4984 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1062, allocations: 3.938 kB / 0.4984 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008421/0.107, allocations: 321.8 kB / 0.4987 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.1076, allocations: 251.1 kB / 0.499 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.1082, allocations: 270.2 kB / 0.4992 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.1087, allocations: 379.1 kB / 0.4996 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1088, allocations: 29.2 kB / 0.4996 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.109, allocations: 159.4 kB / 0.4998 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.1092, allocations: 171.3 kB / 0.4999 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.1093, allocations: 23.94 kB / 0.5 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.1095, allocations: 127.8 kB / 0.5001 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1096, allocations: 87.73 kB / 0.5002 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1097, allocations: 107.3 kB / 0.5003 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.1102, allocations: 422.3 kB / 0.5007 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1102, allocations: 0 / 0.5007 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1102, allocations: 0 / 0.5007 GB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1102, allocations: 0 / 0.5007 GB, free: 12.46 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.605468650814146] Failed to read output from testmodel.py, exit status != 0: 0.11732398392632604 0.310153401 0.026867994000000003 Calling exit ...