Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.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.001446/0.001446, 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.001615/0.001615, allocations: 218.8 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.519/1.519, allocations: 230.7 MB / 256.9 MB, free: 7.762 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.08194/0.08194, allocations: 16.94 MB / 330.2 MB, free: 2.027 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.DisTest.InputConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T1.fire|T2.active|T2.fire|T3.active|T3.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.InputConflictProb") translateModel(PNlib.Examples.DisTest.InputConflictProb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T1.fire|T2.active|T2.fire|T3.active|T3.fire|Time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.InputConflictProb") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.338e-05, allocations: 2.281 kB / 461 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.InputConflictProb): time 0.005106/0.00513, allocations: 3.401 MB / 464.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007567/0.0127, allocations: 3.346 MB / 467.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.01393, allocations: 27.81 kB / 467.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008834/0.01481, allocations: 341.2 kB / 468.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.01585, allocations: 421.1 kB / 468.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004728/0.02058, allocations: 1.829 MB / 470.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007002/0.02758, allocations: 4.594 MB / 475 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007035/0.02828, allocations: 274.4 kB / 475.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.03136, allocations: 1.831 MB / 477.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/0.03376, allocations: 1.467 MB / 478.5 MB, free: 28 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005884/0.03435, allocations: 320 kB / 478.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.03643, allocations: 1.116 MB / 480 MB, free: 14.6 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004559/0.04099, allocations: 4.57 MB / 484.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.00233/0.04332, allocations: 2.499 MB / 487 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.04434, allocations: 292.5 kB / 487.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0005674/0.04491, allocations: 246.3 kB / 487.5 MB, free: 6.93 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: 635 (483) * Number of variables: 635 (568) Notification: Performance of [SIM] Bindings: time 0.01587/0.06078, allocations: 11.72 MB / 499.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002558/0.06334, allocations: 1.516 MB / 0.489 GB, free: 9.328 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01621/0.07955, allocations: 12.72 MB / 0.5015 GB, free: 12.51 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004931/0.08448, allocations: 2.396 MB / 0.5038 GB, free: 9.965 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.2863/0.3708, allocations: 11.01 MB / 0.5146 GB, free: 47.23 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003854/0.3747, allocations: 2.167 MB / 0.5167 GB, free: 46.95 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.003166/0.3778, allocations: 1.736 MB / 0.5184 GB, free: 46.82 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.005231/0.3831, allocations: 3.167 MB / 0.5215 GB, free: 46.39 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.003987/0.3871, allocations: 2.518 MB / 0.5239 GB, free: 45.76 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.007513/0.3946, allocations: 5.578 MB / 0.5294 GB, free: 43.4 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.0176/0.4122, allocations: 13.92 MB / 0.543 GB, free: 40.77 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01255/0.4247, allocations: 11.25 MB / 0.5539 GB, free: 32.11 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.007465/0.4322, allocations: 4.376 MB / 0.5582 GB, free: 28.19 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0161/0.4483, allocations: 17.64 MB / 0.5754 GB, free: 11.1 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0006782/0.449, allocations: 203.5 kB / 0.5756 GB, free: 10.85 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003714/0.4527, allocations: 2.645 MB / 0.5782 GB, free: 8.246 MB / 382.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_7 [DISC] (1) Boolean $SEV_30 [DISC] (1) Boolean $SEV_31 [DISC] (1) Boolean $SEV_40 [DISC] (1) Boolean[1] $SEV_41 [DISC] (1) Boolean[1] $SEV_92 [DISC] (1) Boolean $SEV_93 [DISC] (1) Boolean $SEV_94 [DISC] (1) Boolean $SEV_95 [DISC] (1) Boolean $SEV_123 [DISC] (1) Boolean $SEV_124 [DISC] (1) Boolean $SEV_125 [DISC] (1) Boolean $SEV_126 [DISC] (1) Boolean $SEV_127 [DISC] (1) Boolean $SEV_128 [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 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] T2.outPlaces.fire = {T2.fire for $f1 in 1:1} [DISC] (1) Boolean[1] T1.inPlaces.fire = {T1.fire for $f1 in 1:1} [DISC] (1) protected discrete Real P1.enableIn.benefitLimit [DISC] (1) protected Boolean P1.enableIn.valid [DISC] (1) protected discrete Real P1.enableIn.benefitMax [DISC] (1) protected Integer P1.enableIn.Index [DISC] (1) protected Integer P1.enableIn.k [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected discrete Real P1.enableOut.benefitLimit [DISC] (1) protected Boolean P1.enableOut.valid [DISC] (1) protected discrete Real P1.enableOut.benefitMax [DISC] (1) protected Integer P1.enableOut.Index [DISC] (1) protected Integer P1.enableOut.k [DISC] (2) Boolean[2] P1.inTransition.enabledByInPlaces = {P1.enabledByInPlaces[$inTransition1] for $inTransition1 in 1:2} [DISC] (2) Boolean[2] P1.inTransition.fire = {P1.fireIn[$inTransition1] for $inTransition1 in 1:2} Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_802) [SCAL] (1) $PRE.T2.firingTime = $START.T2.firingTime ($RES_SRT_801) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_800) [SCAL] (1) $PRE.T3.fireTime = $START.T3.fireTime ($RES_SRT_799) [SCAL] (1) $PRE.P1.firingSumIn.firingSum = $START.P1.firingSumIn.firingSum ($RES_SRT_798) [SCAL] (1) $PRE.P1.firingSumOut.firingSum = $START.P1.firingSumOut.firingSum ($RES_SRT_797) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_796) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_795) [SCAL] (1) $PRE.P3.firingSumIn.firingSum = $START.P3.firingSumIn.firingSum ($RES_SRT_794) [SCAL] (1) $PRE.P3.firingSumOut.firingSum = $START.P3.firingSumOut.firingSum ($RES_SRT_793) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_792) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_791) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_790) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_789) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_788) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_787) [SCAL] (1) $PRE.T3.ani = $START.T3.ani ($RES_SRT_786) [SCAL] (1) $PRE.T3.firingTime = $START.T3.firingTime ($RES_SRT_785) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_784) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_783) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_782) 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.2028603910002857] Failed to read output from testmodel.py, exit status != 0: 0.4731918610050343 0.487214003 0.439173044 Calling exit ...