Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.ConflictType4.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.001741/0.001741, 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.001992/0.001992, allocations: 213.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.575/1.575, 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.0846/0.0846, allocations: 16.95 MB / 330.2 MB, free: 2.035 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.ConflictType4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.ConflictType4") translateModel(PNlib.Examples.HybTest.ConflictType4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.ConflictType4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.063e-05, allocations: 2.281 kB / 461 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.ConflictType4): time 0.006767/0.006798, allocations: 4.615 MB / 465.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.01786, allocations: 4.759 MB / 470.4 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.02015, allocations: 43.75 kB / 470.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.02169, allocations: 0.5039 MB / 470.9 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.02405, allocations: 0.5588 MB / 471.5 MB, free: 7.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007599/0.03165, allocations: 2.62 MB / 474.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.04322, allocations: 6.605 MB / 480.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.04443, allocations: 420 kB / 481.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005378/0.04981, allocations: 2.634 MB / 483.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004908/0.05471, allocations: 2.066 MB / 485.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002341/0.05705, allocations: 456 kB / 486.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003748/0.0608, allocations: 1.514 MB / 487.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.007993/0.0688, allocations: 6.26 MB / 494 MB, free: 456 kB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.00351/0.07231, allocations: 3.317 MB / 497.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.07406, allocations: 380.5 kB / 497.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0007094/0.07477, allocations: 297.9 kB / 498 MB, free: 12.41 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1050 (662) * Number of variables: 1050 (755) Notification: Performance of [SIM] Bindings: time 0.02596/0.1007, allocations: 16.26 MB / 0.5022 GB, free: 11.78 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.005196/0.1059, allocations: 2.298 MB / 0.5045 GB, free: 9.445 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.3314/0.4373, allocations: 17.74 MB / 0.5218 GB, free: 39.03 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.009012/0.4463, allocations: 3.217 MB / 0.5249 GB, free: 38.59 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.03198/0.4783, allocations: 14.91 MB / 0.5395 GB, free: 31.33 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.006485/0.4848, allocations: 2.921 MB / 0.5424 GB, free: 30.27 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.005086/0.4899, allocations: 2.334 MB / 0.5446 GB, free: 29.14 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.007903/0.4978, allocations: 4.268 MB / 0.5488 GB, free: 26.46 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.00605/0.5038, allocations: 2.981 MB / 0.5517 GB, free: 25.08 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.01314/0.517, allocations: 7.233 MB / 0.5588 GB, free: 20.87 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.03312/0.5501, allocations: 24.13 MB / 0.5823 GB, free: 356 kB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.02947/0.5796, allocations: 15.78 MB / 0.5978 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.01767/0.5972, allocations: 5.874 MB / 0.6035 GB, free: 10.72 MB / 414.1 MB Notification: Performance of [INI] Inline: time 0.0502/0.6474, allocations: 24.87 MB / 0.6278 GB, free: 1.988 MB / 430.1 MB Notification: Performance of [INI] Partitioning: time 0.001646/0.6491, allocations: 246.1 kB / 0.628 GB, free: 1.703 MB / 430.1 MB Notification: Performance of [INI] Cleanup: time 0.009899/0.659, allocations: 3.62 MB / 0.6315 GB, free: 14.09 MB / 446.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_14 = $PRE.P4.disMarksOut.anytrue or $PRE.P4.disMarksIn.anytrue ($RES_EVT_947); [SCAL] (1) $SEV_6 = $PRE.P2.disMarksOut.anytrue or $PRE.P2.disMarksIn.anytrue ($RES_EVT_939); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_12 [DISC] (1) Boolean $SEV_27 [DISC] (1) Boolean $SEV_28 [DISC] (1) Boolean $SEV_29 [DISC] (1) Boolean[1] $SEV_33 [DISC] (1) Boolean $SEV_37 [DISC] (1) Boolean $SEV_40 [DISC] (1) Boolean $SEV_41 [DISC] (1) Boolean $SEV_42 [DISC] (1) Boolean $SEV_43 [DISC] (1) Boolean $SEV_50 [DISC] (1) Boolean[1] $SEV_51 [DISC] (1) Boolean $SEV_52 [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) Boolean $SEV_141 [DISC] (1) Boolean $SEV_142 [DISC] (1) Boolean $SEV_143 [DISC] (1) protected discrete Real P5.enableIn.benefitLimit [DISC] (1) protected Boolean P5.enableIn.valid [DISC] (1) protected discrete Real P5.enableIn.benefitMax [DISC] (1) protected Integer P5.enableIn.nTAin [DISC] (1) protected Integer P5.enableIn.arcWeightSum [DISC] (1) protected discrete Real P5.enableOut.benefitLimit [DISC] (1) protected Boolean P5.enableOut.valid [DISC] (1) protected discrete Real P5.enableOut.benefitMax [DISC] (1) protected Integer P5.enableOut.Index [DISC] (2) Boolean[2] P5.inTransition.enable = {P5.enableIn.TEin_[$inTransition1] for $inTransition1 in 1:2} [DISC] (1) protected Boolean T2.fire_ = PNlib.Functions.OddsAndEnds.allTrue(PNlib.Functions.OddsAndEnds.boolOr(T2.enableIn, not T2.disPlaceIn)) [DISC] (2) Boolean[2] T2.outPlaces.enable [DISC] (2) Boolean[2] T1.outPlaces.enable [DISC] (1) protected Integer P4.enableOut.Index [DISC] (1) protected Boolean P4.enableOut.endWhile [DISC] (1) protected discrete Real P4.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P4.enableOut.posTE [DISC] (1) protected Integer P4.enableOut.k [DISC] (1) protected Integer P4.enableOut.nTAout [DISC] (1) protected Integer P4.enableOut.nremTAout [DISC] (1) protected discrete Real P4.enableOut.arcWeightSum [DISC] (1) protected discrete Real P4.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P4.enableIn.nTAin [DISC] (1) protected Integer P4.enableIn.nremTAin [DISC] (1) protected Integer P3.enableOut.Index [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 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) protected discrete Real P2.enableOut.arcWeightSum [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Boolean[1] P2.enableIn.TEin [DISC] (1) protected Integer P1.enableOut.Index [DISC] (1) protected Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Integer P1.enableIn.Index [DISC] (1) protected Boolean P1.enableIn.endWhile [DISC] (1) protected discrete Real P1.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P1.enableIn.posTE [DISC] (1) protected Integer P1.enableIn.k [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected Integer P1.enableIn.nremTAin [DISC] (1) protected discrete Real P1.enableIn.arcWeightSum Following equations were created by fixing variables: [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_1159) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_1158) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_1157) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_1156) [SCAL] (1) $PRE.P3.disMarksOut.anytrue = $START.P3.disMarksOut.anytrue ($RES_SRT_1155) [SCAL] (1) $PRE.P3.disMarksIn.anytrue = $START.P3.disMarksIn.anytrue ($RES_SRT_1154) [SCAL] (1) $PRE.P4.disMarksOut.anytrue = $START.P4.disMarksOut.anytrue ($RES_SRT_1153) [SCAL] (1) $PRE.P4.disMarksIn.anytrue = $START.P4.disMarksIn.anytrue ($RES_SRT_1152) [SCAL] (1) $PRE.P5.firingSumIn.firingSum = $START.P5.firingSumIn.firingSum ($RES_SRT_1151) [SCAL] (1) $PRE.P5.firingSumOut.firingSum = $START.P5.firingSumOut.firingSum ($RES_SRT_1150) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_1149) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_1148) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_1147) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_1146) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_1145) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_1144) [ARRY] (4) $PRE.P4.enableIn.state128 = $START.P4.enableIn.state128 ($RES_SRT_1143) [ARRY] (4) $PRE.P4.enableOut.state128 = $START.P4.enableOut.state128 ($RES_SRT_1142) [ARRY] (4) $PRE.P5.enableOut.state128 = $START.P5.enableOut.state128 ($RES_SRT_1141) [ARRY] (4) $PRE.P5.enableIn.state128 = $START.P5.enableIn.state128 ($RES_SRT_1140) 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.5341855059959926] Failed to read output from testmodel.py, exit status != 0: 0.7112611189950258 0.726957459 0.648307953 Calling exit ...