Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.OutputConflictBeneQuotient.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.002004/0.002004, 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.002812/0.002812, allocations: 216.5 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.574/1.574, allocations: 230.7 MB / 256.9 MB, free: 7.762 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.09948/0.09948, allocations: 16.95 MB / 330.2 MB, free: 2.016 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.OutputConflictBeneQuotient,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.OutputConflictBeneQuotient") translateModel(PNlib.Examples.DisTest.OutputConflictBeneQuotient,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.OutputConflictBeneQuotient") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.399e-05, allocations: 2.281 kB / 461 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.OutputConflictBeneQuotient): time 0.005298/0.005322, allocations: 3.393 MB / 464.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007489/0.01281, allocations: 3.352 MB / 467.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.01389, allocations: 27.81 kB / 467.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008661/0.01475, allocations: 349.2 kB / 468.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.01588, allocations: 413.2 kB / 468.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004372/0.02025, allocations: 1.84 MB / 470.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009164/0.02942, allocations: 4.563 MB / 474.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009761/0.03039, allocations: 270.1 kB / 475.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004482/0.03488, allocations: 1.808 MB / 477 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/0.03841, allocations: 1.404 MB / 478.4 MB, free: 140 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.03957, allocations: 300 kB / 478.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/0.04261, allocations: 1.092 MB / 479.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.006296/0.0489, allocations: 4.36 MB / 484.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.003229/0.05213, allocations: 2.418 MB / 486.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.05389, allocations: 268.5 kB / 486.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.001025/0.05491, allocations: 234.3 kB / 487.1 MB, free: 7.41 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: 620 (464) * Number of variables: 620 (550) Notification: Performance of [SIM] Bindings: time 0.02115/0.07606, allocations: 11.09 MB / 498.2 MB, free: 12 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003444/0.07951, allocations: 1.351 MB / 499.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.02098/0.1005, allocations: 11.93 MB / 0.4994 GB, free: 14.6 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005285/0.1058, allocations: 2.211 MB / 0.5016 GB, free: 12.26 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.01793/0.1237, allocations: 10.49 MB / 0.5119 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.2699/0.3936, allocations: 2.004 MB / 0.5138 GB, free: 47.68 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.003534/0.3972, allocations: 1.616 MB / 0.5154 GB, free: 47.56 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.004764/0.4019, allocations: 2.998 MB / 0.5183 GB, free: 47.14 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.004126/0.4061, allocations: 2.24 MB / 0.5205 GB, free: 46.61 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.009162/0.4152, allocations: 5.214 MB / 0.5256 GB, free: 45.74 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01901/0.4342, allocations: 13.19 MB / 0.5385 GB, free: 43.21 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01311/0.4473, allocations: 10.41 MB / 0.5486 GB, free: 36.84 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.006937/0.4543, allocations: 4.029 MB / 0.5526 GB, free: 33.23 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0182/0.4725, allocations: 16.16 MB / 0.5684 GB, free: 18.41 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0009291/0.4734, allocations: 178.7 kB / 0.5685 GB, free: 18.21 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.005357/0.4788, allocations: 2.445 MB / 0.5709 GB, free: 15.8 MB / 382.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_14 = $PRE.P3.firingSumIn.firingSum > 0 or $PRE.P3.firingSumOut.firingSum > 0 ($RES_EVT_630); [SCAL] (1) $SEV_10 = $PRE.P2.firingSumIn.firingSum > 0 or $PRE.P2.firingSumOut.firingSum > 0 ($RES_EVT_626); 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_40 [DISC] (2) Boolean[2] $SEV_41 [DISC] (1) Boolean $SEV_90 [DISC] (1) Boolean $SEV_91 [DISC] (1) Boolean $SEV_92 [DISC] (1) Boolean $SEV_98 [DISC] (1) Boolean $SEV_110 [DISC] (1) Boolean[1] $SEV_111 [DISC] (1) Boolean T3.fire [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 Integer P3.enableIn.nTAin [DISC] (1) protected Integer P3.enableIn.arcWeightSum [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 Integer P3.enableOut.Index [DISC] (1) protected Boolean P3.enableOut.endWhile [DISC] (1) protected discrete Real P3.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P3.enableOut.posTE [DISC] (1) protected Integer P3.enableOut.k [DISC] (1) protected Integer P3.enableOut.nTAout [DISC] (1) protected Integer P3.enableOut.nremTAout [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 Integer P2.enableIn.nTAin [DISC] (1) protected Integer P2.enableIn.arcWeightSum [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 Boolean P2.enableOut.endWhile [DISC] (1) protected discrete Real P2.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P2.enableOut.posTE [DISC] (1) protected Integer P2.enableOut.k [DISC] (1) protected Integer P2.enableOut.nTAout [DISC] (1) protected Integer P2.enableOut.nremTAout [DISC] (1) Boolean[1] P2.inTransition.fire = {P2.fireIn[1]} [DISC] (1) Boolean[1] T2.outPlaces.fire = {T2.fire for $f1 in 1:1} [DISC] (1) Boolean[1] T1.outPlaces.enabledByInPlaces = {T1.enabledByInPlaces 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 Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_790) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_789) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_788) [SCAL] (1) $PRE.T3.fireTime = $START.T3.fireTime ($RES_SRT_787) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_786) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_785) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_784) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_783) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_782) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_781) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_780) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_779) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_778) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_777) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_776) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_775) [SCAL] (1) $PRE.T3.ani = $START.T3.ani ($RES_SRT_774) [SCAL] (1) $PRE.T3.firingTime = $START.T3.firingTime ($RES_SRT_773) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_772) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_771) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_770) 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.324367525987327] Failed to read output from testmodel.py, exit status != 0: 0.5015797549858689 0.514750701 0.456344615 Calling exit ...