Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDSTest.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.ExtTest.TDSTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TDSTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TDSTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TDSTest",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.001264/0.001264, allocations: 175.1 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.522/1.522, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0009139/0.000914, allocations: 90.58 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07028/0.07028, allocations: 16.71 MB / 331.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.924e-05, allocations: 4 kB / 391 MB, free: 65.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.0874, allocations: 51.7 MB / 442.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3147/0.4021, allocations: 83.21 MB / 0.5136 GB, free: 6.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.4023, allocations: 68.78 kB / 0.5137 GB, free: 6.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06987/0.4722, allocations: 26.61 MB / 0.5397 GB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4722, allocations: 0 / 0.5397 GB, free: 96 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.4723, allocations: 16 kB / 0.5397 GB, free: 80 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.00326/0.4756, allocations: 2.05 MB / 0.5417 GB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4756, allocations: 8.031 kB / 0.5417 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003925/0.476, allocations: 221.4 kB / 0.5419 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009354/0.477, allocations: 225.8 kB / 0.5421 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.4783, allocations: 0.6995 MB / 0.5428 GB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.4785, allocations: 154.1 kB / 0.5429 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.4787, allocations: 140.8 kB / 0.5431 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003701/0.4824, allocations: 2.339 MB / 0.5454 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.4825, allocations: 3.938 kB / 0.5454 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.4826, allocations: 71.86 kB / 0.5454 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.4828, allocations: 68.83 kB / 0.5455 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.4852, allocations: 1.538 MB / 0.547 GB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006281/0.4915, allocations: 5.315 MB / 0.5522 GB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.4941, allocations: 2.6 MB / 0.5547 GB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002558/0.4967, allocations: 2.45 MB / 0.5571 GB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.4969, allocations: 93.52 kB / 0.5572 GB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002362/0.4992, allocations: 1.61 MB / 0.5588 GB, free: 15.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=147): time 4.328e-06/0.4993, allocations: 3.984 kB / 0.5588 GB, free: 15.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=147): time 0.004191/0.5035, allocations: 2.929 MB / 0.5616 GB, free: 12.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005585/0.504, allocations: 1.1 MB / 0.5627 GB, free: 11.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.5048, allocations: 0.5898 MB / 0.5633 GB, free: 10.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.505, allocations: 109.7 kB / 0.5634 GB, free: 10.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.5053, allocations: 416.6 kB / 0.5638 GB, free: 10.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.5056, allocations: 363.9 kB / 0.5641 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.5057, allocations: 40 kB / 0.5642 GB, free: 9.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.5059, allocations: 439.2 kB / 0.5646 GB, free: 9.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.5069, allocations: 0.707 MB / 0.5653 GB, free: 8.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.5084, allocations: 1.397 MB / 0.5667 GB, free: 7.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.51, allocations: 1.48 MB / 0.5681 GB, free: 5.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.51, allocations: 4 kB / 0.5681 GB, free: 5.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=286) (initialization): time 0.004267/0.5143, allocations: 3.234 MB / 0.5713 GB, free: 2.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003941/0.5147, allocations: 0.6888 MB / 0.5719 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/0.5147, allocations: 20 kB / 0.5719 GB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-05/0.5148, allocations: 36 kB / 0.572 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.5154, allocations: 227.5 kB / 0.5722 GB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.829e-05/0.5155, allocations: 47.8 kB / 0.5722 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/0.5163, allocations: 202.8 kB / 0.5724 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.5165, allocations: 112 kB / 0.5725 GB, free: 0.6641 MB / 378.7 MB Warning: Assuming fixed start value for the following 47 variables: 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.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 P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" 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 T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real 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 P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real 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 T1.fire:DISCRETE(fixed = false ) "Does the transition fire?" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 250 ($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,$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,$whenCondition8,$PRE.P2.reStart,$whenCondition5,$PRE.P1.reStart,P1.firingSumIn.firingSum,$whenCondition4,$whenCondition3,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,P2.firingSumOut.firingSum,$whenCondition7,$whenCondition6,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$PRE.P1.tokeninout,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$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.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$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.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T1.firingCon,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[1],P1.reStart,P2.enableIn.disTransition[1],$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P2.t,P2.t,P2.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,$PRE.T1.putFireTime,T1.putFireTime,$PRE.T1.putDelay,T1.putDelay,$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.delayPassed,T1.delayPassed,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.T1.fire,T1.fire,T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.disPlaceOut[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.activeConOut.vec[1],P2.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 230 * Array equations: 0 * 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.001446/0.5179, allocations: 1.174 MB / 0.5737 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.5182, allocations: 138.9 kB / 0.5738 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.5224, allocations: 2.821 MB / 0.5766 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.5224, allocations: 8 kB / 0.5766 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5224, allocations: 0 / 0.5766 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.5224, allocations: 3.984 kB / 0.5766 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006371/0.5288, allocations: 4.557 MB / 0.581 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.341e-06/0.5288, allocations: 3.938 kB / 0.581 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.529, allocations: 43.91 kB / 0.5811 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.5291, allocations: 4 kB / 0.5811 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/0.5293, allocations: 83.95 kB / 0.5812 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.5293, allocations: 7.938 kB / 0.5812 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5293, allocations: 3.953 kB / 0.5812 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00475/0.534, allocations: 3.524 MB / 0.5846 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.5343, allocations: 167.8 kB / 0.5848 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/0.5347, allocations: 159.9 kB / 0.5849 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/0.5354, allocations: 123.9 kB / 0.5851 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006954/0.5361, allocations: 408.1 kB / 0.5854 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/0.5363, allocations: 103.9 kB / 0.5855 GB, free: 2.867 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005215/0.5369, allocations: 381.5 kB / 0.5859 GB, free: 2.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5369, allocations: 3.938 kB / 0.5859 GB, free: 2.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002045/0.5389, allocations: 0.6088 MB / 0.5865 GB, free: 1.879 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 136 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,P1.activeOut[1],$whenCondition9,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P2.t,P2.tokeninout,P2.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,T1.putFireTime,T1.putDelay,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.fireTime,T1.delayPassed,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,T1.active,T1.fire) * Number of discrete states: 107 (P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.activeConOut.anychange,P1.tokeninout,P1.t,P2.t,T1.activation.active,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.delayPassed,T1.putFireTime,$whenCondition11,T1.putDelay,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition10,T1.fire,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,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,$whenCondition13,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,$whenCondition12,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 17 * Record equations: 0 * When equations: 4 * 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.006904/0.5458, allocations: 4.735 MB / 0.5911 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005158/0.551, allocations: 3.912 MB / 0.5949 GB, free: 8.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5511, allocations: 0 / 0.5949 GB, free: 8.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005083/0.5561, allocations: 5.791 MB / 0.6006 GB, free: 2.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.5571, allocations: 153.3 kB / 0.6008 GB, free: 2.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/0.5627, allocations: 2.754 MB / 0.6034 GB, free: 15.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/0.5634, allocations: 1.157 MB / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006484/0.5641, allocations: 260.9 kB / 0.6048 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/0.5646, allocations: 367.2 kB / 0.6052 GB, free: 14.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.552e-06/0.5646, allocations: 0 / 0.6052 GB, free: 14.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05207/0.6167, allocations: 30.26 MB / 0.6347 GB, free: 15.64 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.6169, allocations: 157 kB / 0.6349 GB, free: 15.42 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/3.556, allocations: 4 kB / 0.6349 GB, free: 15.41 MB / 458.7 MB (rm -f PNlib_PNlib.Examples.ExtTest.TDSTest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TDSTest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TDSTest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TDSTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TDSTest_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TDSTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TDSTest.fmu > PNlib_PNlib.Examples.ExtTest.TDSTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ExtTest.TDSTest_res.mat does not exist to compare? outputFormat=mat