Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ConflictLoop.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.001669/0.001669, 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.001723/0.001723, allocations: 213.8 kB / 23.06 MB, free: 4.977 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.547/1.547, allocations: 230.7 MB / 256.9 MB, free: 7.777 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.08445/0.08445, allocations: 16.95 MB / 330.2 MB, free: 2.02 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.ConTest.ConflictLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ConflictLoop") translateModel(PNlib.Examples.ConTest.ConflictLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ConflictLoop") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.161e-05, allocations: 2.281 kB / 461 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ConflictLoop): time 0.005326/0.005348, allocations: 3.745 MB / 464.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006506/0.01185, allocations: 3.257 MB / 468 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006977/0.01255, allocations: 31.81 kB / 468 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008916/0.01344, allocations: 428.6 kB / 468.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.01468, allocations: 0.5085 MB / 468.9 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.01833, allocations: 1.637 MB / 470.6 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006435/0.02477, allocations: 4.97 MB / 475.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00088/0.02565, allocations: 380.5 kB / 475.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.0291, allocations: 2.08 MB / 478 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003114/0.03221, allocations: 1.989 MB / 480 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007015/0.03291, allocations: 412 kB / 480.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.03464, allocations: 0.9209 MB / 481.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.005759/0.0404, allocations: 6.042 MB / 487.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.003334/0.04374, allocations: 3.275 MB / 490.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.04517, allocations: 348 kB / 491 MB, free: 3.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006746/0.04584, allocations: 325.7 kB / 491.3 MB, free: 3.137 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: 895 (673) * Number of variables: 895 (765) Notification: Performance of [SIM] Bindings: time 0.02033/0.06618, allocations: 15.89 MB / 0.4953 GB, free: 2.863 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004384/0.07056, allocations: 2.177 MB / 0.4974 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.2864/0.3569, allocations: 17.12 MB / 0.5141 GB, free: 42.01 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.006925/0.3638, allocations: 3.075 MB / 0.5171 GB, free: 41.61 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.02643/0.3903, allocations: 14.84 MB / 0.5316 GB, free: 37.96 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00612/0.3964, allocations: 2.806 MB / 0.5344 GB, free: 37.25 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.004283/0.4007, allocations: 2.224 MB / 0.5365 GB, free: 36.16 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.006602/0.4073, allocations: 3.991 MB / 0.5404 GB, free: 33.64 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.005039/0.4123, allocations: 3.06 MB / 0.5434 GB, free: 32.22 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.009411/0.4217, allocations: 6.975 MB / 0.5502 GB, free: 28.73 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02761/0.4493, allocations: 20.26 MB / 0.57 GB, free: 14.83 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01777/0.4671, allocations: 15.32 MB / 0.585 GB, free: 15.65 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.01427/0.4814, allocations: 5.499 MB / 0.5904 GB, free: 9.887 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.04475/0.5261, allocations: 24.31 MB / 0.6141 GB, free: 1.617 MB / 414.1 MB Notification: Performance of [INI] Partitioning: time 0.001489/0.5276, allocations: 241.6 kB / 0.6143 GB, free: 1.336 MB / 414.1 MB Notification: Performance of [INI] Cleanup: time 0.009774/0.5374, allocations: 3.497 MB / 0.6177 GB, free: 13.84 MB / 430.1 MB 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_8 [DISC] (4) Integer[4] $TEV_9 [DISC] (1) Boolean $SEV_98 [DISC] (1) Boolean $SEV_99 [DISC] (1) Boolean $SEV_100 [DISC] (1) Boolean $SEV_101 [DISC] (1) Boolean $SEV_102 [DISC] (1) Boolean $SEV_110 [DISC] (1) Boolean[1] $SEV_111 [DISC] (1) Boolean $SEV_140 [DISC] (1) Boolean $SEV_149 [DISC] (1) Boolean[1] $SEV_155 [DISC] (1) protected Integer P3.enableOut.Index [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 P3.enableOut.arcWeightSum [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.nTAin [DISC] (1) protected Integer P3.enableIn.nremTAin [DISC] (1) protected discrete Real P3.enableIn.arcWeightSum [DISC] (1) Boolean[1] P3.inTransition.enable = {P3.enableIn.TEin_[1]} [DISC] (1) protected Integer P2.enableOut.Index [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) protected discrete Real P2.enableOut.arcWeightSum [DISC] (1) protected Boolean P2.enableIn.endWhile [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Integer P2.enableIn.nremTAin [DISC] (1) protected Boolean[1] P2.enableIn.TEin [DISC] (1) protected Integer P1.enableOut.Index [DISC] (1) protected Integer P1.enableOut.k [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 [DISC] (1) Boolean[1] T2.outPlaces.enable [DISC] (1) protected Boolean T1.fire_ = PNlib.Functions.OddsAndEnds.allTrue(PNlib.Functions.OddsAndEnds.boolOr(T1.enableIn, not T1.disPlaceIn)) [DISC] (1) Boolean[1] T1.outPlaces.enable [DISC] (2) Boolean[2] T1.inPlaces.enable = {T1.enableIn[$inPlaces1] for $inPlaces1 in 1:2} Following equations were created by fixing variables: [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_1137) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_1136) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_1135) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_1134) [SCAL] (1) $PRE.P3.disMarksOut.anytrue = $START.P3.disMarksOut.anytrue ($RES_SRT_1133) [SCAL] (1) $PRE.P3.disMarksIn.anytrue = $START.P3.disMarksIn.anytrue ($RES_SRT_1132) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_1131) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_1130) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_1129) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_1128) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_1127) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_1126) 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.3207394229830243] Failed to read output from testmodel.py, exit status != 0: 0.5806400870205835 0.596814811 0.5475525520000001 Calling exit ...