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.001183/0.001183, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001294/0.001295, allocations: 168.7 kB / 15.95 MB, free: 204 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.446/1.446, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2072/0.2072, allocations: 16.87 MB / 308 MB, free: 15.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003182, allocations: 8 kB / 373.1 MB, free: 3.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3215, allocations: 54.51 MB / 427.6 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TFDStest): time 0.002555/0.3241, allocations: 2.148 MB / 429.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006058/0.3302, allocations: 4.162 MB / 433.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/0.3307, allocations: 9.75 kB / 433.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.3311, allocations: 139.2 kB / 434 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.3316, allocations: 148.8 kB / 434.2 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.3341, allocations: 1.139 MB / 435.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.3357, allocations: 2.032 MB / 437.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.3361, allocations: 240.3 kB / 437.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008308/0.3369, allocations: 0.7757 MB / 438.4 MB, free: 34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.3374, allocations: 0.5487 MB / 438.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.3376, allocations: 59.75 kB / 439 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.3385, allocations: 0.6869 MB / 439.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.3387, allocations: 220.9 kB / 439.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.339, allocations: 302 kB / 440.2 MB, free: 33.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.3401, allocations: 1.464 MB / 441.6 MB, free: 33.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3401, allocations: 4 kB / 441.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3401, allocations: 0 / 441.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.3402, allocations: 0 / 441.6 MB, free: 33.07 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.001799/0.342, allocations: 2.005 MB / 443.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.342, allocations: 10.03 kB / 443.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002225/0.3422, allocations: 214 kB / 443.9 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004546/0.3427, allocations: 178.6 kB / 444 MB, free: 31.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00075/0.3435, allocations: 0.6546 MB / 444.7 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.3436, allocations: 155.1 kB / 444.8 MB, free: 30.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.3438, allocations: 151.2 kB / 445 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003112/0.3469, allocations: 2.425 MB / 447.4 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.347, allocations: 0 / 447.4 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.3471, allocations: 74.34 kB / 447.5 MB, free: 29.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/0.3473, allocations: 99.16 kB / 447.6 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.3495, allocations: 1.64 MB / 449.2 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005003/0.3545, allocations: 5.666 MB / 454.9 MB, free: 24.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.3569, allocations: 2.763 MB / 457.6 MB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/0.3589, allocations: 2.595 MB / 460.2 MB, free: 21.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-05/0.359, allocations: 93.31 kB / 460.3 MB, free: 21.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002101/0.3611, allocations: 1.722 MB / 462.1 MB, free: 20.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=157): time 2.695e-06/0.3611, allocations: 4 kB / 462.1 MB, free: 20.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=157): time 0.006809/0.3679, allocations: 4.889 MB / 466.9 MB, free: 18.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004296/0.3684, allocations: 1.153 MB / 468.1 MB, free: 17.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/0.3692, allocations: 0.6661 MB / 468.8 MB, free: 17.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001673/0.3694, allocations: 116.4 kB / 468.9 MB, free: 17.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.3697, allocations: 409.4 kB / 469.3 MB, free: 16.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.37, allocations: 385.6 kB / 469.7 MB, free: 16.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.3701, allocations: 49.73 kB / 469.7 MB, free: 16.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3702, allocations: 436.4 kB / 470.1 MB, free: 16.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.3714, allocations: 0.7601 MB / 470.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.373, allocations: 1.465 MB / 472.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.3745, allocations: 1.565 MB / 473.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/0.3745, allocations: 9.938 kB / 473.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004459/0.379, allocations: 3.426 MB / 477.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003041/0.3793, allocations: 0.7191 MB / 478.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.722e-05/0.3794, allocations: 19.88 kB / 478.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.91e-05/0.3794, allocations: 35 kB / 478.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.3801, allocations: 229.4 kB / 478.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.125e-05/0.3802, allocations: 44.7 kB / 478.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009924/0.3812, allocations: 247.7 kB / 478.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.3813, allocations: 106 kB / 478.7 MB, free: 10.84 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.001724/0.3831, allocations: 1.429 MB / 480.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.3833, allocations: 143.1 kB / 480.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005674/0.389, allocations: 3.772 MB / 484.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.974e-05/0.3891, allocations: 13.56 kB / 484.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3891, allocations: 1.375 kB / 484.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.3891, allocations: 4.938 kB / 484.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007947/0.3971, allocations: 5.582 MB / 489.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.3971, allocations: 0 / 489.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.3973, allocations: 43.91 kB / 489.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.3973, allocations: 4 kB / 489.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/0.3975, allocations: 83.95 kB / 489.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.3975, allocations: 8 kB / 489.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3975, allocations: 0 / 489.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005258/0.4028, allocations: 4.459 MB / 494.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.4031, allocations: 183.7 kB / 494.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004152/0.4035, allocations: 159.9 kB / 494.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/0.4042, allocations: 123.9 kB / 494.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/0.4049, allocations: 436 kB / 495.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/0.4051, allocations: 91.95 kB / 495.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004611/0.4056, allocations: 390.8 kB / 495.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4056, allocations: 0 / 495.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002062/0.4077, allocations: 0.6088 MB / 496.2 MB, free: 13.91 MB / 366.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.007491/0.4152, allocations: 5.496 MB / 0.49 GB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005496/0.4207, allocations: 4.084 MB / 0.494 GB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.4208, allocations: 0 / 0.494 GB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005573/0.4263, allocations: 6.031 MB / 0.4999 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4275, allocations: 204.2 kB / 0.5001 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.4435, allocations: 9.116 MB / 0.509 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/0.4443, allocations: 1.154 MB / 0.5101 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006992/0.445, allocations: 256.7 kB / 0.5103 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.4454, allocations: 375.3 kB / 0.5107 GB, free: 1.984 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4455, allocations: 4 kB / 0.5107 GB, free: 1.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05224/0.4977, allocations: 31.16 MB / 0.5411 GB, free: 2.84 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.498, allocations: 200.1 kB / 0.5413 GB, free: 2.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.053, allocations: 7.922 kB / 0.5413 GB, free: 2.586 MB / 414.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