Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.InputConflictBeneGreedy.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.001843/0.001843, 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.002292/0.002292, allocations: 217.9 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.606/1.606, 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.08178/0.08178, allocations: 16.94 MB / 330.2 MB, free: 2.055 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.InputConflictBeneGreedy,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.InputConflictBeneGreedy") translateModel(PNlib.Examples.DisTest.InputConflictBeneGreedy,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.InputConflictBeneGreedy") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/2.885e-05, allocations: 2.281 kB / 461 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.InputConflictBeneGreedy): time 0.005681/0.00571, allocations: 3.385 MB / 464.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008621/0.01433, allocations: 3.367 MB / 467.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.01606, allocations: 27.81 kB / 467.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.01725, allocations: 341.2 kB / 468.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.01898, allocations: 425.1 kB / 468.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.02419, allocations: 1.835 MB / 470.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007724/0.03192, allocations: 4.586 MB / 475 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008642/0.03278, allocations: 278.4 kB / 475.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.03635, allocations: 1.827 MB / 477.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003398/0.03975, allocations: 1.467 MB / 478.5 MB, free: 52 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.04131, allocations: 328 kB / 478.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.04397, allocations: 1.116 MB / 480 MB, free: 14.61 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.005955/0.04992, allocations: 4.581 MB / 484.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002946/0.05287, allocations: 2.488 MB / 487 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.05441, allocations: 292.5 kB / 487.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006097/0.05502, allocations: 254.2 kB / 487.6 MB, free: 6.938 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.01714/0.07216, allocations: 11.72 MB / 499.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004012/0.07617, allocations: 1.504 MB / 0.4891 GB, free: 9.352 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.02269/0.09887, allocations: 12.73 MB / 0.5015 GB, free: 12.52 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00546/0.1043, allocations: 2.392 MB / 0.5038 GB, free: 9.984 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.2654/0.3698, allocations: 11.01 MB / 0.5146 GB, free: 47.2 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004064/0.3738, allocations: 2.163 MB / 0.5167 GB, free: 46.93 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.003781/0.3776, allocations: 1.738 MB / 0.5184 GB, free: 46.8 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.008884/0.3865, allocations: 3.17 MB / 0.5215 GB, free: 46.36 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.005766/0.3923, allocations: 2.511 MB / 0.5239 GB, free: 45.74 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.01441/0.4067, allocations: 5.592 MB / 0.5294 GB, free: 43.36 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02296/0.4296, allocations: 13.91 MB / 0.543 GB, free: 40.73 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01443/0.4441, allocations: 11.25 MB / 0.554 GB, free: 32.12 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.01047/0.4545, allocations: 4.413 MB / 0.5583 GB, free: 28.19 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.02347/0.478, allocations: 17.66 MB / 0.5755 GB, free: 11.09 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0008023/0.4788, allocations: 207.6 kB / 0.5757 GB, free: 10.84 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.005404/0.4842, allocations: 2.644 MB / 0.5783 GB, free: 8.23 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 659] [Calling sys.exit(0), Time elapsed: 3.3436844830284826] Failed to read output from testmodel.py, exit status != 0: 0.5106285760411993 0.526355713 0.46764833199999994 Calling exit ...