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.001469/0.001469, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.002404/0.002404, allocations: 225.8 kB / 22.25 MB, free: 3.566 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.191/1.191, allocations: 230.6 MB / 256 MB, free: 9.613 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.04366/0.04366, allocations: 11.35 MB / 323.8 MB, free: 7.027 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.001564/0.001564, allocations: 70.36 kB / 451.8 MB, free: 35.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1477, allocations: 56.07 MB / 0.4959 GB, free: 11.04 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.004231/0.152, allocations: 1.959 MB / 0.4978 GB, free: 9.066 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.1542, allocations: 1.341 MB / 0.4991 GB, free: 7.719 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.1544, allocations: 0 / 0.4991 GB, free: 7.719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.1556, allocations: 295.2 kB / 0.4994 GB, free: 7.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.1562, allocations: 251.1 kB / 0.4997 GB, free: 7.184 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.1569, allocations: 254.6 kB / 0.4999 GB, free: 6.938 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006049/0.1575, allocations: 367 kB / 0.5003 GB, free: 6.578 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.1577, allocations: 33.14 kB / 0.5003 GB, free: 6.543 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.158, allocations: 139.5 kB / 0.5004 GB, free: 6.406 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.1583, allocations: 155.3 kB / 0.5006 GB, free: 6.254 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.1583, allocations: 20 kB / 0.5006 GB, free: 6.234 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.1586, allocations: 111.9 kB / 0.5007 GB, free: 6.125 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1587, allocations: 79.73 kB / 0.5008 GB, free: 6.047 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.1588, allocations: 95.34 kB / 0.5009 GB, free: 5.953 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.1593, allocations: 362.6 kB / 0.5012 GB, free: 5.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1594, allocations: 4 kB / 0.5012 GB, free: 5.594 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.1594, allocations: 0 / 0.5012 GB, free: 5.594 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.1594, allocations: 0 / 0.5012 GB, free: 5.594 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: 2.543740661814809]