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.00108/0.00108, 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.001158/0.001158, allocations: 169.8 kB / 22.45 MB, free: 2.109 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.9441/0.9441, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.04798/0.04798, allocations: 8.607 MB / 267.8 MB, free: 5.129 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: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 395.8 MB, free: 1.887 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.383e-05, allocations: 2.281 kB / 395.8 MB, free: 1.883 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003849/0.003873, allocations: 1.966 MB / 397.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.006498, allocations: 1.333 MB / 399.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.006673, allocations: 7.938 kB / 399.2 MB, free: 14.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.007586, allocations: 283.1 kB / 399.4 MB, free: 14.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.008173, allocations: 262.8 kB / 399.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.008777, allocations: 257.9 kB / 399.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.009234, allocations: 374.9 kB / 400.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.00937, allocations: 32.8 kB / 400.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.009634, allocations: 191.5 kB / 400.5 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.009815, allocations: 135.6 kB / 400.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.009855, allocations: 24 kB / 400.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.0101, allocations: 111.8 kB / 400.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.01021, allocations: 79.69 kB / 400.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.0103, allocations: 75.77 kB / 400.9 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.0108, allocations: 370.8 kB / 401.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.0108, allocations: 0 / 401.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.0108, allocations: 0 / 401.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.01081, allocations: 0 / 401.3 MB, free: 12.41 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.7295756796374917]