Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge.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.001608/0.001608, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001784/0.001784, allocations: 219.4 kB / 23.07 MB, free: 4.988 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.449/1.449, allocations: 230.7 MB / 256.9 MB, free: 7.785 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.06258/0.06258, 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.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.05e-05, allocations: 2.281 kB / 452.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003661/0.003682, allocations: 1.967 MB / 454.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.006404, allocations: 1.37 MB / 455.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.006608, allocations: 0 / 455.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009597/0.007568, allocations: 311.2 kB / 455.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007248/0.008293, allocations: 267.1 kB / 456.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.009033, allocations: 274.5 kB / 456.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.009624, allocations: 451 kB / 456.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.009803, allocations: 32.92 kB / 456.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.01014, allocations: 211.3 kB / 457.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.01042, allocations: 171.3 kB / 457.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.01048, allocations: 20 kB / 457.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.01075, allocations: 127.9 kB / 457.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005113/0.01127, allocations: 0.5456 MB / 458 MB, free: 4.117 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002862/0.01155, allocations: 339.6 kB / 458.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.01162, allocations: 12 kB / 458.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.337e-05/0.01166, allocations: 8 kB / 458.3 MB, free: 3.762 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: 25 (24) * Number of variables: 25 (25) Notification: Performance of [SIM] Bindings: time 0.001523/0.01318, allocations: 1.238 MB / 459.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001979/0.01338, allocations: 97.78 kB / 459.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004124/0.01379, allocations: 404 kB / 460.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001935/0.01399, allocations: 128.6 kB / 460.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0008728/0.01486, allocations: 0.5369 MB / 460.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001552/0.01502, allocations: 120.6 kB / 460.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 9.339e-05/0.01511, allocations: 80.31 kB / 460.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0003262/0.01543, allocations: 216.2 kB / 461.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001806/0.01562, allocations: 94.16 kB / 461.2 MB, free: 460 kB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002899/0.01591, allocations: 208.5 kB / 461.4 MB, free: 244 kB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0006819/0.01659, allocations: 430.9 kB / 461.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003915/0.01698, allocations: 391.6 kB / 462.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.003756/0.02073, allocations: 0.7619 MB / 463 MB, free: 14.66 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.0006644/0.0214, allocations: 0.6219 MB / 463.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 5.111e-05/0.02145, allocations: 22.75 kB / 463.6 MB, free: 14 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0001812/0.02163, allocations: 123.9 kB / 463.8 MB, free: 13.88 MB / 334.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Boolean timer.Q Following equations were created by fixing variables: [SCAL] (1) $PRE.timer.Sd = $START.timer.Sd ($RES_SRT_74) [SCAL] (1) $PRE.timer.Shd = $START.timer.Shd ($RES_SRT_73) [SCAL] (1) $PRE.timer.S_hold = $START.timer.S_hold ($RES_SRT_72) [SCAL] (1) $PRE.SetSignal.combiTimeTable.nextTimeEventScaled = $START.SetSignal.combiTimeTable.nextTimeEventScaled ($RES_SRT_71) [SCAL] (1) $PRE.SetSignal.combiTimeTable.nextTimeEvent = $START.SetSignal.combiTimeTable.nextTimeEvent ($RES_SRT_70) [SCAL] (1) $PRE.ResetSignal.combiTimeTable.nextTimeEventScaled = $START.ResetSignal.combiTimeTable.nextTimeEventScaled ($RES_SRT_69) [SCAL] (1) $PRE.ResetSignal.combiTimeTable.nextTimeEvent = $START.ResetSignal.combiTimeTable.nextTimeEvent ($RES_SRT_68) [SCAL] (1) $PRE.timer.tr = $START.timer.tr ($RES_SRT_67) 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.448011256987229] Failed to read output from testmodel.py, exit status != 0: 0.030982719035819173 0.046155763 0.031093227 Calling exit ...