Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay.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.001296/0.001296, allocations: 110.4 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.001631/0.001631, allocations: 219.8 kB / 22.26 MB, free: 5.121 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.988 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.06602/0.06602, allocations: 11.34 MB / 323.8 MB, free: 8.223 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_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",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.00235/0.00235, allocations: 71.89 kB / 451 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1121, allocations: 56.07 MB / 0.4952 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003816/0.116, allocations: 2.045 MB / 0.4972 GB, free: 284 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.1189, allocations: 1.426 MB / 0.4986 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.1191, allocations: 7.938 kB / 0.4986 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.1202, allocations: 283.2 kB / 0.4989 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.1209, allocations: 258.2 kB / 0.4991 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.1217, allocations: 255.2 kB / 0.4994 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.1222, allocations: 359 kB / 0.4997 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1224, allocations: 33.2 kB / 0.4998 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.1227, allocations: 147.5 kB / 0.4999 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.123, allocations: 163.3 kB / 0.5001 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.1231, allocations: 16 kB / 0.5001 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.1234, allocations: 119.9 kB / 0.5002 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1235, allocations: 83.67 kB / 0.5003 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1237, allocations: 115.3 kB / 0.5004 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.1243, allocations: 374.4 kB / 0.5007 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1243, allocations: 0 / 0.5007 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1243, allocations: 3.938 kB / 0.5007 GB, free: 12.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.1243, allocations: 0 / 0.5007 GB, free: 12.67 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_OffDelay.mo:12:3-27:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, 0.01) then 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.odt(timer.S, timer.R, timer.PV, time, timer.startTime); timer.tr = if not timer.Q then timer.PV - (time - timer.startTime) else timer.PV; end when; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.709765722975135] Failed to read output from testmodel.py, exit status != 0: 0.1329913039226085 0.322691754 0.02221102 Calling exit ...