Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TESTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/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.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009504/0.0009504, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008105/0.0008105, allocations: 89.67 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07619/0.07619, allocations: 16.74 MB / 326.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.252e-05, allocations: 0 / 384.1 MB, free: 70.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09336, allocations: 51.69 MB / 435.8 MB, free: 19.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2992/0.3926, allocations: 83.04 MB / 0.5066 GB, free: 9.199 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3928, allocations: 73.8 kB / 0.5067 GB, free: 9.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08609/0.4789, allocations: 29.74 MB / 0.5358 GB, free: 5.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.479, allocations: 0 / 0.5358 GB, free: 5.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.264e-05/0.4791, allocations: 28 kB / 0.5358 GB, free: 5.219 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.005756/0.4848, allocations: 2.339 MB / 0.5381 GB, free: 2.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.4849, allocations: 12.03 kB / 0.5381 GB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.4865, allocations: 266 kB / 0.5383 GB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.4889, allocations: 0.8966 MB / 0.5392 GB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/0.4892, allocations: 174.2 kB / 0.5394 GB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004572/0.4897, allocations: 135.8 kB / 0.5395 GB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004636/0.4943, allocations: 2.033 MB / 0.5415 GB, free: 328 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006643/0.501, allocations: 2.932 MB / 0.5443 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.276e-05/0.5011, allocations: 4 kB / 0.5444 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004183/0.5015, allocations: 49.98 kB / 0.5444 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003148/0.5018, allocations: 112.2 kB / 0.5445 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009987/0.5118, allocations: 6.844 MB / 0.5512 GB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/0.5158, allocations: 3.487 MB / 0.5546 GB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00364/0.5195, allocations: 3.339 MB / 0.5579 GB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.5197, allocations: 85.67 kB / 0.5579 GB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003154/0.5228, allocations: 2.04 MB / 0.5599 GB, free: 15.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=176): time 3.126e-06/0.5229, allocations: 4 kB / 0.5599 GB, free: 15.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=176): time 0.005845/0.5287, allocations: 2.989 MB / 0.5629 GB, free: 12.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007657/0.5295, allocations: 1.259 MB / 0.5641 GB, free: 10.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009588/0.5305, allocations: 0.6258 MB / 0.5647 GB, free: 10.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002135/0.5307, allocations: 97.67 kB / 0.5648 GB, free: 10.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.5312, allocations: 0.5377 MB / 0.5653 GB, free: 9.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004863/0.5317, allocations: 422.4 kB / 0.5657 GB, free: 9.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.5318, allocations: 12 kB / 0.5657 GB, free: 9.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.5321, allocations: 444.4 kB / 0.5661 GB, free: 8.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.5334, allocations: 0.8207 MB / 0.5669 GB, free: 7.898 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.5352, allocations: 1.656 MB / 0.5686 GB, free: 5.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.5369, allocations: 0.9603 MB / 0.5695 GB, free: 4.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-05/0.537, allocations: 4 kB / 0.5695 GB, free: 4.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.004737/0.5417, allocations: 2.827 MB / 0.5723 GB, free: 2.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004888/0.5422, allocations: 0.7585 MB / 0.573 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-05/0.5423, allocations: 24.91 kB / 0.573 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.94e-05/0.5424, allocations: 47.94 kB / 0.5731 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.5433, allocations: 295.3 kB / 0.5734 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.127e-05/0.5434, allocations: 63.73 kB / 0.5734 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.5447, allocations: 202.2 kB / 0.5736 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/0.545, allocations: 128 kB / 0.5737 GB, free: 420 kB / 378.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 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 T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P2.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" 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.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 T1.TimeOver:DISCRETE(fixed = false ) type: Boolean T2.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: 116 * Number of states: 0 () * Number of discrete variables: 288 ($PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition15,$PRE.P1.reStart,$whenCondition12,$PRE.P2.reStart,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition5,$PRE.T2.eventIndex,T2.eventIndex,$whenCondition11,$whenCondition10,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,P2.firingSumOut.firingSum,$whenCondition14,$whenCondition13,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,$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,$whenCondition1,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,T2.enabledByInPlaces,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,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.firingCon,T2.firingCon,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition6,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P2.t,P2.t,P2.enabledByInPlaces[1],P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,$PRE.T1.putFireTime,T1.putFireTime,$PRE.T1.putEvent,T1.putEvent,$PRE.T1.state128[1],T1.state128[1],$PRE.T1.state128[2],T1.state128[2],$PRE.T1.state128[3],T1.state128[3],$PRE.T1.state128[4],T1.state128[4],$PRE.T1.r128,T1.r128,$PRE.T1.eventPassed,T1.eventPassed,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,$PRE.T1.TimeOver,T1.TimeOver,T1.active,T1.activation.disPlaceOut[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.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],P1.activeConOut.vec[1],P1.inTransition[1].emptied,P1.outTransition[1].fed,P2.inTransition[1].emptied) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 282 * Array equations: 1 * Algorithm blocks: 24 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002149/0.5472, allocations: 1.287 MB / 0.575 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007088/0.5543, allocations: 3.321 MB / 0.5782 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/0.5549, allocations: 166.7 kB / 0.5784 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006111/0.561, allocations: 3.133 MB / 0.5815 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/0.5611, allocations: 16 kB / 0.5815 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.5611, allocations: 0 / 0.5815 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.5611, allocations: 3.984 kB / 0.5815 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009395/0.5705, allocations: 5.167 MB / 0.5865 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5705, allocations: 0 / 0.5865 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.5708, allocations: 63.91 kB / 0.5866 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.5708, allocations: 4 kB / 0.5866 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/0.5711, allocations: 95.94 kB / 0.5867 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.5711, allocations: 8 kB / 0.5867 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5711, allocations: 0 / 0.5867 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006068/0.5772, allocations: 3.518 MB / 0.5901 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.5774, allocations: 175.6 kB / 0.5903 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005332/0.578, allocations: 159.9 kB / 0.5904 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.579, allocations: 151.9 kB / 0.5906 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008351/0.5799, allocations: 476.2 kB / 0.591 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/0.5802, allocations: 135.7 kB / 0.5912 GB, free: 14.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005183/0.5807, allocations: 362.8 kB / 0.5915 GB, free: 14.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5807, allocations: 0 / 0.5915 GB, free: 14.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002573/0.5833, allocations: 0.6709 MB / 0.5922 GB, free: 13.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 157 ($whenCondition1,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,T2.active,P1.activeOut[1],$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,P2.t,P2.tokeninout,P2.enabledByInPlaces[1],P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T1.putFireTime,T1.putEvent,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.fireTime,T1.eventPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,T1.TimeOver,T1.active) * Number of discrete states: 114 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,T1.putFireTime,T1.putEvent,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition6,T1.TimeOver,T2.eventIndex,$whenCondition5,P2.t,P1.t,P1.tokeninout,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.eventPassed,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition3,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableOut.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,$whenCondition1,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 55 * Array equations: 1 * Algorithm blocks: 19 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007864/0.5912, allocations: 4.685 MB / 0.5967 GB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006275/0.5975, allocations: 4.532 MB / 0.6012 GB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.5975, allocations: 6.438 kB / 0.6012 GB, free: 3.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008015/0.6056, allocations: 7.302 MB / 0.6083 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.6065, allocations: 130.6 kB / 0.6084 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007808/0.6143, allocations: 3.423 MB / 0.6118 GB, free: 8.711 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/0.6153, allocations: 1.313 MB / 0.6131 GB, free: 7.367 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008914/0.6162, allocations: 341.1 kB / 0.6134 GB, free: 7.031 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005934/0.6168, allocations: 459.2 kB / 0.6138 GB, free: 6.586 MB / 426.7 MB Notification: Performance of SimCode: time 3.307e-06/0.6168, allocations: 0 / 0.6138 GB, free: 6.586 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07308/0.6899, allocations: 35.92 MB / 0.6489 GB, free: 2.363 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.6902, allocations: 134.6 kB / 0.649 GB, free: 2.172 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/3.737, allocations: 3.938 kB / 0.649 GB, free: 2.168 MB / 458.7 MB (rm -f PNlib_PNlib.Examples.ExtTest.TESTest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TESTest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TESTest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TESTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TESTest_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TESTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TESTest.fmu > PNlib_PNlib.Examples.ExtTest.TESTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ExtTest.TESTest_res.mat does not exist to compare? outputFormat=mat