Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TFDStest.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.0013/0.0013, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001481/0.001481, allocations: 211 kB / 20.13 MB, free: 2.969 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.09699/0.09699, allocations: 16.94 MB / 326.5 MB, free: 8.297 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: "" <> buildModelFMU(PNlib.Examples.ExtTest.TFDStest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TFDStest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TFDStest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TFDStest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 72.69 kB / 455.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 57.58 MB / 0.5009 GB, free: 9.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TFDStest): time 0.004454/0.1067, allocations: 2.561 MB / 0.5034 GB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008001/0.1147, allocations: 4.386 MB / 0.5076 GB, free: 2.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006733/0.1153, allocations: 15.88 kB / 0.5077 GB, free: 2.641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005776/0.1159, allocations: 190.4 kB / 0.5078 GB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007398/0.1167, allocations: 238.4 kB / 0.5081 GB, free: 2.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.1205, allocations: 1.595 MB / 0.5096 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003766/0.1242, allocations: 2.528 MB / 0.5121 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004943/0.1247, allocations: 184 kB / 0.5123 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.1266, allocations: 1.013 MB / 0.5133 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.1282, allocations: 0.6844 MB / 0.5139 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005701/0.1288, allocations: 164 kB / 0.5141 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.1306, allocations: 0.9012 MB / 0.515 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000542/0.1311, allocations: 286.7 kB / 0.5152 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.1324, allocations: 0.7157 MB / 0.5159 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004708/0.1371, allocations: 2.134 MB / 0.518 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.1371, allocations: 0 / 0.518 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.1371, allocations: 0 / 0.518 GB, free: 7.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.501e-05/0.1372, allocations: 4 kB / 0.518 GB, free: 7.98 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004729/0.1419, allocations: 2.311 MB / 0.5203 GB, free: 5.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.1419, allocations: 8.031 kB / 0.5203 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.173e-05/0.142, allocations: 30.19 kB / 0.5203 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003368/0.1423, allocations: 206 kB / 0.5205 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007483/0.1431, allocations: 184.1 kB / 0.5207 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.1443, allocations: 0.6685 MB / 0.5213 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.1445, allocations: 157.4 kB / 0.5215 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.1447, allocations: 144 kB / 0.5216 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00437/0.1491, allocations: 2.396 MB / 0.524 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.1491, allocations: 7.938 kB / 0.524 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.1494, allocations: 71.97 kB / 0.524 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002091/0.1496, allocations: 93.92 kB / 0.5241 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/0.1527, allocations: 1.596 MB / 0.5257 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007746/0.1605, allocations: 5.67 MB / 0.5312 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.163, allocations: 1.203 MB / 0.5324 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.1648, allocations: 1.042 MB / 0.5334 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.1649, allocations: 85.67 kB / 0.5335 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002704/0.1676, allocations: 1.694 MB / 0.5352 GB, free: 5.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=157): time 2.695e-06/0.1676, allocations: 0 / 0.5352 GB, free: 5.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=157): time 0.008137/0.1758, allocations: 4.805 MB / 0.5398 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007991/0.1766, allocations: 1.158 MB / 0.541 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009505/0.1775, allocations: 0.6742 MB / 0.5416 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.1777, allocations: 113.7 kB / 0.5417 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.1781, allocations: 429.8 kB / 0.5422 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.1786, allocations: 405.2 kB / 0.5425 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006119/0.1792, allocations: 432.1 kB / 0.543 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1793, allocations: 337.9 kB / 0.5433 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.1808, allocations: 0.7655 MB / 0.544 GB, free: 12.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.1828, allocations: 1.468 MB / 0.5455 GB, free: 10.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006061/0.1888, allocations: 4.808 MB / 0.5502 GB, free: 5.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.162e-05/0.1889, allocations: 11.94 kB / 0.5502 GB, free: 5.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005576/0.1944, allocations: 3.454 MB / 0.5535 GB, free: 1.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006055/0.195, allocations: 0.7256 MB / 0.5542 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.244e-05/0.1951, allocations: 24 kB / 0.5543 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.779e-05/0.1951, allocations: 32 kB / 0.5543 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.1958, allocations: 223.4 kB / 0.5545 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.734e-05/0.1959, allocations: 43.86 kB / 0.5546 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.1969, allocations: 246.6 kB / 0.5548 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.1971, allocations: 104 kB / 0.5549 GB, free: 15.88 MB / 430.1 MB Warning: Assuming fixed start value for the following 49 variables: P2.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer T1.fireOut:DISCRETE(fixed = true ) \"Does the transition Output fire?\" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer T1.firingTimeOut:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real T1.firingTimeIn:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 260 (T1.r128,$PRE.T1.r128,T1.state128[4],$PRE.T1.state128[4],T1.state128[3],$PRE.T1.state128[3],T1.state128[2],$PRE.T1.state128[2],T1.state128[1],$PRE.T1.state128[1],T1.putDuration,$PRE.T1.putDuration,$PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition15,$PRE.P2.reStart,$whenCondition12,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition10,$whenCondition11,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition13,$whenCondition14,$PRE.T1.fireOut,$whenCondition5,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.tokenChange.vec[1],$PRE.P1.tokeninout,P2.firingSumOut.firingSum,P1.firingSumIn.firingSum,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,$whenCondition2,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P2.reStart,P1.reStart,P2.enableIn.disTransition[1],$PRE.T1.firingTimeOut,$PRE.T1.firingTimeIn,$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],T1.activationOut.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activationIn.normalArc[1],T1.activationIn.testValueInt[1],T1.activationIn.arcType[1],T1.activationIn.disPlaceIn[1],T1.activationOut.active,T1.activationOut.maxTokensInt[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.tIntOut[1],T1.activationIn.active,T1.activationIn.minTokensInt[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.tIntIn[1],T1.prefire,T1.durationPassedOut,$PRE.T1.durationPassedOut,T1.durationPassedIn,$PRE.T1.durationPassedIn,T1.firingTimeOut,T1.firingTimeIn,T1.fire,$PRE.T1.fire,T1.fireOut,T1.activeOut,T1.activeIn,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.t,$PRE.P2.t,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,P2.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 237 * Array equations: 1 * Algorithm blocks: 23 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002124/0.1993, allocations: 1.442 MB / 0.5563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/0.1996, allocations: 147.4 kB / 0.5564 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006557/0.2062, allocations: 3.714 MB / 0.5601 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.281e-05/0.2062, allocations: 8 kB / 0.5601 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/0.2063, allocations: 0 / 0.5601 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.2063, allocations: 3.984 kB / 0.5601 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.2163, allocations: 5.51 MB / 0.5655 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.2163, allocations: 0 / 0.5655 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.2166, allocations: 47.92 kB / 0.5655 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.2166, allocations: 7.984 kB / 0.5655 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/0.2168, allocations: 83.94 kB / 0.5656 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.2168, allocations: 4 kB / 0.5656 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2168, allocations: 0 / 0.5656 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/0.2244, allocations: 4.422 MB / 0.5699 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.2247, allocations: 180.1 kB / 0.5701 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005062/0.2252, allocations: 160 kB / 0.5702 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000884/0.2261, allocations: 127.9 kB / 0.5704 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007699/0.2269, allocations: 416.1 kB / 0.5708 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002519/0.2271, allocations: 95.94 kB / 0.5708 GB, free: 15.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005891/0.2277, allocations: 386.8 kB / 0.5712 GB, free: 14.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2277, allocations: 0 / 0.5712 GB, free: 14.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002339/0.2301, allocations: 0.6125 MB / 0.5718 GB, free: 14.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 144 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,T1.activeIn,T1.activeOut,$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P2.t,P2.tokeninout,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T1.putDuration,T1.fireOut,T1.fire,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.firingTimeIn,T1.firingTimeOut,T1.fireTime,T1.durationPassedIn,T1.durationPassedOut,T1.ani,T1.prefire,T1.activationIn.tIntIn[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.minTokensInt[1],T1.activationIn.active,T1.activationOut.tIntOut[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.maxTokensInt[1],T1.activationOut.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue) * Number of discrete states: 111 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,T1.fire,P2.t,P1.t,P1.activeOut[1],T1.putDuration,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition5,T1.fireOut,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activationOut.active,T1.durationPassedOut,T1.activationIn.active,T1.durationPassedIn,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition3,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableOut.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 18 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009392/0.2395, allocations: 5.462 MB / 0.5771 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006488/0.246, allocations: 3.827 MB / 0.5809 GB, free: 4.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/0.246, allocations: 4 kB / 0.5809 GB, free: 4.344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004186/0.2501, allocations: 2.5 MB / 0.5833 GB, free: 1.621 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.2514, allocations: 223.3 kB / 0.5835 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2484/0.4998, allocations: 14.24 MB / 0.5974 GB, free: 75.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.5006, allocations: 1.146 MB / 0.5986 GB, free: 75.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006483/0.5012, allocations: 260.5 kB / 0.5988 GB, free: 75.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.5016, allocations: 375.9 kB / 0.5992 GB, free: 74.78 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5016, allocations: 0 / 0.5992 GB, free: 74.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04859/0.5502, allocations: 32.24 MB / 0.6307 GB, free: 48.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.96, allocations: 12.58 kB / 0.6307 GB, free: 48.37 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PNlib_PNlib.Examples.ExtTest.TFDStest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TFDStest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TFDStest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TFDStest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TFDStest_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TFDStest_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TFDStest.fmu > PNlib_PNlib.Examples.ExtTest.TFDStest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.881425323954318] Failed to read output from testmodel.py, exit status != 0: 11.13561962795211 11.153282309 11.012389199 Calling exit ...