Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ZeroArcWeight.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.001439/0.001439, 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.001558/0.001558, allocations: 214.5 kB / 23.06 MB, free: 4.984 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.507/1.507, allocations: 230.7 MB / 256.9 MB, free: 7.781 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.08149/0.08149, allocations: 16.95 MB / 330.2 MB, free: 2.047 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.ZeroArcWeight,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.ConTest.ZeroArcWeight") translateModel(PNlib.Examples.ConTest.ZeroArcWeight,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.ConTest.ZeroArcWeight") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.442e-05, allocations: 2.281 kB / 461 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroArcWeight): time 0.004984/0.005008, allocations: 3.044 MB / 464 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.01085, allocations: 2.797 MB / 466.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000668/0.01152, allocations: 23.88 kB / 466.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007382/0.01225, allocations: 309.6 kB / 467.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008963/0.01315, allocations: 329.8 kB / 467.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.01651, allocations: 1.449 MB / 468.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004994/0.0215, allocations: 3.824 MB / 472.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.02196, allocations: 199.5 kB / 473 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.02406, allocations: 1.508 MB / 474.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.02586, allocations: 1.116 MB / 475.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004091/0.02627, allocations: 228 kB / 475.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.02779, allocations: 0.7491 MB / 476.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.003632/0.03142, allocations: 3.392 MB / 479.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002085/0.03351, allocations: 1.863 MB / 481.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009254/0.03443, allocations: 188 kB / 482 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005649/0.035, allocations: 158.8 kB / 482.1 MB, free: 12.38 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: 495 (343) * Number of variables: 495 (419) Notification: Performance of [SIM] Bindings: time 0.01157/0.04657, allocations: 8.436 MB / 490.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002041/0.04861, allocations: 1.149 MB / 491.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.01143/0.06004, allocations: 8.637 MB / 0.4886 GB, free: 9.812 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003547/0.06359, allocations: 1.634 MB / 0.4902 GB, free: 8.062 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.01223/0.07582, allocations: 7.743 MB / 0.4978 GB, free: 15.5 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002616/0.07843, allocations: 1.448 MB / 0.4992 GB, free: 13.96 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00192/0.08035, allocations: 1.156 MB / 0.5003 GB, free: 12.76 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.003187/0.08354, allocations: 2.174 MB / 0.5025 GB, free: 10.48 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.002359/0.0859, allocations: 1.459 MB / 0.5039 GB, free: 9.02 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.005109/0.09101, allocations: 3.558 MB / 0.5074 GB, free: 5.324 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.2708/0.3618, allocations: 10.41 MB / 0.5175 GB, free: 46.7 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01063/0.3725, allocations: 7.48 MB / 0.5248 GB, free: 46.7 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.006718/0.3792, allocations: 2.993 MB / 0.5278 GB, free: 45.84 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01722/0.3964, allocations: 11.85 MB / 0.5393 GB, free: 39.55 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0006298/0.397, allocations: 134.9 kB / 0.5395 GB, free: 39.48 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.002912/0.4, allocations: 1.767 MB / 0.5412 GB, free: 38.39 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_12 = $PRE.P3.disMarksOut.anytrue or $PRE.P3.disMarksIn.anytrue ($RES_EVT_484); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_4 [DISC] (4) Integer[4] $TEV_7 [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_35 [DISC] (1) Boolean[1] $SEV_36 [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) protected Integer P3.enableIn.nremTAin [DISC] (1) Boolean[1] T1.outPlaces.enable [DISC] (1) protected Integer P2.enableOut.nTAout [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.enableIn.arcWeightSum [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_594) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_593) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_592) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_591) [SCAL] (1) $PRE.P3.disMarksOut.anytrue = $START.P3.disMarksOut.anytrue ($RES_SRT_590) [SCAL] (1) $PRE.P3.disMarksIn.anytrue = $START.P3.disMarksIn.anytrue ($RES_SRT_589) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_588) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_587) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_586) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_585) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_584) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_583) 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.0753499849815853] Failed to read output from testmodel.py, exit status != 0: 0.4193730729748495 0.42866132300000004 0.39132534900000004 Calling exit ...