Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.InputConflictBeneQuotient.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.001865/0.001865, 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.001882/0.001882, allocations: 218.4 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.601/1.601, allocations: 230.7 MB / 256.9 MB, free: 7.75 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.08157/0.08157, allocations: 16.95 MB / 330.2 MB, free: 2.031 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.InputConflictBeneQuotient,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.InputConflictBeneQuotient") translateModel(PNlib.Examples.DisTest.InputConflictBeneQuotient,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.InputConflictBeneQuotient") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/2.961e-05, allocations: 2.281 kB / 461 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.InputConflictBeneQuotient): time 0.005837/0.005867, allocations: 3.404 MB / 464.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007521/0.01339, allocations: 3.35 MB / 467.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.01461, allocations: 27.81 kB / 467.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009741/0.01559, allocations: 337.2 kB / 468.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.01692, allocations: 425.1 kB / 468.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.02157, allocations: 1.839 MB / 470.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008492/0.03006, allocations: 4.59 MB / 475 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008461/0.03091, allocations: 270.4 kB / 475.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.0344, allocations: 1.835 MB / 477.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003263/0.03766, allocations: 1.459 MB / 478.5 MB, free: 52 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002153/0.03982, allocations: 324 kB / 478.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.04338, allocations: 1.12 MB / 480 MB, free: 14.61 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.006845/0.05023, allocations: 4.574 MB / 484.5 MB, free: 10 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002673/0.0529, allocations: 2.495 MB / 487 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.05423, allocations: 288.5 kB / 487.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006877/0.05492, allocations: 254.2 kB / 487.6 MB, free: 6.941 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.01693/0.07185, allocations: 11.71 MB / 499.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003268/0.07512, allocations: 1.512 MB / 0.489 GB, free: 9.359 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0211/0.09622, allocations: 12.73 MB / 0.5015 GB, free: 12.54 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005244/0.1015, allocations: 2.388 MB / 0.5038 GB, free: 10 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.282/0.3835, allocations: 11.02 MB / 0.5146 GB, free: 47.66 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004457/0.388, allocations: 2.17 MB / 0.5167 GB, free: 47.38 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.003739/0.3917, allocations: 1.735 MB / 0.5184 GB, free: 47.25 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.006685/0.3984, allocations: 3.172 MB / 0.5215 GB, free: 46.81 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.005346/0.4037, allocations: 2.51 MB / 0.5239 GB, free: 46.18 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.01485/0.4186, allocations: 5.58 MB / 0.5294 GB, free: 43.46 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02323/0.4418, allocations: 13.92 MB / 0.543 GB, free: 40.83 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01472/0.4565, allocations: 11.25 MB / 0.5539 GB, free: 32.16 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.01028/0.4668, allocations: 4.408 MB / 0.5583 GB, free: 28.22 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01844/0.4853, allocations: 17.66 MB / 0.5755 GB, free: 11.12 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0008506/0.4861, allocations: 203.6 kB / 0.5757 GB, free: 10.88 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.005603/0.4917, allocations: 2.648 MB / 0.5783 GB, free: 8.266 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_811) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_810) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_809) [SCAL] (1) $PRE.T3.fireTime = $START.T3.fireTime ($RES_SRT_808) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_807) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_806) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_805) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_804) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_803) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_802) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_801) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_800) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_799) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_798) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_797) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_796) [SCAL] (1) $PRE.T3.ani = $START.T3.ani ($RES_SRT_795) [SCAL] (1) $PRE.T3.firingTime = $START.T3.firingTime ($RES_SRT_794) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_793) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_792) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_791) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.3219344840035774] Failed to read output from testmodel.py, exit status != 0: 0.5184383110026829 0.534359191 0.475824104 Calling exit ...