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.0009097/0.0009097, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008293/0.0008293, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8722/0.8722, allocations: 177.2 MB / 203.5 MB, free: 5.715 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.03337/0.03337, allocations: 8.602 MB / 268.5 MB, free: 5.113 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: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 396.3 MB, free: 2.156 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.655e-05, allocations: 2.281 kB / 396.3 MB, free: 2.152 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002432/0.002458, allocations: 1.964 MB / 398.3 MB, free: 180 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.004072, allocations: 1.329 MB / 399.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.0042, allocations: 7.875 kB / 399.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.00488, allocations: 293.9 kB / 399.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.005299, allocations: 255 kB / 400.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.005783, allocations: 262.5 kB / 400.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.006087, allocations: 367 kB / 400.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.006211, allocations: 32.83 kB / 400.8 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.006388, allocations: 191.5 kB / 401 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.006528, allocations: 135.6 kB / 401.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.006555, allocations: 20 kB / 401.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.006727, allocations: 111.8 kB / 401.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.006809, allocations: 87.69 kB / 401.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.007211, allocations: 71.77 kB / 401.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.007581, allocations: 374.8 kB / 401.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007584, allocations: 0 / 401.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007586, allocations: 0 / 401.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.007591, allocations: 3.938 kB / 401.8 MB, free: 12.68 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.6215772842988372] Failed to read output from testmodel.py, exit status != 0: 0.013618194498121738 0.021874814000000003 0.012394983 Calling exit ...