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.001731/0.001731, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002077/0.002077, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.06495/0.06495, allocations: 11.33 MB / 320.2 MB, free: 9.383 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.001948/0.001948, allocations: 59.91 kB / 445.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1151, allocations: 56.02 MB / 0.4901 GB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.004971/0.1201, allocations: 2.031 MB / 0.492 GB, free: 3.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.1237, allocations: 1.407 MB / 0.4934 GB, free: 2.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1238, allocations: 7.938 kB / 0.4934 GB, free: 2.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.1249, allocations: 283.2 kB / 0.4937 GB, free: 1.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008211/0.1257, allocations: 254.1 kB / 0.4939 GB, free: 1.574 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009578/0.1267, allocations: 247.3 kB / 0.4942 GB, free: 1.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006843/0.1274, allocations: 359 kB / 0.4945 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.1275, allocations: 37.02 kB / 0.4946 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.1279, allocations: 147.5 kB / 0.4947 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.1282, allocations: 159.3 kB / 0.4948 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.151e-05/0.1282, allocations: 16 kB / 0.4949 GB, free: 0.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.1286, allocations: 111.8 kB / 0.495 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.1287, allocations: 71.77 kB / 0.495 GB, free: 456 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.1289, allocations: 127.2 kB / 0.4952 GB, free: 328 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007462/0.1296, allocations: 362.6 kB / 0.4955 GB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1296, allocations: 0 / 0.4955 GB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.001e-06/0.1296, allocations: 7.938 kB / 0.4955 GB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1296, allocations: 4 kB / 0.4955 GB, free: 15.95 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.613092469997355] Failed to read output from testmodel.py, exit status != 0: 0.13805927599605639 0.159770365 0.02594633 Calling exit ...