Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDSdiscrete.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 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.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.TDSdiscrete,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TDSdiscrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TDSdiscrete,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TDSdiscrete",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.001136/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001224/0.001224, allocations: 193.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2261/0.2261, allocations: 16.77 MB / 306.7 MB, free: 15.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 59.89 kB / 371.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3829, allocations: 53.45 MB / 424.5 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDSdiscrete): time 0.003425/0.3864, allocations: 2.647 MB / 427.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007092/0.3935, allocations: 4.882 MB / 432.1 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.3946, allocations: 13.66 kB / 432.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.3951, allocations: 139 kB / 432.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004513/0.3956, allocations: 145.4 kB / 432.4 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.3988, allocations: 1.339 MB / 433.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.401, allocations: 2.102 MB / 435.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.4014, allocations: 282 kB / 436.1 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.4026, allocations: 0.7903 MB / 436.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006856/0.4033, allocations: 0.5948 MB / 437.5 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.4035, allocations: 75.31 kB / 437.5 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.4047, allocations: 0.7514 MB / 438.3 MB, free: 32.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.405, allocations: 254 kB / 438.5 MB, free: 32.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000619/0.4056, allocations: 0.6261 MB / 439.2 MB, free: 32.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.4076, allocations: 1.931 MB / 441.1 MB, free: 31.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4076, allocations: 0 / 441.1 MB, free: 31.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4076, allocations: 3.875 kB / 441.1 MB, free: 31.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.4076, allocations: 0 / 441.1 MB, free: 31.69 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002575/0.4102, allocations: 2.188 MB / 443.3 MB, free: 29.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.4103, allocations: 13.66 kB / 443.3 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002881/0.4106, allocations: 202.8 kB / 443.5 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007769/0.4114, allocations: 185.2 kB / 443.7 MB, free: 29.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.4122, allocations: 0.6561 MB / 444.3 MB, free: 29.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.4123, allocations: 157.3 kB / 444.5 MB, free: 29.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.4125, allocations: 143.5 kB / 444.6 MB, free: 29.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.4157, allocations: 2.373 MB / 447 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.4157, allocations: 7.922 kB / 447 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.4159, allocations: 66.45 kB / 447.1 MB, free: 28.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.4161, allocations: 98.3 kB / 447.2 MB, free: 28.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.4184, allocations: 1.599 MB / 448.8 MB, free: 27.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005037/0.4235, allocations: 5.358 MB / 454.1 MB, free: 23.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.4261, allocations: 2.722 MB / 456.8 MB, free: 22.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.4283, allocations: 2.576 MB / 459.4 MB, free: 20.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.4284, allocations: 87.48 kB / 459.5 MB, free: 20.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00239/0.4308, allocations: 1.677 MB / 461.2 MB, free: 19.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=150): time 2.585e-06/0.4308, allocations: 0 / 461.2 MB, free: 19.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=150): time 0.008158/0.439, allocations: 4.71 MB / 465.9 MB, free: 17.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005771/0.4396, allocations: 1.153 MB / 467 MB, free: 16.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.4406, allocations: 0.6641 MB / 467.7 MB, free: 16.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.4409, allocations: 118.8 kB / 467.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.4412, allocations: 412.1 kB / 468.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.4415, allocations: 373.6 kB / 468.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006169/0.4422, allocations: 417.7 kB / 469 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.4423, allocations: 341.2 kB / 469.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.4437, allocations: 0.7592 MB / 470.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.4457, allocations: 1.451 MB / 471.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005991/0.4517, allocations: 4.774 MB / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.127e-05/0.4517, allocations: 5.531 kB / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.006109/0.4578, allocations: 3.39 MB / 479.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005206/0.4584, allocations: 0.6947 MB / 480.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.799e-05/0.4585, allocations: 20.84 kB / 480.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.195e-05/0.4585, allocations: 29.34 kB / 480.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.4593, allocations: 224.6 kB / 480.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.847e-05/0.4594, allocations: 47.67 kB / 480.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.4606, allocations: 226.7 kB / 480.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.4608, allocations: 112.1 kB / 481 MB, free: 7.188 MB / 350.1 MB Warning: Assuming fixed start value for the following 47 variables: 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 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.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T1.fire:DISCRETE(fixed = true ) "Does the transition fire?" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 249 ($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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.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,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.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,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.reStart,$whenCondition8,$PRE.P1.reStart,$whenCondition5,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition3,$whenCondition4,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition6,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.tokenChange.vec[1],$PRE.P1.tokeninout,$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,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$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,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,$whenCondition2,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,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,P2.reStart,P1.reStart,P2.enableIn.disTransition[1],$PRE.T1.r128,$PRE.T1.state128[4],$PRE.T1.state128[3],$PRE.T1.state128[2],$PRE.T1.state128[1],$PRE.T1.fire,$PRE.T1.putDelay,$PRE.T1.putFireTime,$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.r128,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.fire,T1.active,T1.putDelay,T1.putFireTime,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.enabledByInPlaces[1],P2.t,$PRE.P2.t,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,P2.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 226 * Array equations: 1 * Algorithm blocks: 22 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002128/0.463, allocations: 1.389 MB / 482.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/0.4633, allocations: 141.4 kB / 482.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005934/0.4693, allocations: 3.634 MB / 486.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/0.4693, allocations: 8.891 kB / 486.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.4694, allocations: 1.719 kB / 486.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4694, allocations: 3.797 kB / 486.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/0.4758, allocations: 4.969 MB / 491.2 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4758, allocations: 0 / 491.2 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.476, allocations: 47.91 kB / 491.2 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.476, allocations: 0 / 491.2 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/0.4762, allocations: 79.95 kB / 491.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.4762, allocations: 4 kB / 491.3 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4762, allocations: 0 / 491.3 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005991/0.4822, allocations: 4.345 MB / 495.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.4825, allocations: 179.6 kB / 495.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/0.4829, allocations: 155.9 kB / 496 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000769/0.4836, allocations: 123.9 kB / 496.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006678/0.4843, allocations: 404.2 kB / 496.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.4845, allocations: 91.89 kB / 496.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004721/0.485, allocations: 394.8 kB / 497 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.485, allocations: 0 / 497 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002093/0.4871, allocations: 0.5932 MB / 497.6 MB, free: 9.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 137 ($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,$whenCondition9,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,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.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.active,T1.fire,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) * Number of discrete states: 110 (P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.activeOut[1],P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.t,P2.t,P1.tokeninout,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,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.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 17 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007278/0.4944, allocations: 5.349 MB / 0.4911 GB, free: 4.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004961/0.4994, allocations: 4.017 MB / 0.4951 GB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4994, allocations: 0 / 0.4951 GB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004803/0.5042, allocations: 5.958 MB / 0.5009 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5053, allocations: 214.8 kB / 0.5011 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/0.5254, allocations: 14.71 MB / 0.5154 GB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007932/0.5263, allocations: 1.146 MB / 0.5166 GB, free: 8.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007419/0.527, allocations: 251.5 kB / 0.5168 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.5275, allocations: 359.3 kB / 0.5171 GB, free: 8.203 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5275, allocations: 0 / 0.5171 GB, free: 8.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0527/0.5802, allocations: 30.18 MB / 0.5466 GB, free: 10.04 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/0.5805, allocations: 212.3 kB / 0.5468 GB, free: 9.785 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.057, allocations: 0 / 0.5468 GB, free: 9.785 MB / 430.1 MB (rm -f PNlib_PNlib.Examples.ExtTest.TDSdiscrete.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TDSdiscrete.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TDSdiscrete.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TDSdiscrete.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TDSdiscrete_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TDSdiscrete_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TDSdiscrete.fmu > PNlib_PNlib.Examples.ExtTest.TDSdiscrete.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TDSdiscrete_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TDSdiscrete.mat","../files/PNlib_PNlib.Examples.ExtTest.TDSdiscrete.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches