Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.ConflictProb.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.001637/0.001637, 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.002152/0.002152, allocations: 215.8 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.554/1.554, allocations: 230.6 MB / 256.9 MB, free: 7.773 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.08119/0.08119, allocations: 16.95 MB / 330.2 MB, free: 2.039 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.ConflictProb,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.ConflictProb") translateModel(PNlib.Examples.HybTest.ConflictProb,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.ConflictProb") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.655e-05, allocations: 2.281 kB / 461 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.ConflictProb): time 0.005573/0.0056, allocations: 3.577 MB / 464.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007727/0.01333, allocations: 3.598 MB / 468.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.01442, allocations: 27.81 kB / 468.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009163/0.01533, allocations: 357.1 kB / 468.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.01673, allocations: 429.1 kB / 469 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006021/0.02275, allocations: 1.931 MB / 470.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009164/0.03192, allocations: 4.556 MB / 475.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008377/0.03276, allocations: 274.2 kB / 475.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003656/0.03641, allocations: 1.827 MB / 477.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.03937, allocations: 1.432 MB / 479 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009633/0.04033, allocations: 299.9 kB / 479.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.04271, allocations: 1.038 MB / 480.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.005195/0.04791, allocations: 4.445 MB / 484.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002726/0.05064, allocations: 2.499 MB / 487.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.05196, allocations: 252.5 kB / 487.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006231/0.05258, allocations: 234.3 kB / 487.7 MB, free: 6.746 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.01649/0.06907, allocations: 11.38 MB / 499.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002833/0.07191, allocations: 1.512 MB / 0.4889 GB, free: 9.492 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01848/0.09038, allocations: 11.87 MB / 0.5005 GB, free: 13.53 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005169/0.09555, allocations: 2.209 MB / 0.5026 GB, free: 11.17 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.2738/0.3694, allocations: 10.69 MB / 0.5131 GB, free: 46.7 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004289/0.3737, allocations: 1.966 MB / 0.515 GB, free: 46.41 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002737/0.3764, allocations: 1.56 MB / 0.5165 GB, free: 46.29 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.004918/0.3813, allocations: 2.991 MB / 0.5194 GB, free: 45.84 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.003901/0.3852, allocations: 2.216 MB / 0.5216 GB, free: 45.3 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.009072/0.3943, allocations: 5.033 MB / 0.5265 GB, free: 44.3 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01918/0.4135, allocations: 12.58 MB / 0.5388 GB, free: 41.93 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01422/0.4277, allocations: 10.37 MB / 0.5489 GB, free: 36.21 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.007586/0.4353, allocations: 4.004 MB / 0.5529 GB, free: 32.59 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.01825/0.4535, allocations: 16.2 MB / 0.5687 GB, free: 17.57 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0008392/0.4544, allocations: 199.1 kB / 0.5689 GB, free: 17.32 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.004585/0.459, allocations: 2.401 MB / 0.5712 GB, free: 14.96 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 660] [Calling sys.exit(0), Time elapsed: 3.2496111129876226] Failed to read output from testmodel.py, exit status != 0: 0.48101246199803427 0.49391812399999996 0.43800671799999996 Calling exit ...