Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",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.006452/0.006452, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.001487/0.001487, allocations: 196.4 kB / 16.68 MB, free: 5.484 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.219/0.219, allocations: 16.75 MB / 307.3 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 65.39 kB / 425.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.0973, allocations: 53.47 MB / 479.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.00278/0.1001, allocations: 1.865 MB / 481.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.1035, allocations: 1.921 MB / 483.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004196/0.1039, allocations: 5.375 kB / 483.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.1043, allocations: 113.6 kB / 483.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.1047, allocations: 137.4 kB / 483.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.1065, allocations: 0.9027 MB / 484.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.1081, allocations: 1.503 MB / 485.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.1085, allocations: 259.4 kB / 486 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005875/0.1091, allocations: 0.5688 MB / 486.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.1096, allocations: 0.4964 MB / 487.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.1098, allocations: 138.5 kB / 487.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.111, allocations: 0.8024 MB / 488 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.1112, allocations: 207.2 kB / 488.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.1116, allocations: 0.5759 MB / 488.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.1132, allocations: 1.815 MB / 490.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1132, allocations: 0 / 490.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1132, allocations: 3.938 kB / 490.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1133, allocations: 3.984 kB / 490.6 MB, free: 1.949 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001703/0.115, allocations: 1.581 MB / 492.2 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.115, allocations: 15.89 kB / 492.2 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.1152, allocations: 164 kB / 492.4 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004501/0.1157, allocations: 132.4 kB / 492.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.1167, allocations: 0.5464 MB / 493.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.1169, allocations: 145.4 kB / 493.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.117, allocations: 112 kB / 493.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.1204, allocations: 2.025 MB / 495.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.1205, allocations: 7.938 kB / 495.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.1207, allocations: 59.95 kB / 495.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/0.1209, allocations: 97.23 kB / 495.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.1234, allocations: 1.423 MB / 496.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006173/0.1296, allocations: 4.244 MB / 0.4894 GB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/0.1326, allocations: 2.403 MB / 0.4918 GB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002689/0.1353, allocations: 2.312 MB / 0.494 GB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.1355, allocations: 81.11 kB / 0.4941 GB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002275/0.1378, allocations: 1.311 MB / 0.4954 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.525e-06/0.1378, allocations: 0 / 0.4954 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of matching and sorting (n=91): time 0.006904/0.1447, allocations: 3.963 MB / 0.4993 GB, free: 12.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005214/0.1452, allocations: 0.6613 MB / 0.4999 GB, free: 12.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.146, allocations: 0.5169 MB / 0.5004 GB, free: 11.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.1461, allocations: 77.67 kB / 0.5005 GB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.1464, allocations: 356.9 kB / 0.5008 GB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.1467, allocations: 242.3 kB / 0.5011 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000454/0.1472, allocations: 306.7 kB / 0.5014 GB, free: 10.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1473, allocations: 326 kB / 0.5017 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009523/0.1483, allocations: 0.5498 MB / 0.5022 GB, free: 9.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.1497, allocations: 1.025 MB / 0.5032 GB, free: 8.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/0.1538, allocations: 3.204 MB / 0.5063 GB, free: 4.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/0.1539, allocations: 4 kB / 0.5063 GB, free: 4.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003584/0.1575, allocations: 2.226 MB / 0.5085 GB, free: 2.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.1577, allocations: 356.9 kB / 0.5089 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.381e-05/0.1578, allocations: 16 kB / 0.5089 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/0.1578, allocations: 20 kB / 0.5089 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.1583, allocations: 163.5 kB / 0.509 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.091e-05/0.1583, allocations: 23.94 kB / 0.5091 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/0.159, allocations: 167 kB / 0.5092 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.1591, allocations: 71.98 kB / 0.5093 GB, free: 1.676 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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 ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001436/0.1606, allocations: 0.8964 MB / 0.5102 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.1609, allocations: 107.5 kB / 0.5103 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005334/0.1662, allocations: 3.345 MB / 0.5135 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.32e-05/0.1662, allocations: 8 kB / 0.5135 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1663, allocations: 0 / 0.5135 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1663, allocations: 0 / 0.5135 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007293/0.1736, allocations: 4.756 MB / 0.5182 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.1736, allocations: 0 / 0.5182 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.1738, allocations: 39.91 kB / 0.5182 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1738, allocations: 0 / 0.5182 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.174, allocations: 63.95 kB / 0.5183 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.174, allocations: 80 / 0.5183 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.174, allocations: 3.984 kB / 0.5183 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005446/0.1794, allocations: 3.471 MB / 0.5217 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.1797, allocations: 148.5 kB / 0.5218 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.18, allocations: 99.97 kB / 0.5219 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/0.1806, allocations: 103.9 kB / 0.522 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007089/0.1814, allocations: 376.1 kB / 0.5224 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.1816, allocations: 63.97 kB / 0.5224 GB, free: 3.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004172/0.182, allocations: 299.1 kB / 0.5227 GB, free: 3.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.182, allocations: 0 / 0.5227 GB, free: 3.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001627/0.1836, allocations: 495.2 kB / 0.5232 GB, free: 3.129 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006928/0.1906, allocations: 4.393 MB / 0.5275 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003936/0.1945, allocations: 2.665 MB / 0.5301 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1945, allocations: 0 / 0.5301 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004647/0.1992, allocations: 4.49 MB / 0.5345 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008123/0.2, allocations: 135 kB / 0.5346 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/0.2164, allocations: 9.826 MB / 0.5442 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/0.2173, allocations: 1.03 MB / 0.5452 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005464/0.2179, allocations: 209.2 kB / 0.5454 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.2183, allocations: 255.3 kB / 0.5456 GB, free: 11.29 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2183, allocations: 0 / 0.5456 GB, free: 11.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/0.2789, allocations: 24.15 MB / 0.5692 GB, free: 3.086 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.183/9.462, allocations: 11.73 kB / 0.5692 GB, free: 3.074 MB / 446.1 MB (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_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_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches