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.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 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.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.ExtTest.TFDStest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TFDStest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TFDStest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TFDStest",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.001232/0.001232, allocations: 100 kB / 15.05 MB, free: 1.105 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.00139/0.00139, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2139/0.2139, allocations: 16.87 MB / 307.8 MB, free: 15.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 11.98 kB / 373 MB, free: 3.242 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3494, allocations: 54.51 MB / 427.5 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TFDStest): time 0.002487/0.3519, allocations: 2.207 MB / 429.7 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006017/0.3579, allocations: 4.192 MB / 433.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005812/0.3585, allocations: 9.969 kB / 433.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.359, allocations: 143.3 kB / 434 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.3595, allocations: 200.8 kB / 434.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.3622, allocations: 1.119 MB / 435.3 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.3642, allocations: 1.241 MB / 436.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.3646, allocations: 246.8 kB / 436.8 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.3659, allocations: 0.7365 MB / 437.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008201/0.3668, allocations: 0.5314 MB / 438.1 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.3669, allocations: 62 kB / 438.1 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.3682, allocations: 0.6257 MB / 438.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.3684, allocations: 221.6 kB / 439 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.3688, allocations: 298 kB / 439.3 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.3702, allocations: 1.466 MB / 440.7 MB, free: 33.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3703, allocations: 0 / 440.7 MB, free: 33.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3703, allocations: 6.562 kB / 440.7 MB, free: 33.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.3703, allocations: 0 / 440.7 MB, free: 33.54 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.002745/0.373, allocations: 2.006 MB / 442.8 MB, free: 31.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3731, allocations: 8.5 kB / 442.8 MB, free: 31.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002499/0.3734, allocations: 210.2 kB / 443 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005165/0.3739, allocations: 176.6 kB / 443.1 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008925/0.3748, allocations: 0.657 MB / 443.8 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.3749, allocations: 155 kB / 443.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.3751, allocations: 150.7 kB / 444.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.3783, allocations: 2.417 MB / 446.5 MB, free: 30.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.3784, allocations: 3.938 kB / 446.5 MB, free: 30.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.3785, allocations: 69.09 kB / 446.6 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/0.3787, allocations: 102.4 kB / 446.7 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.3809, allocations: 1.636 MB / 448.3 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005293/0.3862, allocations: 5.668 MB / 454 MB, free: 25.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.3886, allocations: 2.773 MB / 456.8 MB, free: 23.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.346e-05/0.3887, allocations: 83.73 kB / 456.8 MB, free: 23.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/0.3906, allocations: 1.721 MB / 458.6 MB, free: 22.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=157): time 3.036e-06/0.3907, allocations: 0 / 458.6 MB, free: 22.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=157): time 0.006683/0.3974, allocations: 5.722 MB / 464.3 MB, free: 19.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004262/0.3978, allocations: 1.158 MB / 465.4 MB, free: 18.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000825/0.3986, allocations: 0.6659 MB / 466.1 MB, free: 18.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.3988, allocations: 112.1 kB / 466.2 MB, free: 18.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.3991, allocations: 416.4 kB / 466.6 MB, free: 17.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.3994, allocations: 395 kB / 467 MB, free: 17.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.3995, allocations: 43.88 kB / 467.1 MB, free: 17.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3997, allocations: 429.2 kB / 467.5 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.4009, allocations: 0.764 MB / 468.2 MB, free: 16.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.4024, allocations: 1.455 MB / 469.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.404, allocations: 1.56 MB / 471.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.4041, allocations: 5.562 kB / 471.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00439/0.4085, allocations: 3.439 MB / 474.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.4088, allocations: 0.7199 MB / 475.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.4088, allocations: 19.5 kB / 475.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.451e-05/0.4089, allocations: 34.97 kB / 475.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/0.4095, allocations: 224.6 kB / 475.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.982e-05/0.4095, allocations: 43.94 kB / 475.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000957/0.4105, allocations: 255.8 kB / 476 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.4107, allocations: 107.2 kB / 476.1 MB, free: 11.93 MB / 350.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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.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 ($PRE.T1.putDuration,T1.putDuration,$PRE.T1.state128[1],T1.state128[1],$PRE.T1.state128[2],T1.state128[2],$PRE.T1.state128[3],T1.state128[3],$PRE.T1.state128[4],T1.state128[4],$PRE.T1.r128,T1.r128,$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,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],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,$PRE.P2.enableIn.remTAin[1],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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition15,$PRE.P1.reStart,$whenCondition12,$PRE.P2.reStart,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition11,$whenCondition10,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition14,$whenCondition13,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$whenCondition5,$PRE.T1.fireOut,$PRE.P1.tokeninout,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,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,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$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,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$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,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,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],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P2.t,P2.t,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,T1.activeIn,T1.activeOut,T1.fireOut,$PRE.T1.fire,T1.fire,$PRE.T1.firingTimeIn,T1.firingTimeIn,$PRE.T1.firingTimeOut,T1.firingTimeOut,$PRE.T1.durationPassedIn,T1.durationPassedIn,$PRE.T1.durationPassedOut,T1.durationPassedOut,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.activationIn.disPlaceIn[1],T1.activationIn.arcType[1],T1.activationIn.testValueInt[1],T1.activationIn.normalArc[1],P1.enableOut.disTransition[1],T1.activationOut.disPlaceOut[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001928/0.4126, allocations: 1.427 MB / 477.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.413, allocations: 146.8 kB / 477.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005866/0.4188, allocations: 3.767 MB / 481.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/0.4189, allocations: 10.27 kB / 481.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.4189, allocations: 5.031 kB / 481.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4189, allocations: 4.453 kB / 481.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008872/0.4278, allocations: 5.576 MB / 487 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4279, allocations: 0 / 487 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.4281, allocations: 45.42 kB / 487.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.4281, allocations: 3.188 kB / 487.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/0.4283, allocations: 86.41 kB / 487.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.4283, allocations: 7.125 kB / 487.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4283, allocations: 5.625 kB / 487.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005361/0.4337, allocations: 4.481 MB / 491.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.4339, allocations: 183.6 kB / 491.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/0.4343, allocations: 156 kB / 492 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007378/0.435, allocations: 135.9 kB / 492.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005924/0.4356, allocations: 432 kB / 492.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.4358, allocations: 87.95 kB / 492.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003942/0.4362, allocations: 398.8 kB / 493 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4362, allocations: 0 / 493 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001878/0.4381, allocations: 0.601 MB / 493.6 MB, free: 296 kB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007071/0.4452, allocations: 5.654 MB / 499.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005196/0.4504, allocations: 4.083 MB / 0.4916 GB, free: 6.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4504, allocations: 384 / 0.4916 GB, free: 6.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005272/0.4557, allocations: 6.019 MB / 0.4974 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008299/0.4566, allocations: 149.3 kB / 0.4976 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.4748, allocations: 22.91 MB / 0.5199 GB, free: 8.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/0.4756, allocations: 1.174 MB / 0.5211 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006687/0.4763, allocations: 259.8 kB / 0.5213 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.4767, allocations: 371.3 kB / 0.5217 GB, free: 6.32 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4767, allocations: 0 / 0.5217 GB, free: 6.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0509/0.5276, allocations: 31.13 MB / 0.5521 GB, free: 7.203 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.5278, allocations: 198.9 kB / 0.5523 GB, free: 6.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.024, allocations: 0 / 0.5523 GB, free: 6.957 MB / 430.1 MB (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/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TFDStest_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TFDStest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TFDStest.fmu > PNlib_PNlib.Examples.ExtTest.TFDStest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ExtTest.TFDStest_res.mat does not exist to compare? outputFormat=mat