Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC3.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.001667/0.001667, 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.001811/0.001811, allocations: 217.9 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.527/1.527, allocations: 230.7 MB / 256.9 MB, free: 7.727 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.08038/0.08038, allocations: 16.95 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.ExtTest.ArcswithPCtoTC3,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.instantaneousSpeed|T1.instantaneousSpeed|T1.maximumSpeed|T2.instantaneousSpeed|T2.instantaneousSpeed|T2.maximumSpeed|T3.instantaneousSpeed|T3.instantaneousSpeed|T3.maximumSpeed|T4.instantaneousSpeed|T4.instantaneousSpeed|T4.maximumSpeed|T5.instantaneousSpeed|T5.instantaneousSpeed|T5.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC3") translateModel(PNlib.Examples.ExtTest.ArcswithPCtoTC3,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.instantaneousSpeed|T1.instantaneousSpeed|T1.maximumSpeed|T2.instantaneousSpeed|T2.instantaneousSpeed|T2.maximumSpeed|T3.instantaneousSpeed|T3.instantaneousSpeed|T3.maximumSpeed|T4.instantaneousSpeed|T4.instantaneousSpeed|T4.maximumSpeed|T5.instantaneousSpeed|T5.instantaneousSpeed|T5.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.397e-05, allocations: 2.281 kB / 461 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.ArcswithPCtoTC3): time 0.01086/0.01088, allocations: 8.109 MB / 469.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.02644, allocations: 6.794 MB / 475.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004301/0.03074, allocations: 75.56 kB / 476 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.0331, allocations: 0.9651 MB / 477 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.03645, allocations: 1.098 MB / 478.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008602/0.04505, allocations: 3.615 MB / 481.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01912/0.06417, allocations: 11.6 MB / 493.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.06633, allocations: 0.8127 MB / 494.1 MB, free: 384 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009145/0.07548, allocations: 4.76 MB / 498.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007773/0.08325, allocations: 3.664 MB / 0.4907 GB, free: 7.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003319/0.08657, allocations: 0.7617 MB / 0.4915 GB, free: 7.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.0898, allocations: 1.284 MB / 0.4927 GB, free: 5.875 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0135/0.1033, allocations: 11.5 MB / 0.504 GB, free: 10.28 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.006522/0.1098, allocations: 6.36 MB / 0.5102 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.1126, allocations: 0.5786 MB / 0.5107 GB, free: 3.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.001358/0.1139, allocations: 0.6672 MB / 0.5114 GB, free: 2.586 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: 1931 (1327) * Number of variables: 1931 (1499) Notification: Performance of [SIM] Bindings: time 0.3055/0.4194, allocations: 28.95 MB / 0.5397 GB, free: 32.23 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.009178/0.4286, allocations: 4.047 MB / 0.5436 GB, free: 29.98 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.04707/0.4756, allocations: 29.69 MB / 0.5726 GB, free: 10.96 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01211/0.4878, allocations: 5.116 MB / 0.5776 GB, free: 7.684 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.05633/0.5441, allocations: 27.98 MB / 0.6049 GB, free: 9.098 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.01062/0.5547, allocations: 4.542 MB / 0.6094 GB, free: 4.348 MB / 414.1 MB Notification: Performance of [SIM] Remove Stream: time 0.009142/0.5639, allocations: 3.618 MB / 0.6129 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.01557/0.5794, allocations: 6.963 MB / 0.6197 GB, free: 9.398 MB / 430.1 MB Notification: Performance of [SIM] Events: time 0.01078/0.5902, allocations: 5.122 MB / 0.6247 GB, free: 4.41 MB / 430.1 MB Notification: Performance of [SIM] Partitioning: time 0.03318/0.6234, allocations: 11.95 MB / 0.6364 GB, free: 8.105 MB / 446.1 MB Notification: Performance of [SIM] Causalize: time 0.07787/0.7013, allocations: 40.54 MB / 0.676 GB, free: 15.12 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.04955/0.7508, allocations: 25.77 MB / 0.7011 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.3344/1.085, allocations: 9.864 MB / 0.7108 GB, free: 127.6 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.07757/1.163, allocations: 41.3 MB / 0.7511 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.002902/1.166, allocations: 471.2 kB / 0.7515 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.0146/1.18, allocations: 5.961 MB / 0.7574 GB, free: 114.5 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_1854); [SCAL] (1) $SEV_22 = $PRE.P6.disMarksOut.anytrue or $PRE.P6.disMarksIn.anytrue ($RES_EVT_1844); [SCAL] (1) $SEV_14 = $PRE.P4.disMarksOut.anytrue or $PRE.P4.disMarksIn.anytrue ($RES_EVT_1834); [SCAL] (1) $SEV_6 = $PRE.P2.disMarksOut.anytrue or $PRE.P2.disMarksIn.anytrue ($RES_EVT_1824); 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_46 [DISC] (1) Boolean $SEV_50 [DISC] (1) Boolean $SEV_51 [DISC] (1) Boolean[1] $SEV_60 [DISC] (1) Boolean $SEV_61 [DISC] (1) Boolean $SEV_98 [DISC] (2) Boolean[2] $SEV_99 [DISC] (1) Boolean $SEV_100 [DISC] (1) Boolean[1] $FUN_47 [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) Boolean[1] T3.outPlaces.enable [DISC] (1) Boolean[1] T2.outPlaces.enable [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.Index [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 discrete Real P1.enableOut.arcWeightSum [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_2192) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_2191) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_2190) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_2189) [SCAL] (1) $PRE.P3.disMarksOut.anytrue = $START.P3.disMarksOut.anytrue ($RES_SRT_2188) [SCAL] (1) $PRE.P3.disMarksIn.anytrue = $START.P3.disMarksIn.anytrue ($RES_SRT_2187) [SCAL] (1) $PRE.P4.disMarksOut.anytrue = $START.P4.disMarksOut.anytrue ($RES_SRT_2186) [SCAL] (1) $PRE.P4.disMarksIn.anytrue = $START.P4.disMarksIn.anytrue ($RES_SRT_2185) [SCAL] (1) $PRE.P5.disMarksOut.anytrue = $START.P5.disMarksOut.anytrue ($RES_SRT_2184) [SCAL] (1) $PRE.P5.disMarksIn.anytrue = $START.P5.disMarksIn.anytrue ($RES_SRT_2183) [SCAL] (1) $PRE.P6.disMarksOut.anytrue = $START.P6.disMarksOut.anytrue ($RES_SRT_2182) [SCAL] (1) $PRE.P6.disMarksIn.anytrue = $START.P6.disMarksIn.anytrue ($RES_SRT_2181) [SCAL] (1) $PRE.P7.disMarksOut.anytrue = $START.P7.disMarksOut.anytrue ($RES_SRT_2180) [SCAL] (1) $PRE.P7.disMarksIn.anytrue = $START.P7.disMarksIn.anytrue ($RES_SRT_2179) [SCAL] (1) $PRE.P8.disMarksOut.anytrue = $START.P8.disMarksOut.anytrue ($RES_SRT_2178) [SCAL] (1) $PRE.P8.disMarksIn.anytrue = $START.P8.disMarksIn.anytrue ($RES_SRT_2177) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_2176) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_2175) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_2174) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_2173) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_2172) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_2171) [ARRY] (4) $PRE.P4.enableIn.state128 = $START.P4.enableIn.state128 ($RES_SRT_2170) [ARRY] (4) $PRE.P4.enableOut.state128 = $START.P4.enableOut.state128 ($RES_SRT_2169) [ARRY] (4) $PRE.P5.enableIn.state128 = $START.P5.enableIn.state128 ($RES_SRT_2168) [ARRY] (4) $PRE.P5.enableOut.state128 = $START.P5.enableOut.state128 ($RES_SRT_2167) [ARRY] (4) $PRE.P6.enableIn.state128 = $START.P6.enableIn.state128 ($RES_SRT_2166) [ARRY] (4) $PRE.P6.enableOut.state128 = $START.P6.enableOut.state128 ($RES_SRT_2165) [ARRY] (4) $PRE.P7.enableIn.state128 = $START.P7.enableIn.state128 ($RES_SRT_2164) [ARRY] (4) $PRE.P7.enableOut.state128 = $START.P7.enableOut.state128 ($RES_SRT_2163) [ARRY] (4) $PRE.P8.enableIn.state128 = $START.P8.enableIn.state128 ($RES_SRT_2162) [ARRY] (4) $PRE.P8.enableOut.state128 = $START.P8.enableOut.state128 ($RES_SRT_2161) 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.927851455984637] Failed to read output from testmodel.py, exit status != 0: 1.2440047989948653 1.252831158 1.136328598 Calling exit ...