Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.InputConflictPrio.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.001539/0.001539, allocations: 100.4 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.001629/0.001629, allocations: 215.1 kB / 23.06 MB, free: 4.992 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.527/1.527, allocations: 230.6 MB / 256.9 MB, free: 7.734 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.08018/0.08018, allocations: 16.95 MB / 330.2 MB, free: 2 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.InputConflictPrio,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.InputConflictPrio") translateModel(PNlib.Examples.HybTest.InputConflictPrio,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.InputConflictPrio") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/2.954e-05, allocations: 6.109 kB / 461 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.InputConflictPrio): time 0.006251/0.006281, allocations: 3.567 MB / 464.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007951/0.01423, allocations: 3.608 MB / 468.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.01526, allocations: 31.81 kB / 468.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008723/0.01614, allocations: 361.1 kB / 468.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.01718, allocations: 433 kB / 469 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.0215, allocations: 1.947 MB / 470.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005865/0.02737, allocations: 4.575 MB / 475.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00067/0.02804, allocations: 274.5 kB / 475.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.031, allocations: 1.847 MB / 477.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.0341, allocations: 1.486 MB / 479.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007723/0.03487, allocations: 316 kB / 479.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.03713, allocations: 1.061 MB / 480.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004927/0.04205, allocations: 4.674 MB / 485.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002623/0.04468, allocations: 2.576 MB / 487.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008992/0.04558, allocations: 276.5 kB / 488 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005428/0.04612, allocations: 246.3 kB / 488.2 MB, free: 6.215 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: 670 (506) * Number of variables: 670 (592) Notification: Performance of [SIM] Bindings: time 0.01704/0.06316, allocations: 12.05 MB / 0.4886 GB, free: 9.828 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002818/0.06597, allocations: 1.565 MB / 0.4901 GB, free: 8.223 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01808/0.08406, allocations: 12.67 MB / 0.5025 GB, free: 11.46 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005593/0.08965, allocations: 2.374 MB / 0.5048 GB, free: 8.922 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.2805/0.3701, allocations: 11.22 MB / 0.5157 GB, free: 45.8 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003409/0.3735, allocations: 2.13 MB / 0.5178 GB, free: 45.52 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.003173/0.3767, allocations: 1.691 MB / 0.5195 GB, free: 45.38 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.005279/0.382, allocations: 3.159 MB / 0.5226 GB, free: 44.9 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.004078/0.3861, allocations: 2.493 MB / 0.525 GB, free: 44.27 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.007851/0.3939, allocations: 5.37 MB / 0.5302 GB, free: 42.06 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01913/0.413, allocations: 13.47 MB / 0.5434 GB, free: 39.61 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01124/0.4243, allocations: 11.23 MB / 0.5543 GB, free: 31.5 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.007248/0.4315, allocations: 4.41 MB / 0.5587 GB, free: 27.57 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0168/0.4483, allocations: 17.68 MB / 0.5759 GB, free: 10.47 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0007724/0.4491, allocations: 204.1 kB / 0.5761 GB, free: 10.22 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.004806/0.4539, allocations: 2.609 MB / 0.5787 GB, free: 7.648 MB / 382.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Boolean $SEV_27 [DISC] (1) Boolean $SEV_28 [DISC] (1) Boolean $SEV_29 [DISC] (1) Boolean $SEV_33 [DISC] (1) Boolean[1] $SEV_34 [DISC] (1) Boolean $SEV_35 [DISC] (1) Boolean $SEV_36 [DISC] (1) Boolean $SEV_40 [DISC] (1) Boolean $SEV_41 [DISC] (1) Boolean $SEV_90 [DISC] (1) Boolean $SEV_91 [DISC] (1) Boolean $SEV_92 [DISC] (1) Boolean $SEV_93 [DISC] (1) Boolean $SEV_110 [DISC] (1) Boolean $SEV_111 [DISC] (1) Boolean $SEV_112 [DISC] (1) Boolean $SEV_113 [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 Integer P3.enableOut.Index [DISC] (1) protected Integer P3.enableOut.k [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] T1.inPlaces.fire = {T1.fire for $f1 in 1:1} [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (2) protected Boolean[2] P1.enableIn.TEin [DISC] (2) protected Boolean[2] P1.preFireIn [DISC] (2) Boolean[2] P1.inTransition.enabledByInPlaces = {P1.enabledByInPlaces[$inTransition1] for $inTransition1 in 1:2} Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_858) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_857) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_856) [SCAL] (1) $PRE.T3.fireTime = $START.T3.fireTime ($RES_SRT_855) [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_854) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_853) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_852) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_851) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_850) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_849) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_848) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_847) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_846) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_845) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_844) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_843) [SCAL] (1) $PRE.T3.ani = $START.T3.ani ($RES_SRT_842) [SCAL] (1) $PRE.T3.firingTime = $START.T3.firingTime ($RES_SRT_841) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_840) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_839) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_838) 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.216319906001445] Failed to read output from testmodel.py, exit status != 0: 0.47710102901328355 0.491636255 0.44229764400000005 Calling exit ...