Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.InputConflictType3.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.001586/0.001586, 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.001919/0.001919, allocations: 216.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.552/1.552, allocations: 230.6 MB / 256.9 MB, free: 7.73 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.0818/0.0818, allocations: 16.94 MB / 330.2 MB, free: 2.016 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.InputConflictType3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.active|T2.fire|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|Time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.InputConflictType3") translateModel(PNlib.Examples.HybTest.InputConflictType3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.active|T2.fire|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|Time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.InputConflictType3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/2.928e-05, allocations: 2.281 kB / 461 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.InputConflictType3): time 0.00805/0.008079, allocations: 3.777 MB / 464.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.01967, allocations: 3.778 MB / 468.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.02142, allocations: 35.81 kB / 468.6 MB, free: 10 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.0227, allocations: 392.9 kB / 469 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.02449, allocations: 457 kB / 469.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006278/0.03077, allocations: 2.005 MB / 471.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009721/0.04049, allocations: 4.724 MB / 476.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.04153, allocations: 278.8 kB / 476.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/0.04625, allocations: 1.928 MB / 478.3 MB, free: 196 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004757/0.05101, allocations: 1.583 MB / 479.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.05239, allocations: 328 kB / 480.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.05574, allocations: 1.124 MB / 481.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.007196/0.06294, allocations: 4.852 MB / 486.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.003579/0.06652, allocations: 2.658 MB / 488.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.06814, allocations: 276 kB / 489.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0008309/0.06897, allocations: 258.1 kB / 489.4 MB, free: 5.047 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: 691 (523) * Number of variables: 691 (613) Notification: Performance of [SIM] Bindings: time 0.0176/0.08657, allocations: 12.45 MB / 0.4901 GB, free: 8.25 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002989/0.08955, allocations: 1.653 MB / 0.4917 GB, free: 6.574 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0192/0.1088, allocations: 13.02 MB / 0.5044 GB, free: 9.457 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005275/0.114, allocations: 2.391 MB / 0.5068 GB, free: 6.906 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.3136/0.4276, allocations: 11.61 MB / 0.5181 GB, free: 43.12 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004523/0.4321, allocations: 2.127 MB / 0.5202 GB, free: 42.84 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.003912/0.436, allocations: 1.686 MB / 0.5218 GB, free: 42.7 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.005527/0.4416, allocations: 3.132 MB / 0.5249 GB, free: 42.23 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.004673/0.4462, allocations: 2.534 MB / 0.5273 GB, free: 41.61 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.008912/0.4552, allocations: 5.434 MB / 0.5327 GB, free: 39.14 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.02205/0.4772, allocations: 13.99 MB / 0.5463 GB, free: 36.69 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01348/0.4907, allocations: 11.6 MB / 0.5576 GB, free: 28.05 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.008258/0.4989, allocations: 4.479 MB / 0.562 GB, free: 24.06 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.02002/0.519, allocations: 18.45 MB / 0.58 GB, free: 5.875 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0007936/0.5198, allocations: 206.8 kB / 0.5802 GB, free: 5.621 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.004172/0.5239, allocations: 2.696 MB / 0.5829 GB, free: 2.973 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 $SEV_34 [DISC] (1) Boolean $SEV_35 [DISC] (1) Boolean $SEV_36 [DISC] (1) Boolean $SEV_37 [DISC] (1) Boolean[1] $SEV_40 [DISC] (1) Boolean $SEV_110 [DISC] (1) Boolean $SEV_111 [DISC] (1) Boolean $SEV_112 [DISC] (1) Boolean $SEV_113 [DISC] (1) Boolean $SEV_120 [DISC] (1) Boolean[1] $FUN_18 [DISC] (1) protected Integer P3.enableOut.Index [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 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.enableIn.arcWeightSum [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.enable [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.T2.firingTime = $START.T2.firingTime ($RES_SRT_878) [SCAL] (1) $PRE.T2.ani = $START.T2.ani ($RES_SRT_877) [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_876) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_875) [SCAL] (1) $PRE.P2.firingSumIn.firingSum = $START.P2.firingSumIn.firingSum ($RES_SRT_874) [SCAL] (1) $PRE.P2.firingSumOut.firingSum = $START.P2.firingSumOut.firingSum ($RES_SRT_873) [SCAL] (1) $PRE.P3.disMarksOut.anytrue = $START.P3.disMarksOut.anytrue ($RES_SRT_872) [SCAL] (1) $PRE.P3.disMarksIn.anytrue = $START.P3.disMarksIn.anytrue ($RES_SRT_871) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_870) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_869) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_868) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_867) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_866) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_865) [SCAL] (1) $PRE.T2.fireTime = $START.T2.fireTime ($RES_SRT_864) 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.3381217580172233] Failed to read output from testmodel.py, exit status != 0: 0.5501063579577021 0.563776536 0.491290066 Calling exit ...