Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.ConflictPrio.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.001784/0.001784, 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.002101/0.002101, allocations: 214.9 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.53/1.53, allocations: 230.7 MB / 256.9 MB, free: 7.781 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.08414/0.08414, allocations: 16.96 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.HybTest.ConflictPrio,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.ConflictPrio") translateModel(PNlib.Examples.HybTest.ConflictPrio,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.ConflictPrio") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/2.956e-05, allocations: 2.281 kB / 461 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.ConflictPrio): time 0.005802/0.005832, allocations: 3.575 MB / 464.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007808/0.01364, allocations: 3.61 MB / 468.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.01498, allocations: 31.81 kB / 468.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009682/0.01594, allocations: 357.1 kB / 468.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.01721, allocations: 425.1 kB / 469 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004581/0.02179, allocations: 1.941 MB / 470.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006897/0.02869, allocations: 4.552 MB / 475.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.0294, allocations: 270.3 kB / 475.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.03251, allocations: 1.831 MB / 477.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.03587, allocations: 1.436 MB / 479 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.03723, allocations: 296 kB / 479.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.03999, allocations: 1.034 MB / 480.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.006049/0.04603, allocations: 4.449 MB / 484.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002479/0.04851, allocations: 2.503 MB / 487.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.0496, allocations: 252.5 kB / 487.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005616/0.05017, allocations: 246.3 kB / 487.8 MB, free: 6.738 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.01614/0.06631, allocations: 11.37 MB / 499.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003063/0.06937, allocations: 1.516 MB / 0.4889 GB, free: 9.484 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01923/0.0886, allocations: 11.86 MB / 0.5005 GB, free: 13.53 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005424/0.09403, allocations: 2.209 MB / 0.5027 GB, free: 11.17 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.3043/0.3983, allocations: 10.7 MB / 0.5131 GB, free: 46.69 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.005389/0.4037, allocations: 1.966 MB / 0.515 GB, free: 46.41 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.003558/0.4072, allocations: 1.572 MB / 0.5166 GB, free: 46.28 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.006596/0.4138, allocations: 2.983 MB / 0.5195 GB, free: 45.83 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.004467/0.4183, allocations: 2.214 MB / 0.5216 GB, free: 45.29 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0109/0.4292, allocations: 5.036 MB / 0.5266 GB, free: 44.29 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02116/0.4504, allocations: 12.58 MB / 0.5388 GB, free: 41.93 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01316/0.4635, allocations: 10.37 MB / 0.549 GB, free: 36.19 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.008267/0.4718, allocations: 4.048 MB / 0.5529 GB, free: 32.54 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.02053/0.4923, allocations: 16.22 MB / 0.5688 GB, free: 17.5 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0008017/0.4931, allocations: 203.2 kB / 0.5689 GB, free: 17.25 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.004246/0.4974, allocations: 2.408 MB / 0.5713 GB, free: 14.89 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 659] [Calling sys.exit(0), Time elapsed: 3.242049841035623] Failed to read output from testmodel.py, exit status != 0: 0.5217364690033719 0.535324121 0.48164005000000004 Calling exit ...