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.001402/0.001402, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001556/0.001556, allocations: 214.6 kB / 22.25 MB, free: 3.562 MB / 13.93 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.044/1.044, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.04216/0.04216, allocations: 11.34 MB / 323.8 MB, free: 7.035 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",fmuType="me_cs",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.001559/0.001559, allocations: 78.95 kB / 452.5 MB, free: 35.08 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.0803, allocations: 56.05 MB / 0.4967 GB, free: 10.93 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002466/0.08277, allocations: 1.981 MB / 0.4986 GB, free: 8.938 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.08413, allocations: 1.329 MB / 0.4999 GB, free: 7.602 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/0.08423, allocations: 0 / 0.4999 GB, free: 7.602 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.08492, allocations: 295.2 kB / 0.5002 GB, free: 7.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.08526, allocations: 255.1 kB / 0.5004 GB, free: 7.062 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.08567, allocations: 254.8 kB / 0.5007 GB, free: 6.816 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.08597, allocations: 359 kB / 0.501 GB, free: 6.465 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.08609, allocations: 36.72 kB / 0.5011 GB, free: 6.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.08622, allocations: 155.4 kB / 0.5012 GB, free: 6.277 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.08636, allocations: 143.4 kB / 0.5013 GB, free: 6.137 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.08639, allocations: 16 kB / 0.5014 GB, free: 6.121 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.08655, allocations: 119.8 kB / 0.5015 GB, free: 6.004 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.08663, allocations: 75.75 kB / 0.5015 GB, free: 5.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.08671, allocations: 91.34 kB / 0.5016 GB, free: 5.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.08703, allocations: 366.9 kB / 0.502 GB, free: 5.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.08703, allocations: 0 / 0.502 GB, free: 5.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.08703, allocations: 0 / 0.502 GB, free: 5.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.08704, allocations: 0 / 0.502 GB, free: 5.48 MB / 362.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.9833171293139458]