Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.001613/0.001613, 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.00168/0.00168, allocations: 213.7 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.546/1.546, 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.08226/0.08226, allocations: 16.94 MB / 330.2 MB, free: 2.152 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.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.347e-05, allocations: 2.281 kB / 461 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003357/0.00338, allocations: 1.807 MB / 462.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003616/0.006997, allocations: 1.534 MB / 464.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003897/0.007386, allocations: 11.94 kB / 464.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.007824, allocations: 138.9 kB / 464.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005764/0.0084, allocations: 174.8 kB / 464.7 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.01044, allocations: 0.685 MB / 465.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002496/0.01294, allocations: 1.58 MB / 466.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.01329, allocations: 121.3 kB / 467 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.01431, allocations: 0.6543 MB / 467.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009937/0.0153, allocations: 0.6265 MB / 468.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.01553, allocations: 128 kB / 468.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.01674, allocations: 0.589 MB / 469 MB, free: 9.605 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001972/0.01871, allocations: 1.971 MB / 471 MB, free: 7.617 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009428/0.01965, allocations: 1.107 MB / 472.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.02001, allocations: 108 kB / 472.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002824/0.02029, allocations: 107.2 kB / 472.3 MB, free: 6.285 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 (214) * Number of variables: 259 (249) Notification: Performance of [SIM] Bindings: time 0.006481/0.02677, allocations: 5.07 MB / 477.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001035/0.02781, allocations: 0.6457 MB / 478 MB, free: 368 kB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.007434/0.03524, allocations: 5.25 MB / 483.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002207/0.03745, allocations: 1.012 MB / 484.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.008544/0.046, allocations: 4.639 MB / 488.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001837/0.04783, allocations: 0.9134 MB / 489.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001031/0.04886, allocations: 0.7182 MB / 490.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001984/0.05085, allocations: 1.259 MB / 491.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.001795/0.05264, allocations: 0.9755 MB / 492.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.00335/0.05599, allocations: 2.134 MB / 494.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.007956/0.06395, allocations: 4.92 MB / 499.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006127/0.07008, allocations: 4.516 MB / 0.4926 GB, free: 5.016 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.004278/0.07435, allocations: 1.741 MB / 0.4943 GB, free: 3.117 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.009902/0.08426, allocations: 7.084 MB / 0.5012 GB, free: 12.02 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0003725/0.08463, allocations: 88.73 kB / 0.5013 GB, free: 11.91 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.001941/0.08657, allocations: 1.042 MB / 0.5023 GB, free: 10.87 MB / 382.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_2 [DISC] (4) Integer[4] $TEV_3 [DISC] (1) Boolean $SEV_27 [DISC] (1) Boolean[1] $SEV_28 [DISC] (1) Boolean[1] T1.outPlaces.enabledByInPlaces = {T1.enabledByInPlaces for $f1 in 1:1} [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected Boolean P1.enableIn.endWhile [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected Boolean[1] P1.enableIn.TEin [DISC] (1) Boolean[1] P1.outTransition.fire = {P1.fireOut[1]} Following equations were created by fixing variables: [SCAL] (1) $PRE.T1.fireTime = $START.T1.fireTime ($RES_SRT_360) [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_359) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_358) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_357) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_356) [SCAL] (1) $PRE.T1.ani = $START.T1.ani ($RES_SRT_355) [SCAL] (1) $PRE.T1.firingTime = $START.T1.firingTime ($RES_SRT_354) 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.1243302389630117] Failed to read output from testmodel.py, exit status != 0: 0.10331075900467113 0.369936649 0.34649615300000003 Calling exit ...