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.000907/0.000907, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.0009667/0.0009667, allocations: 169 kB / 23.02 MB, free: 1.551 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.9838/0.9838, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.05183/0.05183, allocations: 8.616 MB / 268.6 MB, free: 4.922 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.633e-06/1.633e-06, allocations: 3.938 kB / 340.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.342e-05, allocations: 6.25 kB / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.005535/0.005558, allocations: 2.045 MB / 342.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.00717, allocations: 1.368 MB / 344.3 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.007273, allocations: 11.94 kB / 344.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003715/0.01099, allocations: 287 kB / 344.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.01136, allocations: 251 kB / 344.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.01174, allocations: 259.2 kB / 345.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.01202, allocations: 363 kB / 345.4 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.01213, allocations: 40.83 kB / 345.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.01229, allocations: 187.5 kB / 345.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.01243, allocations: 131.7 kB / 345.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.01246, allocations: 24 kB / 345.8 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.01261, allocations: 111.8 kB / 345.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.01269, allocations: 83.69 kB / 346 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.01276, allocations: 71.77 kB / 346.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.01305, allocations: 278.9 kB / 346.3 MB, free: 2.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01305, allocations: 4 kB / 346.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01305, allocations: 4 kB / 346.3 MB, free: 2.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.01306, allocations: 0 / 346.3 MB, free: 2.898 MB / 266.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.686810065060854]