Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TCwithPD.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.001664/0.001664, 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.002014/0.002014, 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.563/1.563, 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.08005/0.08005, 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.TCwithPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TCwithPD") translateModel(PNlib.Examples.HybTest.TCwithPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TCwithPD") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.761e-05, allocations: 6.109 kB / 461 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TCwithPD): time 0.004973/0.005, allocations: 3.061 MB / 464.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007426/0.01243, allocations: 3.373 MB / 467.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.01374, allocations: 23.81 kB / 467.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.01479, allocations: 297.7 kB / 467.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.01597, allocations: 337.7 kB / 468.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005708/0.02168, allocations: 1.826 MB / 469.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006948/0.02862, allocations: 3.909 MB / 473.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007076/0.02933, allocations: 226 kB / 474 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.03226, allocations: 1.535 MB / 475.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.03457, allocations: 1.233 MB / 476.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005402/0.03511, allocations: 272 kB / 477.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.03791, allocations: 1.342 MB / 478.4 MB, free: 132 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.00419/0.0421, allocations: 3.738 MB / 482.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.00198/0.04408, allocations: 1.982 MB / 484.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.04519, allocations: 244 kB / 484.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006282/0.04582, allocations: 178.7 kB / 484.5 MB, free: 9.934 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: 556 (371) * Number of variables: 556 (443) Notification: Performance of [SIM] Bindings: time 0.0137/0.05952, allocations: 9.59 MB / 494.1 MB, free: 76 kB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002505/0.06202, allocations: 1.29 MB / 495.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01438/0.07641, allocations: 10.55 MB / 0.4941 GB, free: 4.156 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004623/0.08103, allocations: 1.991 MB / 0.4961 GB, free: 2.047 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.01565/0.09668, allocations: 8.784 MB / 0.5046 GB, free: 8.402 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003217/0.09989, allocations: 1.82 MB / 0.5064 GB, free: 6.484 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002218/0.1021, allocations: 1.469 MB / 0.5078 GB, free: 4.957 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.003853/0.106, allocations: 2.587 MB / 0.5104 GB, free: 2.27 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.003282/0.1092, allocations: 1.75 MB / 0.5121 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.2989/0.4081, allocations: 4.344 MB / 0.5163 GB, free: 48.83 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02417/0.4323, allocations: 13.18 MB / 0.5292 GB, free: 47.59 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01448/0.4467, allocations: 9.384 MB / 0.5384 GB, free: 45.05 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.006733/0.4535, allocations: 3.541 MB / 0.5418 GB, free: 43.33 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01571/0.4692, allocations: 14.62 MB / 0.5561 GB, free: 32.04 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0006617/0.4699, allocations: 164.2 kB / 0.5563 GB, free: 31.84 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003946/0.4738, allocations: 2.177 MB / 0.5584 GB, free: 29.76 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_6 = $PRE.P2.disMarksOut.anytrue or $PRE.P2.disMarksIn.anytrue ($RES_EVT_516); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_5 [DISC] (1) Boolean $SEV_27 [DISC] (1) Boolean[1] $SEV_28 [DISC] (1) Boolean $SEV_29 [DISC] (1) Boolean $SEV_33 [DISC] (1) Boolean $SEV_34 [DISC] (1) Boolean $SEV_70 [DISC] (1) Boolean[1] $SEV_80 [DISC] (1) Boolean $SEV_90 [DISC] (1) Boolean $SEV_91 [DISC] (1) Boolean $SEV_92 [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 Integer P3.enableOut.k [DISC] (1) protected Integer P3.enableOut.nTAout [DISC] (1) protected Integer P3.enableOut.nremTAout [DISC] (1) Boolean[1] P3.inTransition.enable = {P3.enableIn.TEin_[1]} [DISC] (2) Boolean[2] T1.outPlaces.enable [DISC] (2) Boolean[2] T1.inPlaces.enable = {T1.enableIn[$inPlaces1] for $inPlaces1 in 1:2} [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.Index [DISC] (1) protected Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected discrete Real P1.enableOut.arcWeightSum [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_648) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_647) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_646) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_645) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_644) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_643) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_642) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_641) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_640) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_639) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_638) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_637) 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.279277032997925] Failed to read output from testmodel.py, exit status != 0: 0.49519924202468246 0.504063159 0.455708913 Calling exit ...