Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.InputConflictPrio.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.001253/0.001253, 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.002062/0.002062, allocations: 215.5 kB / 23.07 MB, free: 4.984 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.561/1.561, allocations: 230.6 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08086/0.08086, allocations: 16.95 MB / 330.2 MB, free: 2.027 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/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(PNlib.Examples.DisTest.InputConflictPrio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.InputConflictPrio") translateModel(PNlib.Examples.DisTest.InputConflictPrio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.InputConflictPrio") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.111e-05, allocations: 2.281 kB / 461 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.InputConflictPrio): time 0.00576/0.005792, allocations: 3.386 MB / 464.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007356/0.01315, allocations: 3.354 MB / 467.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.01418, allocations: 31.81 kB / 467.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000887/0.01507, allocations: 341.2 kB / 468.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.01612, allocations: 429 kB / 468.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004158/0.02027, allocations: 1.832 MB / 470.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006717/0.02699, allocations: 4.59 MB / 475 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006756/0.02767, allocations: 274.4 kB / 475.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.03054, allocations: 1.839 MB / 477.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/0.03314, allocations: 1.471 MB / 478.5 MB, free: 8 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000652/0.03379, allocations: 320 kB / 478.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.03587, allocations: 1.112 MB / 480 MB, free: 14.58 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004933/0.0408, allocations: 4.577 MB / 484.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002539/0.04334, allocations: 2.499 MB / 487 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.04465, allocations: 292.5 kB / 487.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005867/0.04524, allocations: 254.2 kB / 487.6 MB, free: 6.898 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 (483) * Number of variables: 635 (568) Notification: Performance of [SIM] Bindings: time 0.01518/0.06042, allocations: 11.72 MB / 499.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002858/0.06328, allocations: 1.504 MB / 0.4891 GB, free: 9.312 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01744/0.08072, allocations: 12.73 MB / 0.5015 GB, free: 12.49 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005656/0.08638, allocations: 2.396 MB / 0.5038 GB, free: 9.945 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.2826/0.369, allocations: 11.02 MB / 0.5146 GB, free: 47.16 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00347/0.3724, allocations: 2.168 MB / 0.5167 GB, free: 46.89 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002894/0.3753, allocations: 1.74 MB / 0.5184 GB, free: 46.75 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.004604/0.3799, allocations: 3.157 MB / 0.5215 GB, free: 46.32 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.004134/0.3841, allocations: 2.523 MB / 0.5239 GB, free: 45.69 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.009085/0.3932, allocations: 5.589 MB / 0.5294 GB, free: 43.3 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02097/0.4141, allocations: 13.9 MB / 0.543 GB, free: 40.68 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0117/0.4258, allocations: 11.25 MB / 0.554 GB, free: 31.99 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.007467/0.4333, allocations: 4.414 MB / 0.5583 GB, free: 28.04 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01544/0.4487, allocations: 17.66 MB / 0.5755 GB, free: 11 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0007419/0.4495, allocations: 199.6 kB / 0.5757 GB, free: 10.75 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003883/0.4534, allocations: 2.645 MB / 0.5783 GB, free: 8.148 MB / 382.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_7 [DISC] (1) Boolean $SEV_30 [DISC] (1) Boolean $SEV_31 [DISC] (1) Boolean $SEV_40 [DISC] (1) Boolean[1] $SEV_41 [DISC] (1) Boolean[1] $SEV_92 [DISC] (1) Boolean $SEV_93 [DISC] (1) Boolean $SEV_94 [DISC] (1) Boolean $SEV_95 [DISC] (1) Boolean $SEV_123 [DISC] (1) Boolean $SEV_124 [DISC] (1) Boolean $SEV_125 [DISC] (1) Boolean $SEV_126 [DISC] (1) Boolean $SEV_127 [DISC] (1) Boolean $SEV_128 [DISC] (1) protected discrete Real P3.enableIn.benefitLimit [DISC] (1) protected Boolean P3.enableIn.valid [DISC] (1) protected discrete Real P3.enableIn.benefitMax [DISC] (1) protected Integer P3.enableIn.Index [DISC] (1) protected Boolean P3.enableIn.endWhile [DISC] (1) protected discrete Real P3.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P3.enableIn.posTE [DISC] (1) protected Integer P3.enableIn.k [DISC] (1) protected Integer P3.enableIn.nTAin [DISC] (1) protected Integer P3.enableIn.nremTAin [DISC] (1) protected discrete Real P3.enableOut.benefitLimit [DISC] (1) protected Boolean P3.enableOut.valid [DISC] (1) protected discrete Real P3.enableOut.benefitMax [DISC] (1) protected discrete Real P2.enableIn.benefitLimit [DISC] (1) protected Boolean P2.enableIn.valid [DISC] (1) protected discrete Real P2.enableIn.benefitMax [DISC] (1) protected Integer P2.enableIn.Index [DISC] (1) protected Boolean P2.enableIn.endWhile [DISC] (1) protected discrete Real P2.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P2.enableIn.posTE [DISC] (1) protected Integer P2.enableIn.k [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Integer P2.enableIn.nremTAin [DISC] (1) protected discrete Real P2.enableOut.benefitLimit [DISC] (1) protected Boolean P2.enableOut.valid [DISC] (1) protected discrete Real P2.enableOut.benefitMax [DISC] (1) protected Integer P2.enableOut.Index [DISC] (1) protected Integer P2.enableOut.k [DISC] (1) Boolean[1] T3.outPlaces.enabledByInPlaces = {T3.enabledByInPlaces for $f1 in 1:1} [DISC] (1) Boolean[1] T2.outPlaces.fire = {T2.fire for $f1 in 1:1} [DISC] (1) Boolean[1] T1.inPlaces.fire = {T1.fire for $f1 in 1:1} [DISC] (1) protected discrete Real P1.enableIn.benefitLimit [DISC] (1) protected Boolean P1.enableIn.valid [DISC] (1) protected discrete Real P1.enableIn.benefitMax [DISC] (1) protected Integer P1.enableIn.Index [DISC] (1) protected Integer P1.enableIn.k [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected discrete Real P1.enableOut.benefitLimit [DISC] (1) protected Boolean P1.enableOut.valid [DISC] (1) protected discrete Real P1.enableOut.benefitMax [DISC] (1) protected Integer P1.enableOut.Index [DISC] (1) protected Integer P1.enableOut.k [DISC] (2) Boolean[2] P1.inTransition.enabledByInPlaces = {P1.enabledByInPlaces[$inTransition1] for $inTransition1 in 1:2} [DISC] (2) Boolean[2] P1.inTransition.fire = {P1.fireIn[$inTransition1] for $inTransition1 in 1:2} Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_808) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_807) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_806) [SCAL] (1) $PRE.T3.fireTime = $START.T3.fireTime ($RES_SRT_805) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_804) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_803) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_802) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_801) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_800) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_799) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_798) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_797) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_796) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_795) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_794) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_793) [SCAL] (1) $PRE.T3.ani = $START.T3.ani ($RES_SRT_792) [SCAL] (1) $PRE.T3.firingTime = $START.T3.firingTime ($RES_SRT_791) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_790) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_789) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_788) 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: 3.2071506780339405] Failed to read output from testmodel.py, exit status != 0: 0.4740154460305348 0.487758083 0.439398147 Calling exit ...