Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",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.007445/0.007452, allocations: 99.59 kB / 15.73 MB, free: 6.035 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.001558/0.001559, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2346/0.2346, allocations: 16.76 MB / 307.3 MB, free: 14.83 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 66.64 kB / 425.9 MB, free: 37.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1187, allocations: 53.48 MB / 479.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003152/0.1219, allocations: 1.969 MB / 481.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.1248, allocations: 1.557 MB / 482.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000371/0.1252, allocations: 6.75 kB / 482.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.1256, allocations: 138.8 kB / 483 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.1261, allocations: 169.5 kB / 483.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1277, allocations: 0.6539 MB / 483.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.1295, allocations: 1.444 MB / 485.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005588/0.1301, allocations: 271.3 kB / 485.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008449/0.131, allocations: 0.5504 MB / 486.1 MB, free: 6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006647/0.1316, allocations: 498.7 kB / 486.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.1319, allocations: 133.1 kB / 486.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.133, allocations: 0.4952 MB / 487.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.1332, allocations: 247.1 kB / 487.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.1337, allocations: 0.5601 MB / 488 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.1352, allocations: 1.589 MB / 489.6 MB, free: 3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1352, allocations: 0 / 489.6 MB, free: 3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1352, allocations: 4 kB / 489.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1352, allocations: 0 / 489.6 MB, free: 2.996 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001909/0.1371, allocations: 1.59 MB / 491.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1372, allocations: 23.83 kB / 491.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.1374, allocations: 180.5 kB / 491.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.1385, allocations: 232.2 kB / 491.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007486/0.1393, allocations: 0.5453 MB / 492.2 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.1395, allocations: 260.2 kB / 492.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.1397, allocations: 120 kB / 492.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/0.1429, allocations: 1.947 MB / 494.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.143, allocations: 7.938 kB / 494.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.1431, allocations: 59.97 kB / 494.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001787/0.1433, allocations: 105.9 kB / 494.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.146, allocations: 1.413 MB / 496.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.1517, allocations: 3.535 MB / 499.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.1541, allocations: 1.844 MB / 0.4897 GB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.1559, allocations: 1.682 MB / 0.4913 GB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002338/0.1583, allocations: 3.054 MB / 0.4943 GB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/0.16, allocations: 1.095 MB / 0.4954 GB, free: 236 kB / 366.1 MB Notification: Performance of pre-optimization done (n=88): time 5.781e-06/0.1601, allocations: 0 / 0.4954 GB, free: 236 kB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.005617/0.1657, allocations: 3.352 MB / 0.4986 GB, free: 12.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004809/0.1662, allocations: 0.6665 MB / 0.4993 GB, free: 12.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007765/0.167, allocations: 0.5053 MB / 0.4998 GB, free: 11.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.1671, allocations: 69.69 kB / 0.4999 GB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.1675, allocations: 396.6 kB / 0.5002 GB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.1678, allocations: 242.2 kB / 0.5005 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/0.1682, allocations: 302.9 kB / 0.5008 GB, free: 10.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.1684, allocations: 382.8 kB / 0.5011 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009722/0.1694, allocations: 0.5615 MB / 0.5017 GB, free: 9.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.1708, allocations: 1.038 MB / 0.5027 GB, free: 8.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004137/0.1749, allocations: 3.131 MB / 0.5057 GB, free: 4.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-05/0.175, allocations: 4 kB / 0.5057 GB, free: 4.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003544/0.1786, allocations: 2.239 MB / 0.5079 GB, free: 2.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002897/0.1789, allocations: 386.6 kB / 0.5083 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00172/0.1806, allocations: 1.221 MB / 0.5095 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.476e-05/0.1807, allocations: 20 kB / 0.5095 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.1812, allocations: 167.6 kB / 0.5097 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.321e-05/0.1813, allocations: 31.86 kB / 0.5097 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/0.182, allocations: 167 kB / 0.5099 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.1822, allocations: 79.98 kB / 0.5099 GB, free: 296 kB / 382.1 MB Warning: Assuming fixed start value for the following 21 variables: 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 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($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.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireOut[1],P1.fireIn[1],$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.001442/0.1836, allocations: 0.9015 MB / 0.5108 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.1839, allocations: 99.61 kB / 0.5109 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.1882, allocations: 2.713 MB / 0.5136 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.1882, allocations: 8 kB / 0.5136 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1883, allocations: 0 / 0.5136 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.1883, allocations: 7.984 kB / 0.5136 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006799/0.1951, allocations: 4.085 MB / 0.5176 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003938/0.1991, allocations: 2.644 MB / 0.5201 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.1994, allocations: 43.91 kB / 0.5202 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.1994, allocations: 8 kB / 0.5202 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.1995, allocations: 51.97 kB / 0.5202 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.1995, allocations: 0 / 0.5202 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1996, allocations: 3.938 kB / 0.5202 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007543/0.2071, allocations: 4.092 MB / 0.5242 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.2074, allocations: 140.6 kB / 0.5244 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.2076, allocations: 83.98 kB / 0.5245 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.2083, allocations: 95.97 kB / 0.5246 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006873/0.209, allocations: 367.6 kB / 0.5249 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.2092, allocations: 59.97 kB / 0.525 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004376/0.2097, allocations: 295.1 kB / 0.5252 GB, free: 244 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2097, allocations: 0 / 0.5252 GB, free: 244 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001737/0.2114, allocations: 403.4 kB / 0.5256 GB, free: 15.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,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.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.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.007706/0.2191, allocations: 4.923 MB / 0.5304 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003909/0.2231, allocations: 2.595 MB / 0.533 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.2231, allocations: 0 / 0.533 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003652/0.2268, allocations: 3.438 MB / 0.5363 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.2276, allocations: 115.9 kB / 0.5364 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.2432, allocations: 9.781 MB / 0.546 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007835/0.2441, allocations: 1.06 MB / 0.547 GB, free: 9.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005345/0.2446, allocations: 193.5 kB / 0.5472 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.245, allocations: 271.3 kB / 0.5475 GB, free: 8.566 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.245, allocations: 0 / 0.5475 GB, free: 8.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05133/0.2964, allocations: 21.96 MB / 0.5689 GB, free: 2.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.841/9.137, allocations: 11.17 kB / 0.5689 GB, free: 2.516 MB / 446.1 MB (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_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_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches