Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TESTest.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.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",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.001292/0.001292, allocations: 99.86 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.001951/0.001951, 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.373/1.373, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2355/0.2355, allocations: 16.87 MB / 307.8 MB, free: 15.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003551, allocations: 8 kB / 373 MB, free: 3.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3176, allocations: 54.5 MB / 427.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TESTest): time 0.002304/0.3199, allocations: 2.602 MB / 430.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.326, allocations: 4.402 MB / 434.5 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006748/0.3268, allocations: 10.03 kB / 434.5 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.3273, allocations: 181.3 kB / 434.6 MB, free: 35.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006008/0.3279, allocations: 241.5 kB / 434.9 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.3307, allocations: 1.174 MB / 436.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.3327, allocations: 1.397 MB / 437.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.3331, allocations: 324.6 kB / 437.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009551/0.3341, allocations: 0.8222 MB / 438.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/0.3348, allocations: 0.664 MB / 439.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.335, allocations: 81.75 kB / 439.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.336, allocations: 0.6623 MB / 440 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.3362, allocations: 294.8 kB / 440.3 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.3366, allocations: 376.5 kB / 440.7 MB, free: 33.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.3381, allocations: 1.824 MB / 442.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3382, allocations: 0 / 442.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3382, allocations: 3 kB / 442.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.3382, allocations: 0 / 442.5 MB, free: 32.93 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.00221/0.3404, allocations: 2.217 MB / 444.7 MB, free: 31.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3405, allocations: 11.03 kB / 444.7 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003358/0.3408, allocations: 262.2 kB / 445 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006239/0.3414, allocations: 222.4 kB / 445.2 MB, free: 30.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.3425, allocations: 0.7898 MB / 446 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.3427, allocations: 217.7 kB / 446.2 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.3429, allocations: 191.1 kB / 446.4 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.3468, allocations: 3.248 MB / 449.6 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.3469, allocations: 7.125 kB / 449.6 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.3471, allocations: 99.23 kB / 449.7 MB, free: 28.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002169/0.3473, allocations: 146.3 kB / 449.9 MB, free: 28.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.3507, allocations: 2.262 MB / 452.1 MB, free: 27.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00956/0.3603, allocations: 7.235 MB / 459.4 MB, free: 22.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/0.3643, allocations: 3.778 MB / 463.1 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.3645, allocations: 91.41 kB / 463.2 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005093/0.3696, allocations: 2.222 MB / 465.5 MB, free: 19.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=180): time 9.428e-06/0.3697, allocations: 0 / 465.5 MB, free: 19.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.01127/0.3809, allocations: 7.53 MB / 473 MB, free: 15.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006416/0.3816, allocations: 1.328 MB / 474.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.3831, allocations: 0.8171 MB / 475.1 MB, free: 14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003485/0.3835, allocations: 120.5 kB / 475.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005653/0.3841, allocations: 0.5094 MB / 475.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00062/0.3847, allocations: 462.3 kB / 476.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.3849, allocations: 53.88 kB / 476.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.3852, allocations: 452.7 kB / 476.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.387, allocations: 0.9205 MB / 477.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.3893, allocations: 1.75 MB / 479.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.3918, allocations: 1.769 MB / 481.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.519e-05/0.3919, allocations: 7.859 kB / 481.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.006944/0.3989, allocations: 3.98 MB / 485.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003871/0.3993, allocations: 0.7606 MB / 485.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.271e-05/0.3994, allocations: 27.5 kB / 485.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.415e-05/0.3995, allocations: 39.88 kB / 486 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009657/0.4005, allocations: 275.8 kB / 486.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.642e-05/0.4006, allocations: 53.7 kB / 486.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.4021, allocations: 301.5 kB / 486.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003552/0.4024, allocations: 129.4 kB / 486.7 MB, free: 6.648 MB / 350.1 MB Warning: Assuming fixed start value for the following 50 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.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.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 T1.TimeOver:DISCRETE(fixed = true ) type: Boolean T2.firingTime: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: 109 * Number of states: 0 () * Number of discrete variables: 286 ($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.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$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.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.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,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.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,$PRE.P1.tokeninout,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,$whenCondition5,$PRE.T2.eventIndex,T2.eventIndex,P2.firingSumOut.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,$whenCondition1,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,T1.firingCon,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P2.reStart,P1.reStart,P2.enableIn.disTransition[1],P1.enableIn.disTransition[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition6,$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.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,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,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P2.t,P2.t,P2.enabledByInPlaces[1],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,T2.active,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,$PRE.T1.putFireTime,T1.putFireTime,$PRE.T1.putEvent,T1.putEvent,$PRE.T1.TimeOver,T1.TimeOver,T1.active,$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.T1.eventPassed,T1.eventPassed,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.activation.disPlaceOut[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T2.enabledByInPlaces,P2.inTransition[1].emptied,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 276 * Array equations: 2 * Algorithm blocks: 24 * 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.00308/0.4055, allocations: 1.618 MB / 488.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007015/0.4062, allocations: 172.1 kB / 488.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007348/0.4136, allocations: 5.318 MB / 493.8 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/0.4137, allocations: 12 kB / 493.8 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.4137, allocations: 8 kB / 493.8 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4137, allocations: 3.984 kB / 493.8 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.4263, allocations: 7.523 MB / 0.4896 GB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.4264, allocations: 0 / 0.4896 GB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.4266, allocations: 63.89 kB / 0.4897 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.4267, allocations: 4 kB / 0.4897 GB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/0.4269, allocations: 95.94 kB / 0.4898 GB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.4269, allocations: 7.938 kB / 0.4898 GB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4269, allocations: 0 / 0.4898 GB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008189/0.4351, allocations: 5.798 MB / 0.4954 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.4356, allocations: 199.3 kB / 0.4956 GB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005679/0.4361, allocations: 168 kB / 0.4958 GB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.4372, allocations: 171.9 kB / 0.4959 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000791/0.438, allocations: 484.4 kB / 0.4964 GB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/0.4383, allocations: 115.9 kB / 0.4965 GB, free: 1.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006577/0.439, allocations: 467 kB / 0.497 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.439, allocations: 0 / 0.497 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002769/0.4418, allocations: 0.7217 MB / 0.4977 GB, free: 0 / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 158 ($whenCondition1,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,T2.active,$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,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.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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,P2.t,P2.tokeninout,P2.enabledByInPlaces[1],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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T1.putFireTime,T1.putEvent,T1.TimeOver,T1.active,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.fireTime,T1.eventPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue) * Number of discrete states: 117 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,P2.t,P1.t,P1.activeOut[1],T1.putFireTime,T1.putEvent,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition6,T1.TimeOver,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.eventPassed,T2.eventIndex,$whenCondition5,T2.activation.active,T2.eventPassed,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition3,P1.enableIn.arcWeightSum,P1.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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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],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,$whenCondition1,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 58 * Array equations: 2 * Algorithm blocks: 19 * 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.009918/0.4517, allocations: 6.925 MB / 0.5044 GB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006201/0.458, allocations: 4.857 MB / 0.5092 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.458, allocations: 4.75 kB / 0.5092 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006572/0.4646, allocations: 7.615 MB / 0.5166 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4657, allocations: 181.1 kB / 0.5168 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02698/0.4927, allocations: 27.32 MB / 0.5435 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.4939, allocations: 1.306 MB / 0.5447 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001054/0.495, allocations: 357.7 kB / 0.5451 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007028/0.4957, allocations: 471.3 kB / 0.5455 GB, free: 13.54 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4957, allocations: 0 / 0.5455 GB, free: 13.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06871/0.5644, allocations: 37.74 MB / 0.5824 GB, free: 7.762 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.5647, allocations: 197.4 kB / 0.5826 GB, free: 7.516 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.298, allocations: 3.938 kB / 0.5826 GB, free: 7.512 MB / 462.1 MB (rm -f PNlib_PNlib.Examples.ExtTest.TESTest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TESTest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TESTest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TESTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TESTest_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TESTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TESTest.fmu > PNlib_PNlib.Examples.ExtTest.TESTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ExtTest.TESTest_res.mat does not exist to compare? outputFormat=mat