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.001306/0.001306, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001551/0.001551, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.965 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.07712/0.07712, allocations: 16.95 MB / 329.4 MB, free: 2.27 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.002108/0.002108, allocations: 67.91 kB / 459.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1077, allocations: 57.63 MB / 0.5053 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003019/0.1107, allocations: 1.881 MB / 0.5071 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.1141, allocations: 1.944 MB / 0.509 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1143, allocations: 11.94 kB / 0.509 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.1146, allocations: 123 kB / 0.5091 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.115, allocations: 158.9 kB / 0.5093 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.117, allocations: 0.9632 MB / 0.5102 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.1186, allocations: 1.431 MB / 0.5116 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.1189, allocations: 107.6 kB / 0.5117 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008245/0.1197, allocations: 0.5882 MB / 0.5123 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008137/0.1205, allocations: 0.5564 MB / 0.5129 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.1207, allocations: 140 kB / 0.513 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2362/0.3569, allocations: 0.994 MB / 0.514 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004033/0.3573, allocations: 220.9 kB / 0.5142 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008564/0.3581, allocations: 0.5673 MB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.3604, allocations: 1.831 MB / 0.5165 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3604, allocations: 2.203 kB / 0.5165 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3604, allocations: 1.219 kB / 0.5165 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.3604, allocations: 3.938 kB / 0.5165 GB, free: 10 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.001987/0.3624, allocations: 1.504 MB / 0.518 GB, free: 9.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3624, allocations: 9.156 kB / 0.518 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002185/0.3626, allocations: 168.7 kB / 0.5182 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.363, allocations: 134.2 kB / 0.5183 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008238/0.3639, allocations: 497.7 kB / 0.5188 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.364, allocations: 196.4 kB / 0.5189 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.3642, allocations: 116.7 kB / 0.5191 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.3674, allocations: 2.025 MB / 0.521 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.3674, allocations: 8.906 kB / 0.521 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.3676, allocations: 57.23 kB / 0.5211 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001836/0.3678, allocations: 95.59 kB / 0.5212 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.3706, allocations: 1.426 MB / 0.5226 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005423/0.376, allocations: 4.204 MB / 0.5267 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.3777, allocations: 1.021 MB / 0.5277 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.3791, allocations: 0.9257 MB / 0.5286 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.511e-05/0.3792, allocations: 8.516 kB / 0.5286 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/0.3811, allocations: 1.302 MB / 0.5299 GB, free: 4.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.435e-06/0.3811, allocations: 0 / 0.5299 GB, free: 4.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.005504/0.3866, allocations: 3.976 MB / 0.5338 GB, free: 3.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002918/0.3869, allocations: 0.6603 MB / 0.5344 GB, free: 2.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/0.3875, allocations: 0.5138 MB / 0.5349 GB, free: 2.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.455e-05/0.3876, allocations: 71.83 kB / 0.535 GB, free: 2.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.3878, allocations: 366 kB / 0.5353 GB, free: 1.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.388, allocations: 238.2 kB / 0.5355 GB, free: 1.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/0.3884, allocations: 296.8 kB / 0.5358 GB, free: 1.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.3885, allocations: 325.7 kB / 0.5361 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.3893, allocations: 0.5545 MB / 0.5367 GB, free: 1.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009626/0.3903, allocations: 1.024 MB / 0.5377 GB, free: 404 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/0.3939, allocations: 3.202 MB / 0.5408 GB, free: 14.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.3939, allocations: 3.438 kB / 0.5408 GB, free: 14.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003255/0.3971, allocations: 2.241 MB / 0.543 GB, free: 13.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002835/0.3974, allocations: 351.4 kB / 0.5433 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.3974, allocations: 14.91 kB / 0.5433 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/0.3975, allocations: 32.08 kB / 0.5434 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.3979, allocations: 154.2 kB / 0.5435 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.24e-05/0.398, allocations: 30.34 kB / 0.5436 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/0.3987, allocations: 166.4 kB / 0.5437 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.3988, allocations: 71.78 kB / 0.5438 GB, free: 12.68 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.001419/0.4002, allocations: 0.8881 MB / 0.5446 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.4004, allocations: 99.94 kB / 0.5447 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005256/0.4057, allocations: 3.361 MB / 0.548 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.4057, allocations: 5.969 kB / 0.548 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4057, allocations: 1.875 kB / 0.548 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.4057, allocations: 3.984 kB / 0.548 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007509/0.4132, allocations: 4.731 MB / 0.5527 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.4132, allocations: 6.219 kB / 0.5527 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.4134, allocations: 45.56 kB / 0.5527 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.4134, allocations: 10.2 kB / 0.5527 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.4135, allocations: 51.66 kB / 0.5528 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4135, allocations: 2.938 kB / 0.5528 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4135, allocations: 0 / 0.5528 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005235/0.4188, allocations: 3.481 MB / 0.5562 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.4189, allocations: 67.38 kB / 0.5562 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.4192, allocations: 87.97 kB / 0.5563 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/0.4198, allocations: 110.1 kB / 0.5564 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006895/0.4205, allocations: 380.1 kB / 0.5568 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.4207, allocations: 66.55 kB / 0.5568 GB, free: 4.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004029/0.4211, allocations: 299.1 kB / 0.5571 GB, free: 4.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4211, allocations: 0 / 0.5571 GB, free: 4.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001773/0.4228, allocations: 498.7 kB / 0.5576 GB, free: 3.816 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.006718/0.4296, allocations: 4.392 MB / 0.5619 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00376/0.4333, allocations: 2.458 MB / 0.5643 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4333, allocations: 4.125 kB / 0.5643 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.4356, allocations: 1.643 MB / 0.5659 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/0.4364, allocations: 140.7 kB / 0.566 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.4511, allocations: 9.828 MB / 0.5756 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/0.4518, allocations: 1.03 MB / 0.5766 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005071/0.4523, allocations: 205.3 kB / 0.5768 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.4526, allocations: 259.3 kB / 0.5771 GB, free: 15.17 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4526, allocations: 3.938 kB / 0.5771 GB, free: 15.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1454/0.598, allocations: 25.34 MB / 0.6018 GB, free: 5.871 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.25, allocations: 6.297 kB / 0.6018 GB, free: 5.871 MB / 446.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: 16.262234862995683]