Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.InputConflictBeneBaB.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.001895/0.001895, allocations: 104.3 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.002749/0.002749, allocations: 204.7 kB / 23.06 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.545/1.545, allocations: 230.7 MB / 256.9 MB, free: 7.77 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.08139/0.08139, 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.InputConflictBeneBaB,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.InputConflictBeneBaB") translateModel(PNlib.Examples.DisTest.InputConflictBeneBaB,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.InputConflictBeneBaB") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.258e-05, allocations: 2.281 kB / 461 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.InputConflictBeneBaB): time 0.005268/0.00529, allocations: 3.394 MB / 464.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00686/0.01215, allocations: 3.358 MB / 467.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008403/0.01299, allocations: 27.81 kB / 467.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008283/0.01382, allocations: 341.1 kB / 468.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.01532, allocations: 425.1 kB / 468.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005793/0.02111, allocations: 1.833 MB / 470.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009062/0.03018, allocations: 4.59 MB / 475 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009651/0.03114, allocations: 274.6 kB / 475.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/0.0355, allocations: 1.823 MB / 477.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003868/0.03936, allocations: 1.463 MB / 478.5 MB, free: 28 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001596/0.04096, allocations: 328 kB / 478.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.04395, allocations: 1.116 MB / 480 MB, free: 14.59 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.006371/0.05032, allocations: 4.574 MB / 484.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.003213/0.05353, allocations: 2.503 MB / 487 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.05507, allocations: 288.5 kB / 487.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0007466/0.05582, allocations: 254.2 kB / 487.6 MB, free: 6.91 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.02071/0.07653, allocations: 11.71 MB / 499.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002937/0.07947, allocations: 1.508 MB / 0.489 GB, free: 9.336 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01726/0.09673, allocations: 12.73 MB / 0.5015 GB, free: 12.5 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005171/0.1019, allocations: 2.384 MB / 0.5038 GB, free: 9.973 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.2937/0.3956, allocations: 11.02 MB / 0.5146 GB, free: 47.18 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003574/0.3992, allocations: 2.166 MB / 0.5167 GB, free: 46.91 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002832/0.402, allocations: 1.73 MB / 0.5184 GB, free: 46.78 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.004722/0.4067, allocations: 3.164 MB / 0.5215 GB, free: 46.34 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.004386/0.4111, allocations: 2.53 MB / 0.5239 GB, free: 45.7 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.01074/0.4218, allocations: 5.584 MB / 0.5294 GB, free: 43.3 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02262/0.4445, allocations: 13.91 MB / 0.543 GB, free: 40.67 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01259/0.457, allocations: 11.25 MB / 0.554 GB, free: 32.06 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.007985/0.465, allocations: 4.408 MB / 0.5583 GB, free: 28.12 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01968/0.4847, allocations: 17.65 MB / 0.5755 GB, free: 11.01 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0007873/0.4855, allocations: 207.4 kB / 0.5757 GB, free: 10.75 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003995/0.4895, allocations: 2.65 MB / 0.5783 GB, free: 8.145 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.270559291995596] Failed to read output from testmodel.py, exit status != 0: 0.5122557540307753 0.527867668 0.46864511200000003 Calling exit ...