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.001206/0.001206, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001434/0.001434, allocations: 172.7 kB / 15.95 MB, free: 208 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.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1986/0.1986, allocations: 16.88 MB / 308 MB, free: 15.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004484, allocations: 11.98 kB / 373.1 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.373, allocations: 54.51 MB / 427.6 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.002318/0.3754, allocations: 2.287 MB / 429.9 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.3801, allocations: 2.231 MB / 432.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009322/0.3811, allocations: 9.156 kB / 432.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.3815, allocations: 158.1 kB / 432.3 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.3822, allocations: 161 kB / 432.4 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.3844, allocations: 0.7249 MB / 433.1 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.3865, allocations: 2.031 MB / 435.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.3871, allocations: 319.4 kB / 435.5 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.3886, allocations: 0.7618 MB / 436.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.3898, allocations: 0.6417 MB / 436.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.39, allocations: 76.53 kB / 437 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.391, allocations: 426.9 kB / 437.4 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.3913, allocations: 296.5 kB / 437.7 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.3918, allocations: 346.4 kB / 438 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.3933, allocations: 1.604 MB / 439.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.3933, allocations: 3.938 kB / 439.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.3933, allocations: 2.812 kB / 439.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.648e-05/0.3934, allocations: 0 / 439.6 MB, free: 34.46 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.002854/0.3962, allocations: 2.027 MB / 441.6 MB, free: 32.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3963, allocations: 9.969 kB / 441.6 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004375/0.3967, allocations: 268.8 kB / 441.9 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.3984, allocations: 361.1 kB / 442.3 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.3996, allocations: 0.7458 MB / 443 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.3999, allocations: 392.9 kB / 443.4 MB, free: 31.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.4002, allocations: 193 kB / 443.6 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004716/0.4049, allocations: 3.089 MB / 446.7 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.4049, allocations: 6.312 kB / 446.7 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.4051, allocations: 87.59 kB / 446.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002173/0.4054, allocations: 166.2 kB / 446.9 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.4088, allocations: 2.269 MB / 449.2 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007268/0.4161, allocations: 5.785 MB / 455 MB, free: 26.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/0.4193, allocations: 2.992 MB / 458 MB, free: 24.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.4225, allocations: 2.798 MB / 460.8 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.4228, allocations: 119.7 kB / 460.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00293/0.4257, allocations: 1.761 MB / 462.6 MB, free: 22.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 6.793e-06/0.4258, allocations: 4 kB / 462.6 MB, free: 22.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.01009/0.4359, allocations: 5.616 MB / 468.3 MB, free: 19.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005865/0.4365, allocations: 1.072 MB / 469.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.4377, allocations: 0.6818 MB / 470 MB, free: 18.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.4379, allocations: 105.4 kB / 470.1 MB, free: 18.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.4383, allocations: 0.5172 MB / 470.6 MB, free: 18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.4387, allocations: 389.4 kB / 471 MB, free: 17.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.4388, allocations: 49 kB / 471.1 MB, free: 17.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.439, allocations: 424.5 kB / 471.5 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.4406, allocations: 0.9037 MB / 472.4 MB, free: 17.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.4425, allocations: 1.636 MB / 474 MB, free: 15.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.4446, allocations: 1.649 MB / 475.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/0.4446, allocations: 6.344 kB / 475.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005754/0.4504, allocations: 3.562 MB / 479.2 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003489/0.4508, allocations: 0.6969 MB / 479.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002651/0.4534, allocations: 1.843 MB / 481.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.4547, allocations: 344.6 kB / 482.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/0.4556, allocations: 235.8 kB / 482.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006231/0.4562, allocations: 0.7365 MB / 483.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.4575, allocations: 264.7 kB / 483.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.4577, allocations: 118.9 kB / 483.5 MB, free: 10.54 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.002093/0.4598, allocations: 1.476 MB / 484.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003935/0.4602, allocations: 149.2 kB / 485.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/0.4657, allocations: 4.449 MB / 489.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.4658, allocations: 4 kB / 489.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.4658, allocations: 7.938 kB / 489.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.4658, allocations: 3.984 kB / 489.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00851/0.4744, allocations: 6.493 MB / 496 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006072/0.4805, allocations: 4.279 MB / 0.4886 GB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.4808, allocations: 59.89 kB / 0.4886 GB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005896/0.4814, allocations: 228.7 kB / 0.4889 GB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/0.4816, allocations: 87.95 kB / 0.4889 GB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000624/0.4822, allocations: 0.7142 MB / 0.4896 GB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.4823, allocations: 4.031 kB / 0.4896 GB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009881/0.4922, allocations: 6.626 MB / 0.4961 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.4926, allocations: 183.6 kB / 0.4963 GB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/0.4931, allocations: 160 kB / 0.4964 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009292/0.494, allocations: 163.9 kB / 0.4966 GB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006579/0.4947, allocations: 354.7 kB / 0.4969 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/0.4949, allocations: 99.95 kB / 0.497 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000538/0.4954, allocations: 386.7 kB / 0.4974 GB, free: 0.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4955, allocations: 3.938 kB / 0.4974 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002537/0.498, allocations: 0.585 MB / 0.498 GB, free: 15.99 MB / 382.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.01099/0.509, allocations: 7.563 MB / 0.5054 GB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00624/0.5153, allocations: 4.617 MB / 0.5099 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.5153, allocations: 8.062 kB / 0.5099 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00564/0.521, allocations: 5.822 MB / 0.5156 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.522, allocations: 191.8 kB / 0.5158 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.5382, allocations: 10.05 MB / 0.5256 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.5393, allocations: 1.28 MB / 0.5268 GB, free: 1.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007978/0.5402, allocations: 263.6 kB / 0.5271 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/0.5407, allocations: 431.3 kB / 0.5275 GB, free: 0.625 MB / 398.1 MB Notification: Performance of SimCode: time 2.585e-06/0.5407, allocations: 0 / 0.5275 GB, free: 0.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05957/0.6003, allocations: 33.49 MB / 0.5602 GB, free: 15.09 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.6006, allocations: 231.3 kB / 0.5604 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.31, allocations: 0 / 0.5604 GB, free: 14.84 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