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.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.001359/0.001359, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.00135/0.00135, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.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.06109/0.06109, allocations: 11.34 MB / 314 MB, free: 0.8125 MB / 238.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_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: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.89 kB / 437.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2428, allocations: 54.83 MB / 492.2 MB, free: 23.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003035/0.2458, allocations: 2.005 MB / 494.2 MB, free: 22.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.2477, allocations: 1.268 MB / 495.4 MB, free: 21.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.2478, allocations: 5.469 kB / 495.4 MB, free: 21.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008192/0.2486, allocations: 279.6 kB / 495.7 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004316/0.2491, allocations: 201.8 kB / 495.9 MB, free: 21.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007633/0.2498, allocations: 312.6 kB / 496.2 MB, free: 21.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.2502, allocations: 334.5 kB / 496.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2503, allocations: 32.7 kB / 496.6 MB, free: 21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.2505, allocations: 151.5 kB / 496.7 MB, free: 20.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.2506, allocations: 145.3 kB / 496.9 MB, free: 20.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.2507, allocations: 22.66 kB / 496.9 MB, free: 20.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.2509, allocations: 107.4 kB / 497 MB, free: 20.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.251, allocations: 79.11 kB / 497.1 MB, free: 20.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.295e-05/0.2511, allocations: 106.9 kB / 497.2 MB, free: 20.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.2515, allocations: 359.3 kB / 497.5 MB, free: 20.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2515, allocations: 4 kB / 497.5 MB, free: 20.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2515, allocations: 1.25 kB / 497.5 MB, free: 20.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2515, allocations: 0 / 497.5 MB, free: 20.57 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_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.524468961171806] Failed to read output from testmodel.py, exit status != 0: 0.2584486762061715 0.268738946 0.014970721000000001 Calling exit ...