Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TESTest.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.001828/0.001828, allocations: 107.6 kB / 16.45 MB, free: 6.02 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.002201/0.002201, allocations: 208.3 kB / 19.43 MB, free: 3.516 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.407/1.407, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08165/0.08165, allocations: 16.96 MB / 325.8 MB, free: 3.504 MB / 254.1 MB " [Timeout remaining time 180] 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.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.ExtTest.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",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.002331/0.002331, allocations: 67.89 kB / 454.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.105, allocations: 57.58 MB / 0.5002 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TESTest): time 0.004651/0.1096, allocations: 2.94 MB / 0.503 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008939/0.1186, allocations: 4.585 MB / 0.5075 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.1199, allocations: 23.88 kB / 0.5075 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008365/0.1207, allocations: 242 kB / 0.5078 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007138/0.1214, allocations: 286 kB / 0.5081 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004467/0.1259, allocations: 1.683 MB / 0.5097 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2349/0.3608, allocations: 2.785 MB / 0.5124 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004429/0.3612, allocations: 237.4 kB / 0.5126 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.3625, allocations: 1.151 MB / 0.5138 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009828/0.3635, allocations: 0.8766 MB / 0.5146 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.3637, allocations: 216.9 kB / 0.5148 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.3651, allocations: 0.9811 MB / 0.5158 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.3655, allocations: 374.6 kB / 0.5161 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009412/0.3664, allocations: 0.9152 MB / 0.517 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.3699, allocations: 2.655 MB / 0.5196 GB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3699, allocations: 0 / 0.5196 GB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3699, allocations: 0 / 0.5196 GB, free: 8.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.782e-05/0.37, allocations: 3.688 kB / 0.5196 GB, free: 8.09 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.003809/0.3738, allocations: 2.614 MB / 0.5222 GB, free: 6.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3738, allocations: 10.31 kB / 0.5222 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003625/0.3742, allocations: 264.6 kB / 0.5224 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007499/0.375, allocations: 233.1 kB / 0.5227 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.3761, allocations: 0.8026 MB / 0.5235 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.3762, allocations: 215.9 kB / 0.5237 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.3765, allocations: 188.8 kB / 0.5238 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005303/0.3818, allocations: 3.212 MB / 0.527 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.3818, allocations: 6.094 kB / 0.527 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.3821, allocations: 95.91 kB / 0.5271 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003017/0.3824, allocations: 156.4 kB / 0.5272 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/0.3862, allocations: 2.206 MB / 0.5294 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009403/0.3956, allocations: 7.231 MB / 0.5364 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/0.3985, allocations: 1.599 MB / 0.538 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.401, allocations: 1.433 MB / 0.5394 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.4011, allocations: 88.95 kB / 0.5395 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00335/0.4044, allocations: 2.174 MB / 0.5416 GB, free: 11.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=180): time 2.555e-06/0.4044, allocations: 0 / 0.5416 GB, free: 11.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01012/0.4146, allocations: 6.397 MB / 0.5479 GB, free: 8.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009495/0.4155, allocations: 1.339 MB / 0.5492 GB, free: 6.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.4166, allocations: 0.8296 MB / 0.55 GB, free: 6.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.4169, allocations: 123.4 kB / 0.5501 GB, free: 6.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/0.4173, allocations: 0.523 MB / 0.5506 GB, free: 5.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/0.4178, allocations: 471.3 kB / 0.551 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007112/0.4185, allocations: 0.5168 MB / 0.5516 GB, free: 5.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4187, allocations: 344.7 kB / 0.5519 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.4202, allocations: 0.9244 MB / 0.5528 GB, free: 4.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.4224, allocations: 1.767 MB / 0.5545 GB, free: 2.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007891/0.4303, allocations: 5.731 MB / 0.5601 GB, free: 12.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.977e-05/0.4304, allocations: 12.44 kB / 0.5601 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.006873/0.4373, allocations: 4.012 MB / 0.564 GB, free: 8.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005914/0.4378, allocations: 0.7624 MB / 0.5648 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.152e-05/0.4379, allocations: 24 kB / 0.5648 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-05/0.438, allocations: 36 kB / 0.5648 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008495/0.4388, allocations: 277.7 kB / 0.5651 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.629e-05/0.4389, allocations: 53.72 kB / 0.5652 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4402, allocations: 294.7 kB / 0.5654 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.4404, allocations: 129.9 kB / 0.5656 GB, free: 6.629 MB / 414.1 MB Warning: Assuming fixed start value for the following 50 variables: P2.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer 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 T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer T1.TimeOver:DISCRETE(fixed = true ) type: Boolean T2.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: 109 * Number of states: 0 () * Number of discrete variables: 286 ($PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.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,$whenCondition15,$PRE.P2.reStart,$whenCondition12,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition10,$whenCondition11,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition13,$whenCondition14,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.tokenChange.vec[1],$PRE.P1.tokeninout,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition5,P2.firingSumOut.firingSum,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P2.reStart,P1.reStart,P2.enableIn.disTransition[1],P1.enableIn.disTransition[1],$PRE.T1.r128,$PRE.T1.state128[4],$PRE.T1.state128[3],$PRE.T1.state128[2],$PRE.T1.state128[1],$PRE.T1.TimeOver,$PRE.T1.putEvent,$PRE.T1.putFireTime,$PRE.T2.firingTime,$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P2.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],T2.activation.disPlaceOut[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.eventPassed,$PRE.T1.eventPassed,T1.r128,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.outPlaces[1].enabledByInPlaces,T1.active,T1.TimeOver,T1.putEvent,T1.putFireTime,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.t,$PRE.P2.t,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,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition7,$whenCondition8,$whenCondition9,P2.inTransition[1].emptied,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 (302): * Single equations (assignments): 276 * Array equations: 2 * Algorithm blocks: 24 * 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.002608/0.443, allocations: 1.626 MB / 0.5671 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/0.4434, allocations: 175.2 kB / 0.5673 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008427/0.4519, allocations: 5.245 MB / 0.5724 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.464e-05/0.4519, allocations: 12.81 kB / 0.5725 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4519, allocations: 4 kB / 0.5725 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.4519, allocations: 11.92 kB / 0.5725 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.4637, allocations: 7.422 MB / 0.5797 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.4637, allocations: 3.984 kB / 0.5797 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.464, allocations: 63.03 kB / 0.5798 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.464, allocations: 4 kB / 0.5798 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/0.4642, allocations: 94.61 kB / 0.5799 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.4642, allocations: 8 kB / 0.5799 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4642, allocations: 0.6875 kB / 0.5799 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00922/0.4734, allocations: 5.71 MB / 0.5855 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.4737, allocations: 208 kB / 0.5857 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005081/0.4742, allocations: 171.9 kB / 0.5858 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.4753, allocations: 163.9 kB / 0.586 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008326/0.4761, allocations: 470.9 kB / 0.5864 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/0.4764, allocations: 115.4 kB / 0.5865 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000627/0.477, allocations: 471 kB / 0.587 GB, free: 304 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.477, allocations: 0 / 0.587 GB, free: 304 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002483/0.4795, allocations: 0.7178 MB / 0.5877 GB, free: 15.58 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 158 ($whenCondition1,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,T2.active,$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.t,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,P2.t,P2.tokeninout,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T1.putFireTime,T1.putEvent,T1.TimeOver,T1.active,T1.outPlaces[1].enabledByInPlaces,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.fireTime,T1.eventPassed,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,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue) * Number of discrete states: 117 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.tokeninout,P2.t,P1.t,P1.activeOut[1],T1.putFireTime,T1.putEvent,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition6,T1.TimeOver,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.eventPassed,T2.eventIndex,$whenCondition5,T2.activation.active,T2.eventPassed,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$whenCondition3,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableOut.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition1,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 58 * Array equations: 2 * Algorithm blocks: 19 * Record equations: 0 * When equations: 7 * 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.01099/0.4905, allocations: 6.792 MB / 0.5943 GB, free: 8.688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006582/0.4971, allocations: 4.528 MB / 0.5987 GB, free: 3.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4971, allocations: 448 / 0.5987 GB, free: 3.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004084/0.5011, allocations: 3.003 MB / 0.6017 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.5024, allocations: 255 kB / 0.6019 GB, free: 500 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/0.5294, allocations: 16.87 MB / 0.6184 GB, free: 14.63 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.5305, allocations: 1.282 MB / 0.6196 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009237/0.5314, allocations: 364.8 kB / 0.62 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/0.532, allocations: 467.3 kB / 0.6204 GB, free: 12.51 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.532, allocations: 4 kB / 0.6204 GB, free: 12.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08015/0.6122, allocations: 38.99 MB / 0.6585 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.73, allocations: 15.97 kB / 0.6585 GB, free: 5.418 MB / 0.4981 GB " [Timeout remaining time 649] (rm -f PNlib_PNlib.Examples.ExtTest.TESTest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TESTest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TESTest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TESTest.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ExtTest.TESTest_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_ExtTest_TESTest.fmu > PNlib_PNlib.Examples.ExtTest.TESTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TESTest_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TESTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TESTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv failed! Error: Could not read variable P2.t in file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv. Warning: Get data of variable P2.t from file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv failed! Error: Could not read variable T1.putFireTime in file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv. Warning: Get data of variable T1.putFireTime from file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv failed! Error: Could not read variable T2.active in file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv. Warning: Get data of variable T2.active from file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv failed! Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv. Warning: Get data of variable T2.fire from file PNlib_PNlib.Examples.ExtTest.TESTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.43648102786392]