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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002271/0.002271, allocations: 207.6 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.101/0.101, allocations: 16.94 MB / 329.4 MB, free: 2.059 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.89 kB / 459.7 MB, free: 2.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.102, allocations: 57.63 MB / 0.5052 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003339/0.1053, allocations: 1.733 MB / 0.5069 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.109, allocations: 1.855 MB / 0.5087 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.1092, allocations: 7.938 kB / 0.5087 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.1096, allocations: 123 kB / 0.5088 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.11, allocations: 166.9 kB / 0.509 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.1119, allocations: 0.9359 MB / 0.5099 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.1135, allocations: 1.431 MB / 0.5113 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.1137, allocations: 111.6 kB / 0.5114 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006442/0.1144, allocations: 0.5844 MB / 0.512 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007086/0.1151, allocations: 0.5173 MB / 0.5125 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.1153, allocations: 140 kB / 0.5126 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.192/0.3073, allocations: 0.9164 MB / 0.5135 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.3077, allocations: 213.2 kB / 0.5137 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.3083, allocations: 500 kB / 0.5142 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.3103, allocations: 1.83 MB / 0.516 GB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3103, allocations: 0 / 0.516 GB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3103, allocations: 0.8125 kB / 0.516 GB, free: 10.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.3103, allocations: 1.062 kB / 0.516 GB, free: 10.55 MB / 382.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.001711/0.312, allocations: 1.493 MB / 0.5174 GB, free: 9.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.312, allocations: 9.75 kB / 0.5174 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.3122, allocations: 172 kB / 0.5176 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.3126, allocations: 129.5 kB / 0.5177 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/0.3134, allocations: 497.9 kB / 0.5182 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.3136, allocations: 197.7 kB / 0.5184 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.3137, allocations: 117.3 kB / 0.5185 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/0.3171, allocations: 2.658 MB / 0.5211 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.3171, allocations: 2.062 kB / 0.5211 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.3172, allocations: 62.52 kB / 0.5212 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.3174, allocations: 91.19 kB / 0.5213 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002525/0.3199, allocations: 1.831 MB / 0.523 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004765/0.3247, allocations: 3.893 MB / 0.5268 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.3266, allocations: 1.43 MB / 0.5282 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.3282, allocations: 1.322 MB / 0.5295 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-05/0.3283, allocations: 8.578 kB / 0.5295 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002101/0.3304, allocations: 1.746 MB / 0.5312 GB, free: 3.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.224e-06/0.3304, allocations: 0 / 0.5312 GB, free: 3.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.006404/0.3368, allocations: 4.928 MB / 0.5361 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003266/0.3371, allocations: 0.6513 MB / 0.5367 GB, free: 108 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007449/0.3379, allocations: 0.5277 MB / 0.5372 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.338, allocations: 78.23 kB / 0.5373 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.3383, allocations: 354.9 kB / 0.5376 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.3385, allocations: 243.9 kB / 0.5379 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/0.3389, allocations: 301.3 kB / 0.5381 GB, free: 15.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3391, allocations: 328.4 kB / 0.5385 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.3402, allocations: 0.8808 MB / 0.5393 GB, free: 14.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.3419, allocations: 1.534 MB / 0.5408 GB, free: 13.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/0.3459, allocations: 3.216 MB / 0.544 GB, free: 10.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.346, allocations: 3.312 kB / 0.544 GB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003781/0.3497, allocations: 2.594 MB / 0.5465 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.35, allocations: 344.1 kB / 0.5468 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.35, allocations: 16.97 kB / 0.5468 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.006e-05/0.3501, allocations: 25.12 kB / 0.5469 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.3506, allocations: 159.9 kB / 0.547 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.902e-05/0.3506, allocations: 33.08 kB / 0.547 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/0.3513, allocations: 166.5 kB / 0.5472 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.3514, allocations: 69.84 kB / 0.5473 GB, free: 8.988 MB / 398.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.001347/0.3528, allocations: 0.8721 MB / 0.5481 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.353, allocations: 96.73 kB / 0.5482 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006195/0.3592, allocations: 3.907 MB / 0.552 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.3592, allocations: 5.969 kB / 0.552 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.3592, allocations: 3.984 kB / 0.552 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3592, allocations: 6.5 kB / 0.552 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007876/0.3671, allocations: 5.063 MB / 0.557 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3671, allocations: 0 / 0.557 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.3673, allocations: 38.14 kB / 0.557 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.3673, allocations: 6.172 kB / 0.557 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.3674, allocations: 57.84 kB / 0.5571 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.3674, allocations: 1.938 kB / 0.5571 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3674, allocations: 0 / 0.5571 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00606/0.3735, allocations: 4.04 MB / 0.561 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3736, allocations: 59.48 kB / 0.5611 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/0.3739, allocations: 87.98 kB / 0.5612 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/0.3746, allocations: 107.9 kB / 0.5613 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006578/0.3753, allocations: 383.8 kB / 0.5616 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.3754, allocations: 59.97 kB / 0.5617 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003838/0.3758, allocations: 299.1 kB / 0.562 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3758, allocations: 3.188 kB / 0.562 GB, free: 14.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00152/0.3773, allocations: 0.4911 MB / 0.5625 GB, free: 14.11 MB / 414.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.007455/0.3848, allocations: 4.949 MB / 0.5673 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004477/0.3893, allocations: 3.211 MB / 0.5704 GB, free: 5.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3893, allocations: 0 / 0.5704 GB, free: 5.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002842/0.3921, allocations: 2.027 MB / 0.5724 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.3928, allocations: 138.6 kB / 0.5725 GB, free: 3.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.4096, allocations: 11.61 MB / 0.5839 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.4101, allocations: 440.4 kB / 0.5843 GB, free: 6.535 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005494/0.4107, allocations: 213.2 kB / 0.5845 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.411, allocations: 252.4 kB / 0.5847 GB, free: 6.082 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.411, allocations: 0 / 0.5847 GB, free: 6.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06265/0.4737, allocations: 26.12 MB / 0.6103 GB, free: 12.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13, allocations: 10.52 kB / 0.6103 GB, free: 12.03 MB / 462.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.915302495937794]