Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.OutputConflictPrio.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.001401/0.001401, 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.001602/0.001602, allocations: 214 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.522/1.522, allocations: 230.7 MB / 256.9 MB, free: 7.711 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.08123/0.08123, allocations: 16.94 MB / 330.2 MB, free: 2.023 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.HybTest.OutputConflictPrio,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.HybTest.OutputConflictPrio") translateModel(PNlib.Examples.HybTest.OutputConflictPrio,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.HybTest.OutputConflictPrio") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.186e-05, allocations: 2.281 kB / 461 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.OutputConflictPrio): time 0.005302/0.005324, allocations: 3.575 MB / 464.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007076/0.0124, allocations: 3.62 MB / 468.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.01344, allocations: 27.81 kB / 468.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009527/0.0144, allocations: 357.1 kB / 468.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.01546, allocations: 429.1 kB / 469 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004696/0.02016, allocations: 1.933 MB / 470.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007242/0.0274, allocations: 4.556 MB / 475.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007161/0.02812, allocations: 270.3 kB / 475.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/0.03104, allocations: 1.827 MB / 477.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.03325, allocations: 1.439 MB / 479 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005258/0.03377, allocations: 296 kB / 479.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.03572, allocations: 1.034 MB / 480.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004274/0.04, allocations: 4.449 MB / 484.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.00219/0.04219, allocations: 2.503 MB / 487.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008238/0.04301, allocations: 252.5 kB / 487.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005286/0.04354, allocations: 230.4 kB / 487.8 MB, free: 6.719 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: 654 (487) * Number of variables: 654 (574) Notification: Performance of [SIM] Bindings: time 0.01534/0.05888, allocations: 11.39 MB / 499.1 MB, free: 11 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002524/0.0614, allocations: 1.504 MB / 0.4889 GB, free: 9.457 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0152/0.0766, allocations: 11.86 MB / 0.5005 GB, free: 13.5 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004719/0.08132, allocations: 2.205 MB / 0.5027 GB, free: 11.15 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.2985/0.3798, allocations: 10.71 MB / 0.5131 GB, free: 46.66 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004461/0.3842, allocations: 1.966 MB / 0.515 GB, free: 46.38 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002637/0.3869, allocations: 1.558 MB / 0.5166 GB, free: 46.25 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.005529/0.3924, allocations: 2.989 MB / 0.5195 GB, free: 45.81 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.004705/0.3971, allocations: 2.215 MB / 0.5216 GB, free: 45.28 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.00886/0.406, allocations: 5.045 MB / 0.5266 GB, free: 44.27 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01841/0.4244, allocations: 12.57 MB / 0.5388 GB, free: 41.9 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01156/0.4359, allocations: 10.37 MB / 0.549 GB, free: 36.12 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.007661/0.4436, allocations: 4.039 MB / 0.5529 GB, free: 32.47 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01684/0.4604, allocations: 16.22 MB / 0.5688 GB, free: 17.43 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.000775/0.4612, allocations: 205.3 kB / 0.569 GB, free: 17.18 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.00375/0.465, allocations: 2.403 MB / 0.5713 GB, free: 14.81 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_16 = $PRE.P3.firingSumIn.firingSum > 0 or $PRE.P3.firingSumOut.firingSum > 0 ($RES_EVT_678); [SCAL] (1) $SEV_12 = $PRE.P2.firingSumIn.firingSum > 0 or $PRE.P2.firingSumOut.firingSum > 0 ($RES_EVT_674); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_6 [DISC] (4) Integer[4] $TEV_9 [DISC] (1) Boolean $SEV_27 [DISC] (1) Boolean $SEV_28 [DISC] (1) Boolean $SEV_29 [DISC] (1) Boolean $SEV_33 [DISC] (2) Boolean[2] $SEV_34 [DISC] (1) Boolean $SEV_35 [DISC] (1) Boolean $SEV_40 [DISC] (1) Boolean $SEV_41 [DISC] (1) Boolean $SEV_91 [DISC] (1) Boolean $SEV_92 [DISC] (1) Boolean $SEV_93 [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 Integer P1.enableOut.nTAout [DISC] (1) protected Boolean P1.enableIn.endWhile [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected Boolean[1] P1.enableIn.TEin Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_837) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_836) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_835) [SCAL] (1) $PRE.T3.fireTime = $START.T3.fireTime ($RES_SRT_834) [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_833) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_832) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_831) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_830) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_829) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_828) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_827) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_826) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_825) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_824) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_823) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_822) [SCAL] (1) $PRE.T3.ani = $START.T3.ani ($RES_SRT_821) [SCAL] (1) $PRE.T3.firingTime = $START.T3.firingTime ($RES_SRT_820) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_819) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_818) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_817) 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.2394228960038163] Failed to read output from testmodel.py, exit status != 0: 0.4849012980121188 0.49763560599999995 0.450911947 Calling exit ...