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.001403/0.001403, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001536/0.001536, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.789 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.06343/0.06343, allocations: 11.34 MB / 323.8 MB, free: 8.027 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.002346/0.002346, allocations: 71.89 kB / 451 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.1005, allocations: 56.07 MB / 0.4952 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.00337/0.1038, allocations: 1.973 MB / 0.4971 GB, free: 176 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.1063, allocations: 1.364 MB / 0.4984 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1064, allocations: 7.938 kB / 0.4984 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008455/0.1072, allocations: 311.2 kB / 0.4987 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.1078, allocations: 263.1 kB / 0.499 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.1084, allocations: 265.8 kB / 0.4992 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.1088, allocations: 379 kB / 0.4996 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1089, allocations: 29.2 kB / 0.4996 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.1091, allocations: 159.4 kB / 0.4998 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1093, allocations: 163.3 kB / 0.4999 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.1093, allocations: 23.94 kB / 0.4999 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.1096, allocations: 131.8 kB / 0.5001 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1097, allocations: 91.72 kB / 0.5002 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1098, allocations: 95.41 kB / 0.5002 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.1103, allocations: 430.2 kB / 0.5007 GB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1103, allocations: 0 / 0.5007 GB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1103, allocations: 0 / 0.5007 GB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1103, allocations: 0 / 0.5007 GB, free: 12.5 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.703215427696705] Failed to read output from testmodel.py, exit status != 0: 0.11769904615357518 0.291140659 0.019411621 Calling exit ...