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.001329/0.001329, 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.001676/0.001676, allocations: 211.9 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.424/1.424, 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.063/0.063, allocations: 11.34 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_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.001995/0.001995, allocations: 59.91 kB / 451 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 56.08 MB / 0.4952 GB, free: 2.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003479/0.1114, allocations: 1.963 MB / 0.4971 GB, free: 164 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.1138, allocations: 1.333 MB / 0.4984 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1139, allocations: 7.875 kB / 0.4984 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008343/0.1147, allocations: 291.2 kB / 0.4987 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.1153, allocations: 255.1 kB / 0.4989 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.1159, allocations: 258 kB / 0.4992 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.1163, allocations: 351.1 kB / 0.4995 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1165, allocations: 29.2 kB / 0.4995 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.1166, allocations: 155.4 kB / 0.4997 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.1168, allocations: 147.4 kB / 0.4998 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.1169, allocations: 20 kB / 0.4998 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.1171, allocations: 107.9 kB / 0.4999 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1172, allocations: 79.69 kB / 0.5 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1173, allocations: 91.41 kB / 0.5001 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.1178, allocations: 374.5 kB / 0.5004 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1178, allocations: 0 / 0.5004 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1178, allocations: 4 kB / 0.5004 GB, free: 12.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1178, allocations: 0 / 0.5004 GB, free: 12.69 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.6475510857999325] Failed to read output from testmodel.py, exit status != 0: 0.12476328015327454 0.33155376299999995 0.019091481 Calling exit ...