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.0007622/0.0007622, 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.0008363/0.0008363, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8496/0.8496, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.03419/0.03419, allocations: 8.619 MB / 267.8 MB, free: 5.137 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_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 2.044e-06/2.044e-06, allocations: 4 kB / 395.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.63e-05, allocations: 2.281 kB / 395.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002299/0.002315, allocations: 1.959 MB / 397 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.003853, allocations: 1.333 MB / 398.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003953, allocations: 3.938 kB / 398.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.004557, allocations: 291 kB / 398.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004241/0.004981, allocations: 262.8 kB / 398.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.005438, allocations: 262.6 kB / 399.2 MB, free: 14.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.005744, allocations: 367 kB / 399.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.005852, allocations: 40.77 kB / 399.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.006026, allocations: 191.5 kB / 399.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.006151, allocations: 127.6 kB / 399.9 MB, free: 13.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.006176, allocations: 20 kB / 399.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.006335, allocations: 115.8 kB / 400 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.006414, allocations: 87.69 kB / 400.1 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.803e-05/0.006482, allocations: 71.77 kB / 400.2 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.006818, allocations: 370.8 kB / 400.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00682, allocations: 0 / 400.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006821, allocations: 0 / 400.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006825, allocations: 0 / 400.5 MB, free: 13.2 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_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: 1.5262576546519995] Failed to read output from testmodel.py, exit status != 0: 0.011280771344900131 0.019841542 0.011273314000000001 Calling exit ...