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.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.0008643/0.0008643, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008218/0.0008218, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9214/0.9214, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.0375/0.0375, allocations: 8.609 MB / 267.8 MB, free: 5.109 MB / 250.7 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_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 1.543e-06/1.543e-06, allocations: 0 / 395.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.111e-05, allocations: 9.172 kB / 395.1 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002467/0.002489, allocations: 1.971 MB / 397 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.004073, allocations: 1.368 MB / 398.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.00419, allocations: 0 / 398.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009567/0.005147, allocations: 307 kB / 398.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.005554, allocations: 270.8 kB / 399 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.006009, allocations: 270.5 kB / 399.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.006295, allocations: 387 kB / 399.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.006409, allocations: 40.77 kB / 399.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.006581, allocations: 207.4 kB / 399.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.006724, allocations: 143.6 kB / 400 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.006752, allocations: 20 kB / 400 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.006924, allocations: 131.8 kB / 400.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.243e-05/0.007016, allocations: 91.69 kB / 400.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.007087, allocations: 79.7 kB / 400.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.007452, allocations: 426.6 kB / 400.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007455, allocations: 0 / 400.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007457, allocations: 4 kB / 400.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.007462, allocations: 0 / 400.7 MB, free: 12.96 MB / 378.7 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_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: 1.668856842443347] Failed to read output from testmodel.py, exit status != 0: 0.012962887063622475 0.026380535 0.016356801 Calling exit ...