Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN.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.001641/0.001641, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 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.001718/0.001718, allocations: 215.3 kB / 23.07 MB, free: 4.844 MB / 14.72 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.402/1.402, allocations: 230.7 MB / 256.9 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.06309/0.06309, allocations: 11.34 MB / 324.6 MB, free: 7.992 MB / 254.1 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.Counter.Examples.countUPandDOWN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN") translateModel(IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.382e-05, allocations: 6.219 kB / 452.3 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN): time 0.003984/0.004008, allocations: 2.316 MB / 454.6 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.007173, allocations: 1.634 MB / 456.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.007356, allocations: 11.88 kB / 456.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.00876, allocations: 0.6429 MB / 456.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.009778, allocations: 485.8 kB / 457.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.01091, allocations: 442.7 kB / 457.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009934/0.0119, allocations: 0.8847 MB / 458.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.0121, allocations: 65.92 kB / 458.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.01256, allocations: 398.8 kB / 459.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.01293, allocations: 342.7 kB / 459.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.01301, allocations: 36 kB / 459.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.01335, allocations: 191.8 kB / 459.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0008723/0.01422, allocations: 1.08 MB / 460.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004472/0.01467, allocations: 0.6249 MB / 461.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.01474, allocations: 27.94 kB / 461.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.366e-05/0.0148, allocations: 11.94 kB / 461.4 MB, free: 0.6328 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 (39) * Number of variables: 40 (40) Notification: Performance of [SIM] Bindings: time 0.002241/0.01704, allocations: 2.139 MB / 463.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002548/0.0173, allocations: 173.1 kB / 463.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006149/0.01791, allocations: 0.6313 MB / 464.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002345/0.01815, allocations: 164.5 kB / 464.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001328/0.01947, allocations: 0.9122 MB / 465.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001991/0.01967, allocations: 159.4 kB / 465.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00012/0.01979, allocations: 113.6 kB / 465.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0004009/0.02019, allocations: 305.6 kB / 466 MB, free: 11.56 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002197/0.02041, allocations: 147.4 kB / 466.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003846/0.0208, allocations: 313.7 kB / 466.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.0009089/0.02171, allocations: 0.6377 MB / 467.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00059/0.0223, allocations: 0.6244 MB / 467.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.006138/0.02844, allocations: 1.46 MB / 469.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.001189/0.02962, allocations: 1.109 MB / 470.3 MB, free: 7.289 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 7.899e-05/0.0297, allocations: 36 kB / 470.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0002245/0.02993, allocations: 215.8 kB / 470.5 MB, free: 7.031 MB / 334.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Integer counter.Value (start = 0) [DISC] (1) Boolean counter.Q Following equations were created by fixing variables: [SCAL] (1) $PRE.counter.CUd = $START.counter.CUd ($RES_SRT_120) [SCAL] (1) $PRE.countUP.combiTimeTable.nextTimeEventScaled = $START.countUP.combiTimeTable.nextTimeEventScaled ($RES_SRT_119) [SCAL] (1) $PRE.countUP.combiTimeTable.nextTimeEvent = $START.countUP.combiTimeTable.nextTimeEvent ($RES_SRT_118) [SCAL] (1) $PRE.countDOWN.combiTimeTable.nextTimeEventScaled = $START.countDOWN.combiTimeTable.nextTimeEventScaled ($RES_SRT_117) [SCAL] (1) $PRE.countDOWN.combiTimeTable.nextTimeEvent = $START.countDOWN.combiTimeTable.nextTimeEvent ($RES_SRT_116) [SCAL] (1) $PRE.set.combiTimeTable.nextTimeEventScaled = $START.set.combiTimeTable.nextTimeEventScaled ($RES_SRT_115) [SCAL] (1) $PRE.set.combiTimeTable.nextTimeEvent = $START.set.combiTimeTable.nextTimeEvent ($RES_SRT_114) [SCAL] (1) $PRE.reset.combiTimeTable.nextTimeEventScaled = $START.reset.combiTimeTable.nextTimeEventScaled ($RES_SRT_113) [SCAL] (1) $PRE.reset.combiTimeTable.nextTimeEvent = $START.reset.combiTimeTable.nextTimeEvent ($RES_SRT_112) [SCAL] (1) $PRE.counter.Value = $START.counter.Value ($RES_SRT_111) [SCAL] (1) $PRE.counter.Sd = $START.counter.Sd ($RES_SRT_110) [SCAL] (1) $PRE.counter.CDd = $START.counter.CDd ($RES_SRT_109) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4521419249940664] Failed to read output from testmodel.py, exit status != 0: 0.040085159009322524 0.054520699000000006 0.036837970000000005 Calling exit ...