Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",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.001186/0.001186, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001348/0.001348, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1864/0.1864, allocations: 16.87 MB / 307.8 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 8 kB / 373 MB, free: 3.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2726, allocations: 54.51 MB / 427.5 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.002168/0.2748, allocations: 2.358 MB / 429.8 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.2784, allocations: 2.246 MB / 432.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005005/0.2789, allocations: 9.688 kB / 432.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.2793, allocations: 180 kB / 432.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006017/0.2799, allocations: 204.6 kB / 432.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.2816, allocations: 0.7061 MB / 433.2 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.283, allocations: 1.264 MB / 434.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.2834, allocations: 309.1 kB / 434.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007101/0.2841, allocations: 0.7332 MB / 435.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007785/0.2849, allocations: 0.6257 MB / 436.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.2852, allocations: 79.66 kB / 436.2 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009626/0.2861, allocations: 378.3 kB / 436.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.2865, allocations: 289.7 kB / 436.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.287, allocations: 345.8 kB / 437.1 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.2883, allocations: 1.612 MB / 438.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2883, allocations: 0 / 438.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.2884, allocations: 0 / 438.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.2884, allocations: 0 / 438.8 MB, free: 34.98 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.002104/0.2905, allocations: 2.027 MB / 440.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.2906, allocations: 11.09 kB / 440.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003553/0.2909, allocations: 272.4 kB / 441.1 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.2925, allocations: 366.2 kB / 441.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.2936, allocations: 0.7496 MB / 442.2 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.2938, allocations: 385.4 kB / 442.5 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.294, allocations: 189.5 kB / 442.7 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003745/0.2978, allocations: 3.082 MB / 445.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.2978, allocations: 0 / 445.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.298, allocations: 95.66 kB / 445.9 MB, free: 31.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/0.2982, allocations: 162.6 kB / 446.1 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/0.3013, allocations: 2.271 MB / 448.3 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006928/0.3082, allocations: 5.787 MB / 454.1 MB, free: 26.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/0.3112, allocations: 2.989 MB / 457.1 MB, free: 25.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.3114, allocations: 115.8 kB / 457.2 MB, free: 25.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00228/0.3136, allocations: 1.757 MB / 459 MB, free: 24.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 2.775e-06/0.3137, allocations: 1.812 kB / 459 MB, free: 24.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.01017/0.3238, allocations: 7.016 MB / 466 MB, free: 20.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005678/0.3244, allocations: 1.072 MB / 467.1 MB, free: 19.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.3255, allocations: 0.6829 MB / 467.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.3257, allocations: 106.4 kB / 467.9 MB, free: 18.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.3262, allocations: 0.5135 MB / 468.4 MB, free: 18.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/0.3266, allocations: 388.8 kB / 468.8 MB, free: 18.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.3267, allocations: 49.19 kB / 468.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.327, allocations: 428.4 kB / 469.2 MB, free: 17.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.3286, allocations: 0.9114 MB / 470.1 MB, free: 17.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.3306, allocations: 1.627 MB / 471.8 MB, free: 16.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.3324, allocations: 1.639 MB / 473.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/0.3324, allocations: 10.66 kB / 473.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005519/0.3379, allocations: 3.558 MB / 477 MB, free: 13.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004144/0.3384, allocations: 0.6944 MB / 477.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002658/0.341, allocations: 1.84 MB / 479.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.3422, allocations: 342.6 kB / 479.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/0.343, allocations: 234.2 kB / 480.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005937/0.3436, allocations: 0.7373 MB / 480.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.3447, allocations: 267.5 kB / 481.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.3449, allocations: 117.8 kB / 481.2 MB, free: 11.14 MB / 350.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) 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 P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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 P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 231 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$whenCondition6,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.disTAin[1],P2.enableIn.disTAin[1],$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.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$whenCondition5,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$whenCondition4,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P2.reStart,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition1,$whenCondition2,$whenCondition3,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.tIntOut[2],T1.activation.maxTokensInt[2],T1.activation.disPlaceOut[2],P2.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[2],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 21 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001824/0.3467, allocations: 1.468 MB / 482.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/0.3471, allocations: 149.5 kB / 482.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005711/0.3528, allocations: 4.458 MB / 487.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.3529, allocations: 4 kB / 487.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.3529, allocations: 8 kB / 487.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3529, allocations: 7.922 kB / 487.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007733/0.3606, allocations: 6.497 MB / 493.8 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005629/0.3663, allocations: 4.288 MB / 498.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.3665, allocations: 59.83 kB / 498.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006169/0.3672, allocations: 228.7 kB / 498.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/0.3674, allocations: 83.95 kB / 498.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006285/0.368, allocations: 0.7122 MB / 499.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.368, allocations: 4.031 kB / 499.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.3781, allocations: 6.629 MB / 0.4939 GB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.3785, allocations: 175.8 kB / 0.4941 GB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/0.379, allocations: 156 kB / 0.4942 GB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008868/0.3799, allocations: 159.9 kB / 0.4944 GB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000638/0.3805, allocations: 356.2 kB / 0.4947 GB, free: 3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/0.3808, allocations: 95.95 kB / 0.4948 GB, free: 2.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000513/0.3813, allocations: 382.8 kB / 0.4952 GB, free: 2.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3813, allocations: 7.875 kB / 0.4952 GB, free: 2.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002181/0.3835, allocations: 0.5965 MB / 0.4958 GB, free: 1.926 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 119 (P2.disMarksInOut,$cse3[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[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.disTAin[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.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.disTAout[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.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,P2.fireIn[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.disTAin[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.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,$whenCondition6,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.delayPassedOut.anytrue,P2.delayPassedOut.numtrue) * Number of discrete states: 106 (P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,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,P2.enableOut.arcWeightSum,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P2.enableIn.TEin_[1],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,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition3,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 40 * Array equations: 1 * Algorithm blocks: 17 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01096/0.3944, allocations: 7.658 MB / 0.5032 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005651/0.4001, allocations: 4.62 MB / 0.5078 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4002, allocations: 4.125 kB / 0.5078 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005002/0.4052, allocations: 5.823 MB / 0.5134 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.4059, allocations: 134.2 kB / 0.5136 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.426, allocations: 24.3 MB / 0.5373 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/0.4268, allocations: 1.296 MB / 0.5386 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005728/0.4274, allocations: 264.3 kB / 0.5388 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.4278, allocations: 427.3 kB / 0.5392 GB, free: 4.094 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4278, allocations: 0 / 0.5392 GB, free: 4.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05105/0.4789, allocations: 33.47 MB / 0.5719 GB, free: 2.566 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.4791, allocations: 222.7 kB / 0.5721 GB, free: 2.328 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.036, allocations: 0 / 0.5721 GB, free: 2.328 MB / 446.1 MB (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_ConTest_LoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_LoopAndArcweight.fmu > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat does not exist to compare? outputFormat=mat