Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEtest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TEtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEtest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEtest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007841/0.0007844, allocations: 82.66 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07007/0.07007, allocations: 16.71 MB / 331.4 MB, free: 8.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.644e-05, allocations: 4 kB / 391 MB, free: 65.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 51.7 MB / 442.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3486/0.4633, allocations: 80.74 MB / 0.5112 GB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.4636, allocations: 68.28 kB / 0.5113 GB, free: 8.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06928/0.5329, allocations: 27.61 MB / 0.5382 GB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.533, allocations: 4 kB / 0.5382 GB, free: 1.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.426e-05/0.5331, allocations: 28 kB / 0.5383 GB, free: 1.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.005531/0.5386, allocations: 2.379 MB / 0.5406 GB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.5387, allocations: 12.03 kB / 0.5406 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006726/0.5393, allocations: 322.8 kB / 0.5409 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008627/0.5402, allocations: 261.9 kB / 0.5412 GB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.5421, allocations: 1.007 MB / 0.5421 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/0.5423, allocations: 279.9 kB / 0.5424 GB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/0.5427, allocations: 231.7 kB / 0.5426 GB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006146/0.5489, allocations: 3.988 MB / 0.5465 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.5489, allocations: 3.938 kB / 0.5465 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/0.5493, allocations: 114.4 kB / 0.5466 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002575/0.5495, allocations: 147.1 kB / 0.5468 GB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004707/0.5542, allocations: 2.812 MB / 0.5495 GB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.5661, allocations: 8.274 MB / 0.5576 GB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004719/0.5709, allocations: 4.612 MB / 0.5621 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004496/0.5754, allocations: 4.431 MB / 0.5664 GB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.5756, allocations: 85.89 kB / 0.5665 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003769/0.5793, allocations: 2.62 MB / 0.5691 GB, free: 5.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=188): time 3.296e-06/0.5794, allocations: 0 / 0.5691 GB, free: 5.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=188): time 0.007197/0.5866, allocations: 4.748 MB / 0.5737 GB, free: 392 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000782/0.5874, allocations: 1.311 MB / 0.575 GB, free: 14.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5886, allocations: 0.8225 MB / 0.5758 GB, free: 14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.5888, allocations: 121.7 kB / 0.5759 GB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.5892, allocations: 0.6318 MB / 0.5765 GB, free: 13.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/0.5896, allocations: 478.5 kB / 0.577 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.5898, allocations: 63.98 kB / 0.577 GB, free: 12.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.59, allocations: 457 kB / 0.5775 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.5916, allocations: 1.099 MB / 0.5785 GB, free: 11.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.5938, allocations: 2.07 MB / 0.5806 GB, free: 8.625 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.5958, allocations: 1.87 MB / 0.5824 GB, free: 6.617 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-05/0.5958, allocations: 11.95 kB / 0.5824 GB, free: 6.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.005812/0.6016, allocations: 4.404 MB / 0.5867 GB, free: 2.055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004334/0.6021, allocations: 0.7239 MB / 0.5874 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.684e-05/0.6021, allocations: 28 kB / 0.5874 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.139e-05/0.6022, allocations: 52.75 kB / 0.5875 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009875/0.6032, allocations: 347.2 kB / 0.5878 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.792e-05/0.6032, allocations: 63.78 kB / 0.5879 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.6046, allocations: 290 kB / 0.5882 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.6049, allocations: 160 kB / 0.5883 GB, free: 280 kB / 394.7 MB Warning: Assuming fixed start value for the following 50 variables: P2.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T2.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 306 ($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.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$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.cumEnablingProb[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.remTAout[1],P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.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,$whenCondition16,$PRE.P1.reStart,$whenCondition9,$PRE.P2.reStart,$whenCondition8,$whenCondition7,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition4,$PRE.T2.eventIndex,T2.eventIndex,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition3,$PRE.T1.eventIndex,T1.eventIndex,$whenCondition15,$whenCondition14,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P2.outTransition[1].testValueint,P2.outTransition[1].normalArc,T2.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].arcType,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P2.enableIn.enablingPrio[1],P2.enableOut.enablingPrio[1],P2.reStart,T2.firingCon,T1.firingCon,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition6,$PRE.P1.t,P1.t,P1.activeOut[1],P1.enabledByInPlaces[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.T1.firingTime,T1.firingTime,$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,T1.active,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,$PRE.P2.t,P2.t,P2.activeOut[1],P2.enabledByInPlaces[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout[1],$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,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.activation.disPlaceOut[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P2.enableOut.disTransition[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T2.activation.disPlaceOut[1],P2.activeConOut.vec[1],P1.enableIn.arcWeight[1],P2.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.activeConOut.vec[1],P1.inTransition[1].emptied,P1.outTransition[1].fed,P2.outTransition[1].fed,P2.inTransition[1].emptied) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 322 * Array equations: 2 * Algorithm blocks: 22 * 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.002154/0.6071, allocations: 1.419 MB / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/0.6075, allocations: 194.3 kB / 0.5899 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008244/0.6158, allocations: 5.186 MB / 0.5949 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-05/0.6159, allocations: 19.98 kB / 0.595 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.6159, allocations: 0 / 0.595 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.6159, allocations: 3.984 kB / 0.595 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.6283, allocations: 7.872 MB / 0.6027 GB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6284, allocations: 3.938 kB / 0.6027 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.6287, allocations: 67.89 kB / 0.6027 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.6287, allocations: 4 kB / 0.6027 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003152/0.629, allocations: 123.9 kB / 0.6028 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.6291, allocations: 4 kB / 0.6029 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6291, allocations: 7.938 kB / 0.6029 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00838/0.6375, allocations: 5.387 MB / 0.6081 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.6378, allocations: 191.4 kB / 0.6083 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007437/0.6385, allocations: 183.9 kB / 0.6085 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.6398, allocations: 199.8 kB / 0.6087 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/0.6411, allocations: 0.7539 MB / 0.6094 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000407/0.6415, allocations: 151.9 kB / 0.6095 GB, free: 9.961 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006378/0.6422, allocations: 495.1 kB / 0.61 GB, free: 9.477 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6422, allocations: 0 / 0.61 GB, free: 9.477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002849/0.645, allocations: 0.8077 MB / 0.6108 GB, free: 8.668 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 164 (P2.activeOut[1],T2.active,P1.activeOut[1],T1.active,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.t,P1.tokeninout,P1.enabledByInPlaces[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,P1.outTransition[1].tokenInOut,T1.firingTime,T1.fireTime,T1.eventPassed,T1.ani,T1.eventIndex,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.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active,P2.t,P2.tokeninout,P2.enabledByInPlaces[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],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,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,P2.outTransition[1].tokenInOut) * Number of discrete states: 110 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P2.t,P2.tokeninout,P2.activeConOut.anychange,T2.eventIndex,$whenCondition4,T1.eventIndex,$whenCondition3,P1.t,P1.tokeninout,T1.activation.active,T1.eventPassed,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,T2.activation.active,T2.eventPassed,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout_[1],P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableOut.benefitMax,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,$whenCondition5,P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,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,$whenCondition1,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,$whenCondition6,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 68 * Array equations: 2 * Algorithm blocks: 18 * Record equations: 0 * When equations: 8 * 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.009773/0.6548, allocations: 6.513 MB / 0.6172 GB, free: 2.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007209/0.6621, allocations: 5.458 MB / 0.6225 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.6621, allocations: 0 / 0.6225 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009437/0.6716, allocations: 8.959 MB / 0.6313 GB, free: 3.117 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.673, allocations: 189.4 kB / 0.6314 GB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009948/0.683, allocations: 4.317 MB / 0.6356 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000943/0.684, allocations: 1.429 MB / 0.637 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001113/0.6851, allocations: 439.7 kB / 0.6375 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006215/0.6857, allocations: 0.5188 MB / 0.638 GB, free: 12.16 MB / 458.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6857, allocations: 4 kB / 0.638 GB, free: 12.15 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3588/1.045, allocations: 43.81 MB / 0.6808 GB, free: 138.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/1.045, allocations: 169.1 kB / 0.6809 GB, free: 138.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.291/4.335, allocations: 0 / 0.6809 GB, free: 138.2 MB / 458.7 MB (rm -f PNlib_PNlib.Examples.DisTest.TEtest.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEtest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEtest.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEtest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TEtest_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEtest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TEtest.fmu > PNlib_PNlib.Examples.DisTest.TEtest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.TEtest_res.mat does not exist to compare? outputFormat=mat