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.0008454/0.0008455, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001012/0.001012, 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.378/1.378, 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.2247/0.2247, allocations: 16.88 MB / 307.9 MB, free: 15.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 8 kB / 373.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3151, allocations: 54.51 MB / 427.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TESTest): time 0.002468/0.3176, allocations: 2.524 MB / 430.1 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00622/0.3238, allocations: 4.368 MB / 434.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006943/0.3246, allocations: 13.69 kB / 434.5 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.3251, allocations: 172.6 kB / 434.6 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004778/0.3256, allocations: 189.5 kB / 434.8 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.3285, allocations: 1.191 MB / 436 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002325/0.3309, allocations: 2.259 MB / 438.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.3314, allocations: 320.3 kB / 438.6 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.3326, allocations: 0.8806 MB / 439.5 MB, free: 33.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008017/0.3334, allocations: 0.6762 MB / 440.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.3336, allocations: 84.5 kB / 440.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.3348, allocations: 0.7346 MB / 441 MB, free: 33.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.3351, allocations: 281.4 kB / 441.2 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.3356, allocations: 377.2 kB / 441.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.3375, allocations: 1.818 MB / 443.4 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3375, allocations: 0 / 443.4 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3375, allocations: 0 / 443.4 MB, free: 32.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.368e-05/0.3375, allocations: 0 / 443.4 MB, free: 32.54 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.002683/0.3402, allocations: 2.233 MB / 445.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3403, allocations: 9.938 kB / 445.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003204/0.3406, allocations: 259.5 kB / 445.9 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006265/0.3412, allocations: 221.8 kB / 446.1 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009887/0.3422, allocations: 0.791 MB / 446.9 MB, free: 30.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.3424, allocations: 216.5 kB / 447.1 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.3426, allocations: 197.1 kB / 447.3 MB, free: 29.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004442/0.3471, allocations: 3.26 MB / 450.6 MB, free: 28.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.3472, allocations: 6.938 kB / 450.6 MB, free: 28.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.3474, allocations: 90.78 kB / 450.7 MB, free: 28.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003024/0.3477, allocations: 148.7 kB / 450.8 MB, free: 28.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.3513, allocations: 2.269 MB / 453.1 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008544/0.3598, allocations: 7.225 MB / 460.3 MB, free: 22.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004445/0.3643, allocations: 3.777 MB / 464.1 MB, free: 20.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003856/0.3682, allocations: 3.599 MB / 467.7 MB, free: 18.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.3684, allocations: 88.66 kB / 467.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003699/0.3721, allocations: 2.225 MB / 470 MB, free: 17.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=180): time 3.887e-06/0.3721, allocations: 0 / 470 MB, free: 17.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.01071/0.3828, allocations: 6.517 MB / 476.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006835/0.3835, allocations: 1.328 MB / 477.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.3849, allocations: 0.819 MB / 478.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.3851, allocations: 125.6 kB / 478.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.3855, allocations: 0.5091 MB / 479.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.3859, allocations: 463.1 kB / 479.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3861, allocations: 52.33 kB / 479.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.3863, allocations: 457.2 kB / 480.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.3879, allocations: 0.9166 MB / 481.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.39, allocations: 1.763 MB / 482.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.392, allocations: 1.772 MB / 484.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.984e-05/0.392, allocations: 7.656 kB / 484.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.005474/0.3975, allocations: 3.972 MB / 488.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002902/0.3978, allocations: 0.7585 MB / 489.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/0.3979, allocations: 24 kB / 489.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.459e-05/0.3979, allocations: 40 kB / 489.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.3987, allocations: 280 kB / 489.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.024e-05/0.3987, allocations: 59.78 kB / 489.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.4001, allocations: 289.6 kB / 490.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.4003, allocations: 128 kB / 490.3 MB, free: 4.176 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.002181/0.4024, allocations: 1.623 MB / 491.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.4028, allocations: 182.6 kB / 492.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007203/0.41, allocations: 5.313 MB / 497.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/0.41, allocations: 12 kB / 497.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.4101, allocations: 3.984 kB / 497.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.4101, allocations: 3.984 kB / 497.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.4208, allocations: 7.523 MB / 0.4931 GB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.4209, allocations: 0 / 0.4931 GB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.4212, allocations: 67.89 kB / 0.4931 GB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.4212, allocations: 4 kB / 0.4931 GB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/0.4214, allocations: 99.94 kB / 0.4932 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.4214, allocations: 7.938 kB / 0.4932 GB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4214, allocations: 3.984 kB / 0.4933 GB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008328/0.4298, allocations: 5.788 MB / 0.4989 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.4302, allocations: 199.3 kB / 0.4991 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005028/0.4307, allocations: 175.9 kB / 0.4993 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000933/0.4316, allocations: 163.9 kB / 0.4994 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007898/0.4324, allocations: 476.5 kB / 0.4999 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/0.4326, allocations: 115.9 kB / 0.5 GB, free: 13.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005646/0.4332, allocations: 471 kB / 0.5004 GB, free: 13.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4332, allocations: 0 / 0.5004 GB, free: 13.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002386/0.4356, allocations: 0.71 MB / 0.5011 GB, free: 12.73 MB / 382.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.00926/0.4449, allocations: 6.86 MB / 0.5078 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006268/0.4512, allocations: 4.853 MB / 0.5126 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.4512, allocations: 3.938 kB / 0.5126 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007512/0.4588, allocations: 7.603 MB / 0.52 GB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.4602, allocations: 241.2 kB / 0.5202 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/0.4795, allocations: 11.15 MB / 0.5311 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009538/0.4805, allocations: 1.295 MB / 0.5324 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009274/0.4815, allocations: 357.2 kB / 0.5327 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/0.4821, allocations: 463.2 kB / 0.5332 GB, free: 10.64 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4821, allocations: 0 / 0.5332 GB, free: 10.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06565/0.5477, allocations: 37.79 MB / 0.5701 GB, free: 4.824 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/0.548, allocations: 199.4 kB / 0.5702 GB, free: 4.578 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.785/3.333, allocations: 7.938 kB / 0.5703 GB, free: 4.57 MB / 446.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