Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ZeroPlace.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.ConTest.ZeroPlace,fileNamePrefix="PNlib_PNlib_Examples_ConTest_ZeroPlace",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.ZeroPlace,fileNamePrefix="PNlib_PNlib_Examples_ConTest_ZeroPlace",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.009023/0.009023, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00217/0.00217, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1939/0.1939, allocations: 16.75 MB / 307.3 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 65.59 kB / 425.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1198, allocations: 53.47 MB / 479.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroPlace): time 0.003794/0.1236, allocations: 3.113 MB / 482.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00426/0.1279, allocations: 2.481 MB / 484.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/0.1285, allocations: 17.47 kB / 484.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.1291, allocations: 267.3 kB / 485.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.1298, allocations: 316.9 kB / 485.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.1333, allocations: 1.125 MB / 486.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004932/0.1383, allocations: 2.942 MB / 489.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007637/0.1391, allocations: 391.9 kB / 490 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.141, allocations: 1.114 MB / 491.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.1424, allocations: 0.836 MB / 491.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003771/0.1428, allocations: 216 kB / 492.1 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.1442, allocations: 0.6127 MB / 492.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000587/0.1448, allocations: 402.7 kB / 493.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.1462, allocations: 0.914 MB / 494 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004078/0.1503, allocations: 2.422 MB / 496.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1503, allocations: 4 kB / 496.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.6e-06/0.1503, allocations: 3.984 kB / 496.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.575e-05/0.1504, allocations: 0 / 496.5 MB, free: 12.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005159/0.1555, allocations: 2.492 MB / 499 MB, free: 9.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.1556, allocations: 15.83 kB / 499 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005233/0.1562, allocations: 277 kB / 499.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.1586, allocations: 371.7 kB / 499.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.1605, allocations: 0.7941 MB / 0.4887 GB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005188/0.161, allocations: 390 kB / 0.4891 GB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004695/0.1615, allocations: 200 kB / 0.4892 GB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007809/0.1693, allocations: 3.156 MB / 0.4923 GB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.1694, allocations: 0 / 0.4923 GB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003287/0.1698, allocations: 95.95 kB / 0.4924 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004171/0.1702, allocations: 162.4 kB / 0.4926 GB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006196/0.1764, allocations: 2.274 MB / 0.4948 GB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.1902, allocations: 6.281 MB / 0.5009 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005389/0.1956, allocations: 3.055 MB / 0.5039 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004608/0.2003, allocations: 2.743 MB / 0.5066 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005972/0.2063, allocations: 5.999 MB / 0.5124 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004463/0.2108, allocations: 1.747 MB / 0.5142 GB, free: 12.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=154): time 5.21e-06/0.2109, allocations: 0 / 0.5142 GB, free: 12.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=154): time 0.01359/0.2245, allocations: 5.759 MB / 0.5198 GB, free: 6.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000975/0.2255, allocations: 1.106 MB / 0.5209 GB, free: 4.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.227, allocations: 0.7249 MB / 0.5216 GB, free: 4.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002726/0.2273, allocations: 101.7 kB / 0.5217 GB, free: 4.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006545/0.2279, allocations: 0.5482 MB / 0.5222 GB, free: 3.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000641/0.2286, allocations: 436.9 kB / 0.5226 GB, free: 3.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008897/0.2295, allocations: 496 kB / 0.5231 GB, free: 2.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.2297, allocations: 338 kB / 0.5234 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.2319, allocations: 0.9294 MB / 0.5243 GB, free: 1.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.235, allocations: 1.682 MB / 0.526 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006278/0.2413, allocations: 3.759 MB / 0.5296 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.046e-05/0.2414, allocations: 4 kB / 0.5296 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008938/0.2503, allocations: 3.982 MB / 0.5335 GB, free: 6.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006634/0.251, allocations: 0.7278 MB / 0.5342 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005633/0.2567, allocations: 2.241 MB / 0.5364 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.2588, allocations: 284.6 kB / 0.5367 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.2606, allocations: 247.4 kB / 0.5369 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.2622, allocations: 0.841 MB / 0.5377 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/0.2651, allocations: 286.3 kB / 0.538 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007332/0.2658, allocations: 120 kB / 0.5381 GB, free: 1.844 MB / 414.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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 235 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition6,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.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,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.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,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P2.reStart,T2.firingCon,T2.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.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],P2.delayPassedIn.vec[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],T2.fire_,T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.emptied[1],T2.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 225 * Array equations: 0 * Algorithm blocks: 22 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.004558/0.2704, allocations: 1.517 MB / 0.5396 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/0.2716, allocations: 151.4 kB / 0.5398 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/0.2864, allocations: 4.714 MB / 0.5444 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/0.2865, allocations: 8 kB / 0.5444 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.2865, allocations: 0 / 0.5444 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.2865, allocations: 3.984 kB / 0.5444 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/0.3061, allocations: 6.732 MB / 0.551 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00992/0.3161, allocations: 4.575 MB / 0.5554 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.3165, allocations: 59.89 kB / 0.5555 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008064/0.3174, allocations: 216.7 kB / 0.5557 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002579/0.3176, allocations: 91.94 kB / 0.5558 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.3187, allocations: 0.8191 MB / 0.5566 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3187, allocations: 7.938 kB / 0.5566 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/0.3297, allocations: 6.858 MB / 0.5633 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.3302, allocations: 184.2 kB / 0.5635 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004947/0.3307, allocations: 167.9 kB / 0.5636 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.3317, allocations: 151.9 kB / 0.5638 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006598/0.3324, allocations: 356.3 kB / 0.5641 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/0.3327, allocations: 103.9 kB / 0.5642 GB, free: 6.477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005897/0.3333, allocations: 402.8 kB / 0.5646 GB, free: 6.082 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3333, allocations: 0 / 0.5646 GB, free: 6.082 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002223/0.3355, allocations: 0.6123 MB / 0.5652 GB, free: 5.469 MB / 446.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: 121 (P2.disMarksInOut,$cse3[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,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,T2.activation.fed[1],T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.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: 108 (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,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.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],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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 (62): * Single equations (assignments): 42 * Array equations: 1 * Algorithm blocks: 18 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01215/0.3477, allocations: 7.806 MB / 0.5728 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006338/0.3541, allocations: 4.708 MB / 0.5774 GB, free: 8.531 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.3541, allocations: 4.25 kB / 0.5774 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005798/0.3599, allocations: 5.859 MB / 0.5831 GB, free: 2.434 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.361, allocations: 207.5 kB / 0.5833 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3005/0.6615, allocations: 16.05 MB / 0.599 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.6626, allocations: 1.303 MB / 0.6003 GB, free: 107.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007686/0.6634, allocations: 267.9 kB / 0.6005 GB, free: 107.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.6639, allocations: 457.1 kB / 0.601 GB, free: 106.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.664e-06/0.6639, allocations: 0 / 0.601 GB, free: 106.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05809/0.722, allocations: 35.87 MB / 0.636 GB, free: 75.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.1, allocations: 13.45 kB / 0.636 GB, free: 75.34 MB / 462.1 MB (rm -f PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe >> ../files/PNlib_PNlib.Examples.ConTest.ZeroPlace.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ConTest.ZeroPlace_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_ConTest_ZeroPlace.fmu > PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.ZeroPlace_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.ZeroPlace.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.ZeroPlace.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches