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.00661/0.00661, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001301/0.001301, allocations: 192.2 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07802/0.07801, allocations: 16.72 MB / 307.3 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 425.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.124, allocations: 53.47 MB / 479.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroPlace): time 0.004603/0.1287, allocations: 3.115 MB / 482.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.1335, allocations: 2.481 MB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000689/0.1342, allocations: 15.94 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006077/0.1348, allocations: 273.9 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009366/0.1358, allocations: 313.9 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.1381, allocations: 1.129 MB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003269/0.1414, allocations: 2.934 MB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.142, allocations: 392.2 kB / 489.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1434, allocations: 1.118 MB / 491 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.1446, allocations: 0.8321 MB / 491.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004642/0.1451, allocations: 216 kB / 492.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.1462, allocations: 0.6126 MB / 492.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.1467, allocations: 398.7 kB / 493.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.1479, allocations: 0.914 MB / 494 MB, free: 6.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.1509, allocations: 2.429 MB / 496.4 MB, free: 4.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1509, allocations: 0 / 496.4 MB, free: 4.375 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1509, allocations: 0 / 496.4 MB, free: 4.375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.918e-05/0.151, allocations: 0 / 496.4 MB, free: 4.375 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.004103/0.1551, allocations: 2.495 MB / 498.9 MB, free: 1.688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1552, allocations: 15.89 kB / 498.9 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004384/0.1556, allocations: 273 kB / 499.2 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.1573, allocations: 363.7 kB / 499.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.1586, allocations: 0.7942 MB / 0.4886 GB, free: 212 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.159, allocations: 394 kB / 0.489 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.1593, allocations: 196 kB / 0.4892 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005187/0.1645, allocations: 3.156 MB / 0.4923 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.1646, allocations: 3.938 kB / 0.4923 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.1649, allocations: 95.97 kB / 0.4924 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002553/0.1651, allocations: 158.4 kB / 0.4925 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004229/0.1694, allocations: 2.274 MB / 0.4947 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009991/0.1794, allocations: 6.301 MB / 0.5009 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/0.1835, allocations: 3.041 MB / 0.5039 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2128/0.3963, allocations: 2.745 MB / 0.5066 GB, free: 33.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003129/0.3995, allocations: 5.991 MB / 0.5124 GB, free: 26.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003445/0.403, allocations: 1.748 MB / 0.5141 GB, free: 26.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=154): time 4.328e-06/0.403, allocations: 1.094 kB / 0.5141 GB, free: 26.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.0111/0.4141, allocations: 5.76 MB / 0.5197 GB, free: 23.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006214/0.4148, allocations: 1.102 MB / 0.5208 GB, free: 22.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.4161, allocations: 0.7209 MB / 0.5215 GB, free: 22.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003014/0.4164, allocations: 107.3 kB / 0.5216 GB, free: 22.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/0.417, allocations: 0.554 MB / 0.5222 GB, free: 21.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/0.4175, allocations: 428.2 kB / 0.5226 GB, free: 21.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009821/0.4186, allocations: 496.4 kB / 0.523 GB, free: 21.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.4187, allocations: 338.6 kB / 0.5234 GB, free: 21.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.4208, allocations: 0.9316 MB / 0.5243 GB, free: 20.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.4232, allocations: 1.681 MB / 0.5259 GB, free: 19.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/0.4272, allocations: 3.756 MB / 0.5296 GB, free: 16.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-05/0.4272, allocations: 6.531 kB / 0.5296 GB, free: 16.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.005602/0.4328, allocations: 3.981 MB / 0.5335 GB, free: 14.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002923/0.4332, allocations: 0.726 MB / 0.5342 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002927/0.4361, allocations: 2.248 MB / 0.5364 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.4373, allocations: 291.4 kB / 0.5367 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.4382, allocations: 241.9 kB / 0.5369 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008071/0.439, allocations: 0.8446 MB / 0.5377 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.4407, allocations: 278.4 kB / 0.538 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/0.4411, allocations: 124.7 kB / 0.5381 GB, free: 12.14 MB / 382.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.002299/0.4434, allocations: 1.523 MB / 0.5396 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008078/0.4442, allocations: 163.3 kB / 0.5397 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006514/0.4508, allocations: 4.693 MB / 0.5443 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.4508, allocations: 11.98 kB / 0.5443 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.4508, allocations: 0 / 0.5443 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4508, allocations: 0 / 0.5443 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008395/0.4592, allocations: 6.734 MB / 0.5509 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007151/0.4664, allocations: 4.57 MB / 0.5554 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.4667, allocations: 55.91 kB / 0.5554 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006584/0.4674, allocations: 220 kB / 0.5556 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002287/0.4677, allocations: 95.94 kB / 0.5557 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000964/0.4686, allocations: 0.8251 MB / 0.5565 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.4687, allocations: 8.625 kB / 0.5565 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.4797, allocations: 6.85 MB / 0.5632 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.48, allocations: 184.2 kB / 0.5634 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004569/0.4804, allocations: 163.9 kB / 0.5636 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.4815, allocations: 155.9 kB / 0.5637 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000662/0.4821, allocations: 366.1 kB / 0.5641 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/0.4824, allocations: 101.4 kB / 0.5642 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005953/0.483, allocations: 398.8 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.483, allocations: 4 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001891/0.4849, allocations: 0.6187 MB / 0.5652 GB, free: 15.92 MB / 414.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.01208/0.497, allocations: 7.803 MB / 0.5728 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006564/0.5036, allocations: 4.703 MB / 0.5774 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.5037, allocations: 4.062 kB / 0.5774 GB, free: 3.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007403/0.5111, allocations: 5.871 MB / 0.5831 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.5125, allocations: 199.5 kB / 0.5833 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/0.538, allocations: 16.05 MB / 0.599 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.5393, allocations: 1.3 MB / 0.6002 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007266/0.5401, allocations: 271.7 kB / 0.6005 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.5406, allocations: 455.3 kB / 0.6009 GB, free: 9.684 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5407, allocations: 4 kB / 0.6009 GB, free: 9.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06663/0.6073, allocations: 35.86 MB / 0.6359 GB, free: 5.715 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.67, allocations: 18.5 kB / 0.636 GB, free: 5.703 MB / 478.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