Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.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.001922/0.001922, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.002109/0.002109, allocations: 218.1 kB / 23.07 MB, free: 4.844 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.573/1.573, allocations: 230.7 MB / 256.9 MB, free: 7.758 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.08059/0.08059, allocations: 16.94 MB / 330.2 MB, free: 2.043 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.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") translateModel(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.408e-05, allocations: 2.281 kB / 461 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.003988/0.004012, allocations: 2.44 MB / 463.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004313/0.008325, allocations: 2.211 MB / 465.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.008658, allocations: 19.88 kB / 465.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.009168, allocations: 226.2 kB / 465.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007294/0.009897, allocations: 286.2 kB / 466.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.01223, allocations: 1.082 MB / 467.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00363/0.01586, allocations: 2.778 MB / 470 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.01631, allocations: 166.2 kB / 470.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.0181, allocations: 1.118 MB / 471.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.01955, allocations: 0.961 MB / 472.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000346/0.01989, allocations: 200 kB / 472.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.02128, allocations: 0.7139 MB / 473.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.002688/0.02397, allocations: 2.92 MB / 476.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001386/0.02536, allocations: 1.589 MB / 477.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.02577, allocations: 168 kB / 477.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003072/0.02607, allocations: 146.9 kB / 478 MB, free: 0.5625 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 (302) * Number of variables: 415 (360) Notification: Performance of [SIM] Bindings: time 0.008874/0.03495, allocations: 7.488 MB / 485.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001433/0.03638, allocations: 0.9939 MB / 486.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.009247/0.04563, allocations: 7.945 MB / 494.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002974/0.0486, allocations: 1.498 MB / 495.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.01052/0.05912, allocations: 6.894 MB / 0.491 GB, free: 6.605 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002463/0.06159, allocations: 1.345 MB / 0.4924 GB, free: 5.18 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001712/0.0633, allocations: 1.066 MB / 0.4934 GB, free: 4.078 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.002821/0.06612, allocations: 1.911 MB / 0.4953 GB, free: 2.059 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.002386/0.06851, allocations: 1.412 MB / 0.4966 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.004523/0.07303, allocations: 3.244 MB / 0.4998 GB, free: 13.29 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01135/0.08437, allocations: 8.354 MB / 0.508 GB, free: 4.773 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.2869/0.3712, allocations: 6.955 MB / 0.5148 GB, free: 51 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.00501/0.3763, allocations: 2.646 MB / 0.5173 GB, free: 50.5 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01291/0.3892, allocations: 10.99 MB / 0.5281 GB, free: 48.01 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0004948/0.3897, allocations: 118 kB / 0.5282 GB, free: 47.93 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.002858/0.3925, allocations: 1.615 MB / 0.5298 GB, free: 46.95 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_10 = $PRE.P2.disMarksOut.anytrue or $PRE.P2.disMarksIn.anytrue ($RES_EVT_436); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_3 [DISC] (4) Integer[4] $TEV_4 [DISC] (4) Integer[4] $TEV_5 [DISC] (1) Boolean $SEV_27 [DISC] (1) Boolean $SEV_28 [DISC] (1) Boolean $SEV_29 [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 Boolean P2.enableIn.endWhile [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Boolean[1] P2.enableIn.TEin [DISC] (1) Boolean[1] P2.inTransition.enable = {P2.enableIn.TEin_[1]} [DISC] (1) protected Boolean T1.fire_ = PNlib.Functions.OddsAndEnds.allTrue(PNlib.Functions.OddsAndEnds.boolOr(T1.enableIn, not T1.disPlaceIn)) [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] P1.inTransition.enable = {P1.enableIn.TEin_[1]} Following equations were created by fixing variables: [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_526) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_525) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_524) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_523) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_522) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_521) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_520) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_519) 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.1544564429786988] Failed to read output from testmodel.py, exit status != 0: 0.41286294197198004 0.42266365499999997 0.39423443399999997 Calling exit ...