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.001199/0.001199, allocations: 114.6 kB / 17.16 MB, free: 6.004 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.00125/0.00125, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.398/1.398, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.06068/0.06068, allocations: 11.33 MB / 320.9 MB, free: 14.07 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",fmuType="cs",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.001915/0.001915, allocations: 70.08 kB / 446.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09737, allocations: 56.01 MB / 0.4908 GB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002704/0.1001, allocations: 2.029 MB / 0.4927 GB, free: 1.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1018, allocations: 1.405 MB / 0.4941 GB, free: 15.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.102, allocations: 7.844 kB / 0.4941 GB, free: 15.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000827/0.1028, allocations: 279.2 kB / 0.4944 GB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005305/0.1033, allocations: 250.5 kB / 0.4946 GB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.1039, allocations: 247.4 kB / 0.4949 GB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.1043, allocations: 363 kB / 0.4952 GB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1045, allocations: 29.02 kB / 0.4952 GB, free: 14.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.1047, allocations: 155.4 kB / 0.4954 GB, free: 14.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1049, allocations: 155.4 kB / 0.4955 GB, free: 14.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.1049, allocations: 19.94 kB / 0.4956 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.1051, allocations: 111.9 kB / 0.4957 GB, free: 14.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1052, allocations: 79.75 kB / 0.4957 GB, free: 14.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1054, allocations: 127.1 kB / 0.4959 GB, free: 14.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.1058, allocations: 354.5 kB / 0.4962 GB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1058, allocations: 8 kB / 0.4962 GB, free: 13.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1058, allocations: 0 / 0.4962 GB, free: 13.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1058, allocations: 0 / 0.4962 GB, free: 13.83 MB / 366.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.4700278629898094] Failed to read output from testmodel.py, exit status != 0: 0.11203458701493219 0.12554188600000002 0.017036364000000002 Calling exit ...