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 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.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.0008963/0.0008964, allocations: 99.55 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.0009512/0.0009513, allocations: 177.3 kB / 15.94 MB, free: 228 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.289/1.289, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1982/0.1982, allocations: 16.88 MB / 307.8 MB, free: 15.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003595, allocations: 8 kB / 373 MB, free: 3.254 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2662, allocations: 54.51 MB / 427.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TFDtest): time 0.00247/0.2687, allocations: 2.155 MB / 429.6 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004162/0.2729, allocations: 2.498 MB / 432.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005968/0.2735, allocations: 6.781 kB / 432.1 MB, free: 37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.2739, allocations: 139.9 kB / 432.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007108/0.2747, allocations: 194.3 kB / 432.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.2768, allocations: 0.8644 MB / 433.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.278, allocations: 1.189 MB / 434.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.2783, allocations: 238.7 kB / 434.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006217/0.2789, allocations: 0.7015 MB / 435.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.2794, allocations: 0.5059 MB / 435.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.2796, allocations: 62.53 kB / 436 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007991/0.2804, allocations: 0.6008 MB / 436.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.2806, allocations: 205.7 kB / 436.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.2808, allocations: 291 kB / 437.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.2819, allocations: 1.408 MB / 438.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.2819, allocations: 3.938 kB / 438.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2819, allocations: 0 / 438.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.282, allocations: 0 / 438.5 MB, free: 34.79 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.001703/0.2837, allocations: 1.849 MB / 440.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2837, allocations: 9 kB / 440.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000218/0.2839, allocations: 202.7 kB / 440.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.2844, allocations: 163.9 kB / 440.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008265/0.2852, allocations: 0.6282 MB / 441.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.2853, allocations: 160.8 kB / 441.5 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.2855, allocations: 144.8 kB / 441.6 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.2883, allocations: 2.359 MB / 444 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.2883, allocations: 6.5 kB / 444 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.2885, allocations: 72.5 kB / 444.1 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.2886, allocations: 93.5 kB / 444.2 MB, free: 31.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.2907, allocations: 1.611 MB / 445.8 MB, free: 30.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005117/0.2958, allocations: 5.539 MB / 451.3 MB, free: 27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.2982, allocations: 2.736 MB / 454.1 MB, free: 25.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.2983, allocations: 93.41 kB / 454.2 MB, free: 25.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001937/0.3002, allocations: 1.633 MB / 455.8 MB, free: 24.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=147): time 2.765e-06/0.3003, allocations: 0 / 455.8 MB, free: 24.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.006462/0.3067, allocations: 5.379 MB / 461.2 MB, free: 21.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004128/0.3072, allocations: 1.045 MB / 462.2 MB, free: 20.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.308, allocations: 0.6078 MB / 462.8 MB, free: 20.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.3082, allocations: 113.9 kB / 462.9 MB, free: 20.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.3086, allocations: 394.8 kB / 463.3 MB, free: 20.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.309, allocations: 365.7 kB / 463.7 MB, free: 19.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.3091, allocations: 40.77 kB / 463.7 MB, free: 19.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.3093, allocations: 421.9 kB / 464.1 MB, free: 19.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.3106, allocations: 0.7145 MB / 464.8 MB, free: 19.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.3122, allocations: 1.395 MB / 466.2 MB, free: 18.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.3138, allocations: 1.421 MB / 467.7 MB, free: 17.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/0.3139, allocations: 6.156 kB / 467.7 MB, free: 17.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004392/0.3183, allocations: 3.194 MB / 470.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002694/0.3186, allocations: 0.6278 MB / 471.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/0.3186, allocations: 20.72 kB / 471.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.499e-05/0.3187, allocations: 39.17 kB / 471.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.3193, allocations: 223.7 kB / 471.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-05/0.3194, allocations: 43.33 kB / 471.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3205, allocations: 232.2 kB / 472 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.3206, allocations: 104.8 kB / 472.1 MB, free: 14.54 MB / 350.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.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 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,$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,$whenCondition14,$PRE.P1.reStart,$whenCondition11,$PRE.P2.reStart,P1.outTransition[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition10,$whenCondition9,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$whenCondition13,$whenCondition12,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,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],$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$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,$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 (251): * Single equations (assignments): 230 * Array equations: 1 * Algorithm blocks: 20 * 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.001899/0.3225, allocations: 1.337 MB / 473.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.3229, allocations: 136.9 kB / 473.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/0.3279, allocations: 3.572 MB / 477.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.331e-05/0.328, allocations: 14.05 kB / 477.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.328, allocations: 5.125 kB / 477.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.328, allocations: 4.391 kB / 477.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007754/0.3358, allocations: 5.324 MB / 482.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3358, allocations: 1.156 kB / 482.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.336, allocations: 47.59 kB / 482.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.336, allocations: 3.281 kB / 482.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.3362, allocations: 76.77 kB / 482.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3363, allocations: 7.219 kB / 482.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3363, allocations: 5.375 kB / 482.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.3417, allocations: 4.286 MB / 486.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.3419, allocations: 163.8 kB / 487.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/0.3422, allocations: 144 kB / 487.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006913/0.3429, allocations: 119.9 kB / 487.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000561/0.3434, allocations: 430.2 kB / 487.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.3436, allocations: 93.28 kB / 487.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003744/0.344, allocations: 346.8 kB / 488.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.344, allocations: 0 / 488.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001865/0.3459, allocations: 0.5853 MB / 488.8 MB, free: 5.246 MB / 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: 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 (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.006112/0.352, allocations: 5.43 MB / 494.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004969/0.357, allocations: 3.777 MB / 498 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.357, allocations: 0.75 kB / 498 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004812/0.3618, allocations: 5.831 MB / 0.492 GB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.3626, allocations: 132.1 kB / 0.4922 GB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.3815, allocations: 22.28 MB / 0.5139 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.3823, allocations: 1.134 MB / 0.515 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007002/0.383, allocations: 260.2 kB / 0.5153 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.3834, allocations: 351.3 kB / 0.5156 GB, free: 12.84 MB / 398.1 MB Notification: Performance of SimCode: time 3.186e-06/0.3834, allocations: 0 / 0.5156 GB, free: 12.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04778/0.4312, allocations: 29.42 MB / 0.5443 GB, free: 15.43 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.4314, allocations: 187.9 kB / 0.5445 GB, free: 15.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.027, allocations: 3.938 kB / 0.5445 GB, free: 15.18 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TFDtest_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TFDtest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TFDtest.fmu > PNlib_PNlib.Examples.DisTest.TFDtest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.TFDtest_res.mat does not exist to compare? outputFormat=mat