Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TFDtest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TFDtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TFDtest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TFDtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TFDtest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005784/0.005784, allocations: 97.34 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 192.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2035/0.2035, allocations: 16.75 MB / 307.3 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 64.81 kB / 425.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1207, allocations: 53.48 MB / 479.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TFDtest): time 0.004074/0.1248, allocations: 2.483 MB / 481.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005541/0.1304, allocations: 2.507 MB / 484.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007555/0.1312, allocations: 17.91 kB / 484.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.1318, allocations: 174.9 kB / 484.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006389/0.1324, allocations: 197.5 kB / 484.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.1357, allocations: 1.265 MB / 486 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.1392, allocations: 2.648 MB / 488.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004572/0.1397, allocations: 283.9 kB / 488.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.1409, allocations: 0.9624 MB / 489.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008865/0.1418, allocations: 0.6105 MB / 490.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.1421, allocations: 160 kB / 490.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.1436, allocations: 0.831 MB / 491.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.1439, allocations: 255.1 kB / 491.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007672/0.1447, allocations: 0.6924 MB / 492.4 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.1477, allocations: 2.04 MB / 494.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1477, allocations: 3.938 kB / 494.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1477, allocations: 4 kB / 494.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.1478, allocations: 3.938 kB / 494.5 MB, free: 14.03 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003073/0.1508, allocations: 2.146 MB / 496.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1509, allocations: 11.89 kB / 496.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002676/0.1512, allocations: 197.8 kB / 496.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005385/0.1517, allocations: 176.2 kB / 497 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/0.1527, allocations: 0.6194 MB / 497.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.1529, allocations: 157.4 kB / 497.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.1531, allocations: 144 kB / 497.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/0.1569, allocations: 2.332 MB / 0.4885 GB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.157, allocations: 7.938 kB / 0.4885 GB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.1572, allocations: 71.97 kB / 0.4886 GB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/0.1573, allocations: 93.92 kB / 0.4887 GB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/0.1602, allocations: 1.585 MB / 0.4902 GB, free: 6.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007791/0.168, allocations: 5.532 MB / 0.4956 GB, free: 436 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.1715, allocations: 2.696 MB / 0.4983 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/0.1746, allocations: 2.53 MB / 0.5007 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.1747, allocations: 85.67 kB / 0.5008 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00274/0.1775, allocations: 1.611 MB / 0.5024 GB, free: 9.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 3.176e-06/0.1775, allocations: 0 / 0.5024 GB, free: 9.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.007661/0.1852, allocations: 4.617 MB / 0.5069 GB, free: 4.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007887/0.186, allocations: 1.05 MB / 0.5079 GB, free: 3.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009196/0.1869, allocations: 0.6148 MB / 0.5085 GB, free: 2.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.1871, allocations: 101.7 kB / 0.5086 GB, free: 2.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.1875, allocations: 409.7 kB / 0.509 GB, free: 2.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.188, allocations: 381.3 kB / 0.5094 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005987/0.1886, allocations: 407.8 kB / 0.5098 GB, free: 1.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1888, allocations: 334 kB / 0.5101 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.1901, allocations: 0.7185 MB / 0.5108 GB, free: 464 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.192, allocations: 1.408 MB / 0.5122 GB, free: 14.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006212/0.1983, allocations: 4.515 MB / 0.5166 GB, free: 9.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.134e-05/0.1984, allocations: 4 kB / 0.5166 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005611/0.204, allocations: 3.223 MB / 0.5197 GB, free: 6.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005053/0.2046, allocations: 0.6331 MB / 0.5203 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.182e-05/0.2046, allocations: 20 kB / 0.5203 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.497e-05/0.2047, allocations: 32 kB / 0.5204 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/0.2054, allocations: 227.4 kB / 0.5206 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.036e-05/0.2055, allocations: 43.86 kB / 0.5206 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.2065, allocations: 226.6 kB / 0.5209 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.2067, allocations: 104 kB / 0.521 GB, free: 4.844 MB / 398.1 MB Warning: Assuming fixed start value for the following 48 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 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: 243 ($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,$whenCondition14,$PRE.P2.reStart,$whenCondition11,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition9,$whenCondition10,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition12,$whenCondition13,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.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,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,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 (251): * Single equations (assignments): 230 * Array equations: 1 * Algorithm blocks: 20 * 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.002076/0.2088, allocations: 1.335 MB / 0.5223 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.2092, allocations: 147.3 kB / 0.5224 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005848/0.215, allocations: 3.514 MB / 0.5258 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.2151, allocations: 8 kB / 0.5258 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.2151, allocations: 8 kB / 0.5258 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.2151, allocations: 3.984 kB / 0.5258 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008422/0.2236, allocations: 5.242 MB / 0.531 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.2236, allocations: 7.938 kB / 0.531 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.2238, allocations: 51.91 kB / 0.531 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.2238, allocations: 4 kB / 0.531 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/0.224, allocations: 71.95 kB / 0.5311 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/0.2241, allocations: 7.938 kB / 0.5311 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2241, allocations: 0 / 0.5311 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006836/0.2309, allocations: 4.211 MB / 0.5352 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.2312, allocations: 168.3 kB / 0.5354 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003979/0.2316, allocations: 144 kB / 0.5355 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007697/0.2324, allocations: 127.9 kB / 0.5356 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007161/0.2331, allocations: 400.2 kB / 0.536 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.2333, allocations: 91.94 kB / 0.5361 GB, free: 4.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004632/0.2338, allocations: 362.8 kB / 0.5365 GB, free: 4.516 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.2338, allocations: 0 / 0.5365 GB, free: 4.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001815/0.2357, allocations: 0.589 MB / 0.537 GB, free: 3.926 MB / 414.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: 134 ($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,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,P1.t,P1.outTransition[1].tokenInOut,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.fire,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) * Number of discrete states: 101 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,T1.fire,P2.t,P1.t,P1.activeOut[1],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 (71): * Single equations (assignments): 47 * Array equations: 1 * Algorithm blocks: 16 * 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.008089/0.2438, allocations: 5.2 MB / 0.5421 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005507/0.2493, allocations: 3.758 MB / 0.5458 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.2493, allocations: 0 / 0.5458 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006285/0.2556, allocations: 5.791 MB / 0.5514 GB, free: 4.605 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.2568, allocations: 206.2 kB / 0.5516 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/0.2834, allocations: 13.34 MB / 0.5647 GB, free: 6.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.2851, allocations: 1.118 MB / 0.5657 GB, free: 5.051 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001168/0.2863, allocations: 251.9 kB / 0.566 GB, free: 4.801 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007879/0.2871, allocations: 347.3 kB / 0.5663 GB, free: 4.465 MB / 446.1 MB Notification: Performance of SimCode: time 1.442e-06/0.2871, allocations: 0 / 0.5663 GB, free: 4.465 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3159/0.603, allocations: 30.24 MB / 0.5958 GB, free: 108.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.831/10.43, allocations: 2.156 kB / 0.5958 GB, free: 108.9 MB / 462.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TFDtest.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TFDtest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TFDtest.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TFDtest.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TFDtest_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_DisTest_TFDtest.fmu > PNlib_PNlib.Examples.DisTest.TFDtest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TFDtest_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TFDtest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TFDtest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches