Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.OutputConflictProb.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.001616/0.001616, 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.001798/0.001798, allocations: 214.2 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.592/1.592, allocations: 230.7 MB / 256.9 MB, free: 7.766 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.081/0.081, allocations: 16.94 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.HybTest.OutputConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.OutputConflictProb") translateModel(PNlib.Examples.HybTest.OutputConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.OutputConflictProb") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.715e-05, allocations: 3.969 kB / 461 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.OutputConflictProb): time 0.005537/0.005564, allocations: 3.589 MB / 464.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007702/0.01327, allocations: 3.587 MB / 468.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.01495, allocations: 27.81 kB / 468.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.01615, allocations: 365.1 kB / 468.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.01795, allocations: 433.1 kB / 469 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.02356, allocations: 1.929 MB / 470.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007035/0.0306, allocations: 4.544 MB / 475.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008939/0.03149, allocations: 274.2 kB / 475.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003828/0.03532, allocations: 1.831 MB / 477.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003424/0.03874, allocations: 1.435 MB / 479 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.04005, allocations: 296 kB / 479.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.0424, allocations: 1.034 MB / 480.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.005462/0.04786, allocations: 4.445 MB / 484.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002529/0.05039, allocations: 2.491 MB / 487.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.0517, allocations: 252.5 kB / 487.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006174/0.05232, allocations: 250.3 kB / 487.7 MB, free: 6.723 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: 654 (487) * Number of variables: 654 (574) Notification: Performance of [SIM] Bindings: time 0.01701/0.06933, allocations: 11.38 MB / 499.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003731/0.07306, allocations: 1.512 MB / 0.4889 GB, free: 9.473 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01938/0.09244, allocations: 11.86 MB / 0.5005 GB, free: 13.52 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00565/0.09809, allocations: 2.209 MB / 0.5026 GB, free: 11.16 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.2946/0.3927, allocations: 10.7 MB / 0.5131 GB, free: 46.68 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004978/0.3976, allocations: 1.967 MB / 0.515 GB, free: 46.4 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.004112/0.4018, allocations: 1.563 MB / 0.5165 GB, free: 46.27 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.008942/0.4107, allocations: 2.984 MB / 0.5194 GB, free: 45.83 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.004184/0.4149, allocations: 2.221 MB / 0.5216 GB, free: 45.3 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.01202/0.4269, allocations: 5.036 MB / 0.5265 GB, free: 44.29 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02314/0.45, allocations: 12.57 MB / 0.5388 GB, free: 41.92 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01365/0.4637, allocations: 10.37 MB / 0.5489 GB, free: 36.17 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.009543/0.4732, allocations: 4.011 MB / 0.5529 GB, free: 32.54 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01963/0.4929, allocations: 16.19 MB / 0.5687 GB, free: 17.52 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0007389/0.4936, allocations: 199.1 kB / 0.5689 GB, free: 17.27 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.004223/0.4978, allocations: 2.408 MB / 0.5712 GB, free: 14.91 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_16 = $PRE.P3.firingSumIn.firingSum > 0 or $PRE.P3.firingSumOut.firingSum > 0 ($RES_EVT_678); [SCAL] (1) $SEV_12 = $PRE.P2.firingSumIn.firingSum > 0 or $PRE.P2.firingSumOut.firingSum > 0 ($RES_EVT_674); 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_9 [DISC] (1) Boolean $SEV_27 [DISC] (1) Boolean $SEV_28 [DISC] (1) Boolean $SEV_29 [DISC] (1) Boolean $SEV_33 [DISC] (2) Boolean[2] $SEV_34 [DISC] (1) Boolean $SEV_35 [DISC] (1) Boolean $SEV_40 [DISC] (1) Boolean $SEV_41 [DISC] (1) Boolean $SEV_91 [DISC] (1) Boolean $SEV_92 [DISC] (1) Boolean $SEV_93 [DISC] (1) Boolean T3.fire [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 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 P2.enableIn.benefitLimit [DISC] (1) protected Boolean P2.enableIn.valid [DISC] (1) protected discrete Real P2.enableIn.benefitMax [DISC] (1) protected Integer P2.enableIn.Index [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Integer P2.enableIn.arcWeightSum [DISC] (1) protected discrete Real P2.enableOut.benefitLimit [DISC] (1) protected Boolean P2.enableOut.valid [DISC] (1) protected discrete Real P2.enableOut.benefitMax [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) Boolean[1] P2.inTransition.fire = {P2.fireIn[1]} [DISC] (1) Boolean[1] T2.outPlaces.fire = {T2.fire for $f1 in 1:1} [DISC] (1) Boolean[1] T1.outPlaces.enabledByInPlaces = {T1.enabledByInPlaces for $f1 in 1:1} [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 Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_831) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_830) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_829) [SCAL] (1) $PRE.T3.fireTime = $START.T3.fireTime ($RES_SRT_828) [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_827) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_826) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_825) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_824) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_823) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_822) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_821) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_820) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_819) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_818) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_817) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_816) [SCAL] (1) $PRE.T3.ani = $START.T3.ani ($RES_SRT_815) [SCAL] (1) $PRE.T3.firingTime = $START.T3.firingTime ($RES_SRT_814) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_813) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_812) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_811) 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.3253665000083856] Failed to read output from testmodel.py, exit status != 0: 0.5235421209945343 0.5365931709999999 0.48063899299999996 Calling exit ...