Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.InputConflictProb.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.001689/0.001689, 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.001809/0.001809, allocations: 214.7 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.574/1.574, 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.08382/0.08382, allocations: 16.95 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.InputConflictProb,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.InputConflictProb") translateModel(PNlib.Examples.HybTest.InputConflictProb,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.InputConflictProb") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.433e-05, allocations: 4.25 kB / 461 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.InputConflictProb): time 0.005883/0.005907, allocations: 3.577 MB / 464.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009081/0.01499, allocations: 3.6 MB / 468.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.01662, allocations: 27.81 kB / 468.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.01776, allocations: 357.1 kB / 468.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.01933, allocations: 433 kB / 469 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004911/0.02424, allocations: 1.939 MB / 470.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008647/0.03289, allocations: 4.575 MB / 475.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.03393, allocations: 278.6 kB / 475.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/0.03762, allocations: 1.839 MB / 477.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.04065, allocations: 1.494 MB / 479.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.04188, allocations: 316 kB / 479.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.04404, allocations: 1.049 MB / 480.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.005892/0.04993, allocations: 4.674 MB / 485.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002691/0.05262, allocations: 2.576 MB / 487.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.05406, allocations: 272.5 kB / 488 MB, free: 6.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005745/0.05463, allocations: 254.3 kB / 488.2 MB, free: 6.254 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: 670 (506) * Number of variables: 670 (592) Notification: Performance of [SIM] Bindings: time 0.01785/0.07248, allocations: 12.03 MB / 0.4885 GB, free: 9.887 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002982/0.07546, allocations: 1.572 MB / 0.4901 GB, free: 8.273 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.02136/0.09682, allocations: 12.67 MB / 0.5024 GB, free: 11.5 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.006392/0.1032, allocations: 2.374 MB / 0.5048 GB, free: 8.969 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.3108/0.414, allocations: 11.22 MB / 0.5157 GB, free: 45.89 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004906/0.4189, allocations: 2.133 MB / 0.5178 GB, free: 45.61 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.004954/0.4239, allocations: 1.692 MB / 0.5194 GB, free: 45.46 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.008556/0.4324, allocations: 3.154 MB / 0.5225 GB, free: 45 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.005388/0.4378, allocations: 2.482 MB / 0.525 GB, free: 44.36 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.01499/0.4528, allocations: 5.379 MB / 0.5302 GB, free: 42.13 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02543/0.4782, allocations: 13.46 MB / 0.5434 GB, free: 39.69 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01515/0.4934, allocations: 11.23 MB / 0.5543 GB, free: 31.58 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.01073/0.5041, allocations: 4.366 MB / 0.5586 GB, free: 27.68 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.02596/0.5301, allocations: 17.67 MB / 0.5758 GB, free: 10.58 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0008712/0.5309, allocations: 205.3 kB / 0.576 GB, free: 10.33 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.005374/0.5363, allocations: 2.607 MB / 0.5786 GB, free: 7.766 MB / 382.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Boolean $SEV_27 [DISC] (1) Boolean $SEV_28 [DISC] (1) Boolean $SEV_29 [DISC] (1) Boolean $SEV_33 [DISC] (1) Boolean[1] $SEV_34 [DISC] (1) Boolean $SEV_35 [DISC] (1) Boolean $SEV_36 [DISC] (1) Boolean $SEV_40 [DISC] (1) Boolean $SEV_41 [DISC] (1) Boolean $SEV_90 [DISC] (1) Boolean $SEV_91 [DISC] (1) Boolean $SEV_92 [DISC] (1) Boolean $SEV_93 [DISC] (1) Boolean $SEV_110 [DISC] (1) Boolean $SEV_111 [DISC] (1) Boolean $SEV_112 [DISC] (1) Boolean $SEV_113 [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 Boolean P3.enableIn.endWhile [DISC] (1) protected discrete Real P3.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P3.enableIn.posTE [DISC] (1) protected Integer P3.enableIn.k [DISC] (1) protected Integer P3.enableIn.nTAin [DISC] (1) protected Integer P3.enableIn.nremTAin [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 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 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.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 Integer P2.enableOut.k [DISC] (1) Boolean[1] T3.outPlaces.enabledByInPlaces = {T3.enabledByInPlaces for $f1 in 1:1} [DISC] (1) Boolean[1] T1.inPlaces.fire = {T1.fire for $f1 in 1:1} [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (2) protected Boolean[2] P1.enableIn.TEin [DISC] (2) protected Boolean[2] P1.preFireIn [DISC] (2) Boolean[2] P1.inTransition.enabledByInPlaces = {P1.enabledByInPlaces[$inTransition1] for $inTransition1 in 1:2} Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_852) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_851) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_850) [SCAL] (1) $PRE.T3.fireTime = $START.T3.fireTime ($RES_SRT_849) [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_848) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_847) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_846) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_845) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_844) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_843) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_842) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_841) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_840) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_839) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_838) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_837) [SCAL] (1) $PRE.T3.ani = $START.T3.ani ($RES_SRT_836) [SCAL] (1) $PRE.T3.firingTime = $START.T3.firingTime ($RES_SRT_835) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_834) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_833) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_832) 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.366323637019377] Failed to read output from testmodel.py, exit status != 0: 0.5636571960058063 0.580295613 0.52186958 Calling exit ...