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.001375/0.001375, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001675/0.001675, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 8.016 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.08484/0.08484, allocations: 11.35 MB / 323.8 MB, free: 8.246 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_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: 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.002135/0.002135, allocations: 67.89 kB / 451 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1136, allocations: 56.07 MB / 0.4952 GB, free: 2.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.004502/0.1181, allocations: 2.053 MB / 0.4972 GB, free: 304 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.121, allocations: 1.457 MB / 0.4987 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.1212, allocations: 7.938 kB / 0.4987 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.1221, allocations: 307.2 kB / 0.499 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007178/0.1228, allocations: 259.1 kB / 0.4992 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.1236, allocations: 282.8 kB / 0.4995 GB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.1242, allocations: 367 kB / 0.4998 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1243, allocations: 41.19 kB / 0.4999 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.1246, allocations: 151.4 kB / 0.5 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.1249, allocations: 171.3 kB / 0.5002 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.125, allocations: 20 kB / 0.5002 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.1253, allocations: 139.8 kB / 0.5003 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.1254, allocations: 91.69 kB / 0.5004 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1256, allocations: 127.2 kB / 0.5005 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.1262, allocations: 426.2 kB / 0.5009 GB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1262, allocations: 0 / 0.5009 GB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1262, allocations: 0 / 0.5009 GB, free: 12.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1262, allocations: 0 / 0.5009 GB, free: 12.49 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_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.732133209006861] Failed to read output from testmodel.py, exit status != 0: 0.13461056584492326 0.31989019 0.021629349000000003 Calling exit ...