Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.DoubleArcwithPCtoTC.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.001879/0.001879, 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.001662/0.001662, allocations: 216.6 kB / 23.06 MB, free: 4.98 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.609/1.609, allocations: 230.6 MB / 256.9 MB, free: 7.77 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.08371/0.08371, allocations: 16.95 MB / 330.2 MB, free: 2.027 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.ExtTest.DoubleArcwithPCtoTC,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|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.DoubleArcwithPCtoTC") translateModel(PNlib.Examples.ExtTest.DoubleArcwithPCtoTC,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|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.DoubleArcwithPCtoTC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.468e-05, allocations: 6.109 kB / 461 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.DoubleArcwithPCtoTC): time 0.005818/0.005853, allocations: 3.734 MB / 464.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008186/0.01404, allocations: 3.121 MB / 467.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.01579, allocations: 31.81 kB / 467.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.01691, allocations: 392.9 kB / 468.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.01866, allocations: 457 kB / 468.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.02289, allocations: 1.566 MB / 470.3 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00721/0.0301, allocations: 4.475 MB / 474.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009184/0.03102, allocations: 317.1 kB / 475.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003658/0.03468, allocations: 1.835 MB / 476.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.03766, allocations: 1.443 MB / 478.4 MB, free: 220 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.03878, allocations: 304 kB / 478.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.04047, allocations: 0.8077 MB / 479.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004809/0.04528, allocations: 4.622 MB / 484.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002777/0.04806, allocations: 2.607 MB / 486.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.04907, allocations: 232 kB / 486.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006287/0.0497, allocations: 290 kB / 487.2 MB, free: 7.293 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: 693 (526) * Number of variables: 693 (611) Notification: Performance of [SIM] Bindings: time 0.01748/0.06719, allocations: 11.54 MB / 498.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003312/0.0705, allocations: 1.56 MB / 0.4886 GB, free: 9.812 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0177/0.0882, allocations: 11.46 MB / 0.4998 GB, free: 14.25 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005512/0.09371, allocations: 2.031 MB / 0.5017 GB, free: 12.05 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.274/0.3678, allocations: 11.04 MB / 0.5125 GB, free: 47.31 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003689/0.3714, allocations: 1.749 MB / 0.5142 GB, free: 47.03 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002633/0.3741, allocations: 1.401 MB / 0.5156 GB, free: 46.9 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.005901/0.38, allocations: 2.741 MB / 0.5183 GB, free: 46.45 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.004214/0.3842, allocations: 2.066 MB / 0.5203 GB, free: 45.97 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0106/0.3948, allocations: 4.635 MB / 0.5248 GB, free: 45.44 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02246/0.4172, allocations: 12.28 MB / 0.5368 GB, free: 43.5 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01476/0.432, allocations: 9.756 MB / 0.5463 GB, free: 38.5 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.008052/0.4401, allocations: 3.904 MB / 0.5502 GB, free: 35.05 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01671/0.4568, allocations: 15.67 MB / 0.5655 GB, free: 20.84 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0007477/0.4575, allocations: 195 kB / 0.5656 GB, free: 20.59 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003812/0.4613, allocations: 2.277 MB / 0.5679 GB, free: 18.36 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_7 = $PRE.P2.disMarksOut.anytrue or $PRE.P2.disMarksIn.anytrue ($RES_EVT_720); [SCAL] (1) P3.disMarksInOut = $START.P3.disMarksInOut ($RES_SRT_781); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_4 [DISC] (2) Boolean[2] $SEV_27 [DISC] (1) Boolean $SEV_33 [DISC] (1) Boolean $SEV_34 [DISC] (1) Boolean $SEV_35 [DISC] (1) Boolean $SEV_36 [DISC] (1) Boolean[1] $SEV_40 [DISC] (1) Boolean $SEV_44 [DISC] (1) Boolean[1] $SEV_45 [DISC] (1) Boolean $SEV_46 [DISC] (1) Boolean $SEV_50 [DISC] (1) Boolean $SEV_51 [DISC] (1) Boolean[1] T1.outPlaces.enable [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 P3.enableOut.arcWeightSum [DISC] (1) protected discrete Real P3.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P3.enableIn.nTAin [DISC] (1) Boolean[1] P3.inTransition.enable = {P3.enableIn.TEin_[1]} [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) protected discrete Real P2.enableOut.arcWeightSum [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Boolean[1] P2.enableIn.TEin [DISC] (1) protected Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Integer P1.enableIn.Index [DISC] (1) protected Boolean P1.enableIn.endWhile [DISC] (1) protected discrete Real P1.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P1.enableIn.posTE [DISC] (1) protected Integer P1.enableIn.k [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected Integer P1.enableIn.nremTAin [DISC] (1) protected discrete Real P1.enableIn.arcWeightSum Following equations were created by fixing variables: [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_855) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_854) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_853) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_852) [SCAL] (1) $PRE.P3.disMarksOut.anytrue = $START.P3.disMarksOut.anytrue ($RES_SRT_851) [SCAL] (1) $PRE.P3.disMarksIn.anytrue = $START.P3.disMarksIn.anytrue ($RES_SRT_850) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_849) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_848) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_847) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_846) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_845) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_844) 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.3010718040168285] Failed to read output from testmodel.py, exit status != 0: 0.4863014610018581 0.49778431399999995 0.444484214 Calling exit ...