Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC.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.001856/0.001856, 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.0023/0.0023, allocations: 218 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.578/1.578, allocations: 230.7 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.0817/0.0817, allocations: 16.94 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.ExtTest.ArcswithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|P6.t|P7.t|P8.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|T4.fire|T4.instantaneousSpeed|T4.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC") translateModel(PNlib.Examples.ExtTest.ArcswithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|P6.t|P7.t|P8.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|T4.fire|T4.instantaneousSpeed|T4.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.718e-05, allocations: 4.25 kB / 461 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.ArcswithPCtoTC): time 0.01137/0.0114, allocations: 7.768 MB / 468.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.02619, allocations: 6.573 MB / 475.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005039/0.03123, allocations: 71.56 kB / 475.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004012/0.03524, allocations: 0.9069 MB / 476.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005918/0.04116, allocations: 1.04 MB / 477.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009635/0.05079, allocations: 3.521 MB / 480.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02009/0.07088, allocations: 11.17 MB / 492.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.07325, allocations: 0.632 MB / 492.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.08326, allocations: 4.492 MB / 497.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008119/0.09138, allocations: 3.469 MB / 0.4889 GB, free: 9.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003822/0.0952, allocations: 0.6992 MB / 0.4896 GB, free: 9.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00476/0.09996, allocations: 1.222 MB / 0.4908 GB, free: 7.887 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.01514/0.1151, allocations: 10.86 MB / 0.5014 GB, free: 12.92 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.006183/0.1213, allocations: 6.09 MB / 0.5074 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00306/0.1243, allocations: 0.5435 MB / 0.5079 GB, free: 6.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.001465/0.1258, allocations: 0.6401 MB / 0.5085 GB, free: 5.566 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 (1192) * Number of variables: 1516 (1436) Notification: Performance of [SIM] Bindings: time 0.3035/0.4293, allocations: 26.51 MB / 0.5344 GB, free: 35.16 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.008978/0.4383, allocations: 3.59 MB / 0.5379 GB, free: 33.17 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.05378/0.492, allocations: 26.46 MB / 0.5637 GB, free: 17.26 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01218/0.5042, allocations: 4.784 MB / 0.5684 GB, free: 14.18 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.04983/0.554, allocations: 25.69 MB / 0.5935 GB, free: 4.414 MB / 398.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0106/0.5646, allocations: 4.167 MB / 0.5976 GB, free: 72 kB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.007623/0.5723, allocations: 3.316 MB / 0.6008 GB, free: 12.67 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.01445/0.5867, allocations: 6.461 MB / 0.6071 GB, free: 5.934 MB / 414.1 MB Notification: Performance of [SIM] Events: time 0.01148/0.5982, allocations: 4.682 MB / 0.6117 GB, free: 1.371 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.03289/0.6311, allocations: 10.92 MB / 0.6223 GB, free: 5.961 MB / 430.1 MB Notification: Performance of [SIM] Causalize: time 0.04872/0.6798, allocations: 26.76 MB / 0.6485 GB, free: 10.56 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.04293/0.7227, allocations: 22.32 MB / 0.6703 GB, free: 4.219 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.02793/0.7507, allocations: 9.052 MB / 0.6791 GB, free: 10.77 MB / 494.1 MB Notification: Performance of [INI] Inline: time 0.3767/1.127, allocations: 35.7 MB / 0.714 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.002644/1.13, allocations: 444.2 kB / 0.7144 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.01371/1.144, allocations: 5.321 MB / 0.7196 GB, free: 130.6 MB / 0.4981 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_30 = $PRE.P8.disMarksOut.anytrue or $PRE.P8.disMarksIn.anytrue ($RES_EVT_1611); [SCAL] (1) $SEV_22 = $PRE.P6.disMarksOut.anytrue or $PRE.P6.disMarksIn.anytrue ($RES_EVT_1603); [SCAL] (1) $SEV_14 = $PRE.P4.disMarksOut.anytrue or $PRE.P4.disMarksIn.anytrue ($RES_EVT_1595); [SCAL] (1) $SEV_6 = $PRE.P2.disMarksOut.anytrue or $PRE.P2.disMarksIn.anytrue ($RES_EVT_1587); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_13 [DISC] (4) Integer[4] $TEV_14 [DISC] (4) Integer[4] $TEV_18 [DISC] (4) Integer[4] $TEV_21 [DISC] (4) Integer[4] $TEV_22 [DISC] (1) Boolean $SEV_44 [DISC] (1) Boolean[1] $SEV_45 [DISC] (1) Boolean $SEV_50 [DISC] (1) Boolean $SEV_51 [DISC] (1) Boolean $SEV_60 [DISC] (1) Boolean $SEV_61 [DISC] (1) Boolean $SEV_98 [DISC] (1) Boolean $SEV_99 [DISC] (1) Boolean $SEV_100 [DISC] (1) protected Boolean T4.fire_ = PNlib.Functions.OddsAndEnds.allTrue(PNlib.Functions.OddsAndEnds.boolOr(T4.enableIn, not T4.disPlaceIn)) [DISC] (1) Boolean[1] T4.outPlaces.enable [DISC] (1) protected Boolean T3.fire_ = PNlib.Functions.OddsAndEnds.allTrue(PNlib.Functions.OddsAndEnds.boolOr(T3.enableIn, not T3.disPlaceIn)) [DISC] (1) Boolean[1] T3.outPlaces.enable [DISC] (1) protected Boolean T2.fire_ = PNlib.Functions.OddsAndEnds.allTrue(PNlib.Functions.OddsAndEnds.boolOr(T2.enableIn, not T2.disPlaceIn)) [DISC] (1) Boolean[1] T2.outPlaces.enable [DISC] (1) protected Boolean T1.fire_ = PNlib.Functions.OddsAndEnds.allTrue(PNlib.Functions.OddsAndEnds.boolOr(T1.enableIn, not T1.disPlaceIn)) [DISC] (1) Boolean[1] T1.outPlaces.enable [DISC] (1) protected Integer P8.enableOut.Index [DISC] (1) protected Boolean P8.enableOut.endWhile [DISC] (1) protected discrete Real P8.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P8.enableOut.posTE [DISC] (1) protected Integer P8.enableOut.k [DISC] (1) protected Integer P8.enableOut.nTAout [DISC] (1) protected Integer P8.enableOut.nremTAout [DISC] (1) protected discrete Real P8.enableOut.arcWeightSum [DISC] (1) protected Integer P8.enableIn.posTE [DISC] (1) protected Integer P8.enableIn.nTAin [DISC] (1) protected Integer P8.enableIn.nremTAin [DISC] (1) protected Integer P7.enableOut.Index [DISC] (1) protected Integer P7.enableOut.nTAout [DISC] (1) protected Integer P7.enableOut.nremTAout [DISC] (1) protected discrete Real P7.enableOut.arcWeightSum [DISC] (1) protected Integer P7.enableIn.Index [DISC] (1) protected Boolean P7.enableIn.endWhile [DISC] (1) protected discrete Real P7.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P7.enableIn.posTE [DISC] (1) protected Integer P7.enableIn.k [DISC] (1) protected Integer P7.enableIn.nTAin [DISC] (1) protected Integer P7.enableIn.nremTAin [DISC] (1) protected discrete Real P7.enableIn.arcWeightSum [DISC] (1) protected Integer P6.enableOut.Index [DISC] (1) protected Boolean P6.enableOut.endWhile [DISC] (1) protected discrete Real P6.enableOut.sumEnablingProbTAout [DISC] (1) protected Integer P6.enableOut.posTE [DISC] (1) protected Integer P6.enableOut.k [DISC] (1) protected Integer P6.enableOut.nTAout [DISC] (1) protected Integer P6.enableOut.nremTAout [DISC] (1) protected discrete Real P6.enableOut.arcWeightSum [DISC] (1) protected discrete Real P6.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P6.enableIn.nTAin [DISC] (1) protected Integer P6.enableIn.nremTAin [DISC] (1) protected Integer P5.enableOut.Index [DISC] (1) protected Integer P5.enableOut.k [DISC] (1) protected Integer P5.enableOut.nTAout [DISC] (1) protected discrete Real P5.enableOut.arcWeightSum [DISC] (1) protected Integer P5.enableIn.Index [DISC] (1) protected Boolean P5.enableIn.endWhile [DISC] (1) protected discrete Real P5.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P5.enableIn.posTE [DISC] (1) protected Integer P5.enableIn.k [DISC] (1) protected Integer P5.enableIn.nTAin [DISC] (1) protected Integer P5.enableIn.nremTAin [DISC] (1) protected discrete Real P5.enableIn.arcWeightSum [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.k [DISC] (1) protected Integer P3.enableOut.nTAout [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.Index [DISC] (1) protected Boolean P2.enableIn.endWhile [DISC] (1) protected Integer P2.enableIn.nTAin [DISC] (1) protected Integer P2.enableIn.nremTAin [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_1940) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_1939) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_1938) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_1937) [SCAL] (1) $PRE.P3.disMarksOut.anytrue = $START.P3.disMarksOut.anytrue ($RES_SRT_1936) [SCAL] (1) $PRE.P3.disMarksIn.anytrue = $START.P3.disMarksIn.anytrue ($RES_SRT_1935) [SCAL] (1) $PRE.P4.disMarksOut.anytrue = $START.P4.disMarksOut.anytrue ($RES_SRT_1934) [SCAL] (1) $PRE.P4.disMarksIn.anytrue = $START.P4.disMarksIn.anytrue ($RES_SRT_1933) [SCAL] (1) $PRE.P5.disMarksOut.anytrue = $START.P5.disMarksOut.anytrue ($RES_SRT_1932) [SCAL] (1) $PRE.P5.disMarksIn.anytrue = $START.P5.disMarksIn.anytrue ($RES_SRT_1931) [SCAL] (1) $PRE.P6.disMarksOut.anytrue = $START.P6.disMarksOut.anytrue ($RES_SRT_1930) [SCAL] (1) $PRE.P6.disMarksIn.anytrue = $START.P6.disMarksIn.anytrue ($RES_SRT_1929) [SCAL] (1) $PRE.P7.disMarksOut.anytrue = $START.P7.disMarksOut.anytrue ($RES_SRT_1928) [SCAL] (1) $PRE.P7.disMarksIn.anytrue = $START.P7.disMarksIn.anytrue ($RES_SRT_1927) [SCAL] (1) $PRE.P8.disMarksOut.anytrue = $START.P8.disMarksOut.anytrue ($RES_SRT_1926) [SCAL] (1) $PRE.P8.disMarksIn.anytrue = $START.P8.disMarksIn.anytrue ($RES_SRT_1925) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_1924) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_1923) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_1922) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_1921) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_1920) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_1919) [ARRY] (4) $PRE.P4.enableIn.state128 = $START.P4.enableIn.state128 ($RES_SRT_1918) [ARRY] (4) $PRE.P4.enableOut.state128 = $START.P4.enableOut.state128 ($RES_SRT_1917) [ARRY] (4) $PRE.P5.enableIn.state128 = $START.P5.enableIn.state128 ($RES_SRT_1916) [ARRY] (4) $PRE.P5.enableOut.state128 = $START.P5.enableOut.state128 ($RES_SRT_1915) [ARRY] (4) $PRE.P6.enableIn.state128 = $START.P6.enableIn.state128 ($RES_SRT_1914) [ARRY] (4) $PRE.P6.enableOut.state128 = $START.P6.enableOut.state128 ($RES_SRT_1913) [ARRY] (4) $PRE.P7.enableIn.state128 = $START.P7.enableIn.state128 ($RES_SRT_1912) [ARRY] (4) $PRE.P7.enableOut.state128 = $START.P7.enableOut.state128 ($RES_SRT_1911) [ARRY] (4) $PRE.P8.enableIn.state128 = $START.P8.enableIn.state128 ($RES_SRT_1910) [ARRY] (4) $PRE.P8.enableOut.state128 = $START.P8.enableOut.state128 ($RES_SRT_1909) 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: 4.01234882400604] Failed to read output from testmodel.py, exit status != 0: 1.2089323910186067 1.219733793 1.090462468 Calling exit ...