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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 188.4 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06374/0.06374, allocations: 11.35 MB / 317.4 MB, free: 13.81 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.88 kB / 442.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.111, allocations: 54.89 MB / 497.1 MB, free: 56 kB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.004148/0.1152, allocations: 2.017 MB / 499.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1176, allocations: 1.309 MB / 0.4887 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.1178, allocations: 7.938 kB / 0.4887 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000911/0.1187, allocations: 307.1 kB / 0.489 GB, free: 12.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.1191, allocations: 221.6 kB / 0.4892 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008711/0.12, allocations: 343.6 kB / 0.4895 GB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.1205, allocations: 359 kB / 0.4898 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1206, allocations: 28.92 kB / 0.4899 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.1208, allocations: 163.4 kB / 0.49 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.121, allocations: 159.4 kB / 0.4902 GB, free: 11.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.1211, allocations: 16 kB / 0.4902 GB, free: 11.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.1213, allocations: 143.8 kB / 0.4903 GB, free: 10.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1214, allocations: 79.75 kB / 0.4904 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.1216, allocations: 139.1 kB / 0.4905 GB, free: 10.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.1221, allocations: 394.7 kB / 0.4909 GB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1221, allocations: 4 kB / 0.4909 GB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1221, allocations: 0 / 0.4909 GB, free: 10.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1221, allocations: 0 / 0.4909 GB, free: 10.39 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-master/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.484592266846448] Failed to read output from testmodel.py, exit status != 0: 0.1292413640767336 0.146003942 0.020628984000000003 Calling exit ...