Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.IAwithPCtoTC.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.001823/0.001823, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001927/0.001927, allocations: 213.3 kB / 23.06 MB, free: 4.988 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.564/1.564, allocations: 230.6 MB / 256.9 MB, free: 7.941 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.08457/0.08457, allocations: 16.94 MB / 330.2 MB, free: 2.047 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.IAwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.IAwithPCtoTC") translateModel(PNlib.Examples.ExtTest.IAwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.IAwithPCtoTC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.127e-05, allocations: 4.25 kB / 461 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.IAwithPCtoTC): time 0.005167/0.005188, allocations: 3.564 MB / 464.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00617/0.01136, allocations: 3.084 MB / 467.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008886/0.01225, allocations: 23.88 kB / 467.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008977/0.01314, allocations: 373 kB / 468 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.01434, allocations: 437.2 kB / 468.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.01815, allocations: 1.543 MB / 470 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006184/0.02433, allocations: 4.397 MB / 474.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000774/0.0251, allocations: 278.7 kB / 474.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/0.02801, allocations: 1.788 MB / 476.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002288/0.0303, allocations: 1.393 MB / 477.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005477/0.03085, allocations: 284 kB / 478.1 MB, free: 432 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.03255, allocations: 0.792 MB / 478.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.003935/0.03649, allocations: 4.348 MB / 483.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002352/0.03884, allocations: 2.441 MB / 485.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008315/0.03967, allocations: 220 kB / 485.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0006038/0.04027, allocations: 246.3 kB / 486.2 MB, free: 8.312 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: 644 (479) * Number of variables: 644 (564) Notification: Performance of [SIM] Bindings: time 0.01466/0.05494, allocations: 10.81 MB / 497 MB, free: 13.18 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002629/0.05757, allocations: 1.503 MB / 498.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.01458/0.07215, allocations: 10.99 MB / 0.4975 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004538/0.07668, allocations: 1.965 MB / 0.4994 GB, free: 14.44 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.0173/0.09399, allocations: 10.31 MB / 0.5095 GB, free: 2.93 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003293/0.09728, allocations: 1.712 MB / 0.5112 GB, free: 1.102 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.2589/0.3562, allocations: 1.344 MB / 0.5125 GB, free: 49.12 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.004778/0.3609, allocations: 2.659 MB / 0.5151 GB, free: 48.68 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.002767/0.3637, allocations: 2 MB / 0.5171 GB, free: 48.3 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.006168/0.3699, allocations: 4.401 MB / 0.5214 GB, free: 47.87 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01766/0.3875, allocations: 11.78 MB / 0.5329 GB, free: 46.67 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0101/0.3976, allocations: 9.433 MB / 0.5421 GB, free: 41.88 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.006668/0.4043, allocations: 3.722 MB / 0.5457 GB, free: 39.95 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0129/0.4172, allocations: 15.12 MB / 0.5605 GB, free: 26.95 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0007103/0.4179, allocations: 177.6 kB / 0.5606 GB, free: 26.74 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.003382/0.4213, allocations: 2.201 MB / 0.5628 GB, free: 24.58 MB / 382.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_7 = $PRE.P2.disMarksOut.anytrue or $PRE.P2.disMarksIn.anytrue ($RES_EVT_666); [SCAL] (1) P3.disMarksInOut = $START.P3.disMarksInOut ($RES_SRT_724); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_4 [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 $SEV_43 [DISC] (1) Boolean[1] $SEV_44 [DISC] (1) Boolean $SEV_45 [DISC] (1) Boolean $SEV_50 [DISC] (1) Boolean $SEV_51 [DISC] (1) Boolean[1] T1.outPlaces.enable [DISC] (1) protected Integer P3.enableOut.Index [DISC] (1) protected Boolean P3.enableOut.endWhile [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 discrete Real P3.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P3.enableIn.nTAin [DISC] (1) Boolean[1] P3.inTransition.enable = {P3.enableIn.TEin_[1]} [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 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_795) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_794) [SCAL] (1) $PRE.P2.disMarksOut.anytrue = $START.P2.disMarksOut.anytrue ($RES_SRT_793) [SCAL] (1) $PRE.P2.disMarksIn.anytrue = $START.P2.disMarksIn.anytrue ($RES_SRT_792) [SCAL] (1) $PRE.P3.disMarksOut.anytrue = $START.P3.disMarksOut.anytrue ($RES_SRT_791) [SCAL] (1) $PRE.P3.disMarksIn.anytrue = $START.P3.disMarksIn.anytrue ($RES_SRT_790) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_789) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_788) [ARRY] (4) $PRE.P2.enableIn.state128 = $START.P2.enableIn.state128 ($RES_SRT_787) [ARRY] (4) $PRE.P2.enableOut.state128 = $START.P2.enableOut.state128 ($RES_SRT_786) [ARRY] (4) $PRE.P3.enableIn.state128 = $START.P3.enableIn.state128 ($RES_SRT_785) [ARRY] (4) $PRE.P3.enableOut.state128 = $START.P3.enableOut.state128 ($RES_SRT_784) 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.215658330998849] Failed to read output from testmodel.py, exit status != 0: 0.43985106697073206 0.44967151200000005 0.407001325 Calling exit ...