Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2.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.0007426/0.0007426, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009823/0.001725, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 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.0006893/0.0006893, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008754/0.001565, allocations: 480.2 kB / 11.64 MB, free: 2.535 MB / 13.93 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 0.8583/0.8583, allocations: 177.1 MB / 189.5 MB, free: 3.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1352/0.9936, allocations: 53.66 MB / 243.2 MB, free: 2.344 MB / 234.7 MB " [Timeout remaining time 179] 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.04846/0.04846, allocations: 12.67 MB / 256.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006434/0.05489, allocations: 4.691 MB / 261.3 MB, free: 0.5156 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.ExtTest.IAwithPDtoTD2,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_IAwithPDtoTD2",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.IAwithPDtoTD2,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_IAwithPDtoTD2",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 262.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.065e-06/9.518e-06, allocations: 2.312 kB / 262.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.IAwithPDtoTD2): time 0.004095/0.004105, allocations: 3.283 MB / 265.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005468/0.009573, allocations: 3.294 MB / 269.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005689/0.01014, allocations: 27.81 kB / 269.1 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005648/0.01071, allocations: 317.3 kB / 269.4 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008249/0.01153, allocations: 405.2 kB / 269.8 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.01468, allocations: 1.696 MB / 271.5 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004381/0.01906, allocations: 3.834 MB / 275.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.01955, allocations: 290 kB / 275.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.02212, allocations: 2.29 MB / 277.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.02336, allocations: 0.9463 MB / 278.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000376/0.02373, allocations: 268 kB / 279.1 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.02534, allocations: 1.119 MB / 280.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000413/0.02576, allocations: 418.3 kB / 280.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008753/0.02663, allocations: 0.6477 MB / 281.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.0293, allocations: 2.434 MB / 283.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.02932, allocations: 0 / 283.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.02932, allocations: 0 / 283.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.02934, allocations: 0 / 283.7 MB, free: 9.957 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.003606/0.03295, allocations: 3.166 MB / 286.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.03299, allocations: 8.031 kB / 286.9 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004084/0.0334, allocations: 360.4 kB / 287.3 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009738/0.03437, allocations: 0.5397 MB / 287.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.03547, allocations: 0.5794 MB / 288.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.03584, allocations: 0.5251 MB / 288.9 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.03621, allocations: 260 kB / 289.1 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004508/0.04071, allocations: 4.252 MB / 293.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.04076, allocations: 7.938 kB / 293.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/0.041, allocations: 116 kB / 293.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002844/0.04128, allocations: 198.6 kB / 293.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.04399, allocations: 2.397 MB / 296.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005615/0.04961, allocations: 8.371 MB / 304.5 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.05114, allocations: 2.248 MB / 306.7 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.05238, allocations: 1.907 MB / 308.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.434e-05/0.05245, allocations: 21 kB / 308.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/0.05432, allocations: 2.935 MB / 311.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=236): time 2.435e-06/0.05432, allocations: 0 / 311.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=236): time 0.003978/0.0583, allocations: 5.942 MB / 317.5 MB, free: 5.793 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005487/0.05885, allocations: 1.595 MB / 319.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.05938, allocations: 0.9042 MB / 320 MB, free: 2.977 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.05952, allocations: 149.7 kB / 320.2 MB, free: 2.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.05981, allocations: 0.6322 MB / 320.8 MB, free: 2.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000439/0.06025, allocations: 0.6049 MB / 321.4 MB, free: 1.574 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005435/0.06079, allocations: 0.6846 MB / 322.1 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.06089, allocations: 357.8 kB / 322.5 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000852/0.06174, allocations: 1.414 MB / 323.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.06314, allocations: 2.917 MB / 326.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/0.06587, allocations: 4.773 MB / 331.6 MB, free: 5.555 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/0.06589, allocations: 12 kB / 331.6 MB, free: 5.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.002891/0.06878, allocations: 3.932 MB / 335.5 MB, free: 1.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003279/0.06911, allocations: 0.9113 MB / 336.4 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/0.06915, allocations: 36 kB / 336.4 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.653e-05/0.06919, allocations: 52 kB / 336.5 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.101/0.1702, allocations: 0.5756 MB / 337.1 MB, free: 65.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.265e-05/0.1702, allocations: 72.48 kB / 337.1 MB, free: 65.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.1713, allocations: 399.7 kB / 337.5 MB, free: 65.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.1715, allocations: 145.6 kB / 337.7 MB, free: 65.97 MB / 330.7 MB Warning: Assuming fixed start value for the following 72 variables: P3.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P3.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P3.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P3.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer 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.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 T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P3.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P3.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer 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 P3.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P3.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P3.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P3.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" 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 P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 T2.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real 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: 158 * Number of states: 0 () * Number of discrete variables: 384 ($PRE.P3.enableIn.valid,P3.enableIn.valid,$PRE.P3.enableIn.benefitLimit,P3.enableIn.benefitLimit,$PRE.P3.enableIn.benefitMax,P3.enableIn.benefitMax,$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,P3.enableIn.randNum,$PRE.P3.enableIn.randNum,P3.enableIn.state128[4],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],$PRE.P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$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.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[2],$PRE.P1.enableOut.cumEnablingProb[2],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[2],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition19,$PRE.P2.reStart,$whenCondition16,$PRE.P3.reStart,$whenCondition13,T2.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P3.firingSumOut.firingSum,$PRE.P3.firingSumIn.firingSum,P3.tokeninout,$whenCondition11,$whenCondition12,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition14,$whenCondition15,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition17,$whenCondition18,P3.firingSumOut.firingSum,P2.firingSumOut.firingSum,P1.firingSumIn.firingSum,$PRE.P3.enableOut.benefitLimit,P3.enableOut.benefitLimit,$PRE.P3.enableOut.valid,P3.enableOut.valid,$PRE.P3.enableOut.benefitMax,P3.enableOut.benefitMax,$PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,P3.enableOut.randNum,$PRE.P3.enableOut.randNum,P3.enableOut.state128[4],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[1],$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,P3.enableOut.arcWeightSum,$PRE.P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange,$whenCondition3,$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,$whenCondition2,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.outTransition[1].fed,P1.outTransition[2].arcType,P1.outTransition[2].fed,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,P2.inTransition[1].emptied,P3.inTransition[1].emptied,P2.enableIn.disTransition[1],P3.enableIn.disTransition[1],P1.reStart,P2.reStart,P3.reStart,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon,P1.outTransition[2].disPlace,T2.inPlaces[1].disTransition,$PRE.T2.firingTime,$PRE.T1.firingTime,$PRE.P3.enableIn.arcWeightSum,$PRE.P3.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[1],T2.activation.arcWeightIntIn[1],P1.enableOut.arcWeight[2],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],T2.activation.disPlaceIn[1],P1.enableOut.disTransition[2],T2.activation.disPlaceOut[1],P3.enableIn.arcWeight[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],T2.activation.testValueInt[1],TA1.outTransition.arcType,T2.activation.active,T2.activation.normalArc[1],T2.activation.maxTokensInt[1],T2.activation.minTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.arcType[1],T2.activation.tIntOut[1],T2.activation.tIntIn[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.outPlaces[1].enabledByInPlaces,T2.active,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,P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.active[1],P3.enableIn.TAein[1],P3.firingSumIn.firingSum,P3.firingSumIn.arcWeight[1],P3.firingSumIn.fire[1],P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedIn.vec[1],P3.t,$PRE.P3.t,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.enableOut.arcWeightSum,P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[2],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[2],P1.activeConOut.vec[1],P1.activeOut[2],$PRE.P1.activeOut[2],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,P3.inTransition[1].disPlace,T2.outPlaces[1].disTransition,T2.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (411): * Single equations (assignments): 381 * Array equations: 1 * Algorithm blocks: 29 * 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.001465/0.173, allocations: 1.742 MB / 339.4 MB, free: 65.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.1734, allocations: 340.6 kB / 339.8 MB, free: 65.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.176, allocations: 3.337 MB / 343.1 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.176, allocations: 14.67 kB / 343.1 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.176, allocations: 3.234 kB / 343.1 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.176, allocations: 12.92 kB / 343.1 MB, free: 64.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.1798, allocations: 4.939 MB / 348.1 MB, free: 62.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1798, allocations: 0.7188 kB / 348.1 MB, free: 62.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.1799, allocations: 108.3 kB / 348.2 MB, free: 62.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1799, allocations: 3.688 kB / 348.2 MB, free: 62.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.1801, allocations: 113 kB / 348.3 MB, free: 62.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1801, allocations: 11.95 kB / 348.3 MB, free: 62.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1801, allocations: 0 / 348.3 MB, free: 62.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.1825, allocations: 4.704 MB / 353 MB, free: 60.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.1826, allocations: 159.2 kB / 353.2 MB, free: 60.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/0.1829, allocations: 216.3 kB / 353.4 MB, free: 60.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.1834, allocations: 200.3 kB / 353.6 MB, free: 60.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006256/0.184, allocations: 0.7085 MB / 354.3 MB, free: 59.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/0.1841, allocations: 130 kB / 354.4 MB, free: 59.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.1843, allocations: 314.5 kB / 354.7 MB, free: 59.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1843, allocations: 0 / 354.7 MB, free: 59.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001377/0.1857, allocations: 0.8725 MB / 355.6 MB, free: 58.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 212 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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,$whenCondition2,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,$whenCondition3,P3.activeConOut.anychange,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.enableOut.benefitMax,P3.enableOut.valid,P3.enableOut.benefitLimit,T1.active,T2.active,$whenCondition18,$whenCondition17,$whenCondition19,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition12,$whenCondition11,$whenCondition13,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeOut[2],P1.activeConOut.vec[1],P1.activeConOut.vec[2],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],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,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,P3.t,P3.tokeninout,P3.delayPassedIn.vec[1],P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.firingSumIn.fire[1],P3.firingSumIn.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumOut.firingSum,P3.enableIn.TAein[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.enableIn.benefitMax,P3.enableIn.valid,P3.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,T2.inPlaces[1].tokenInOut,T2.outPlaces[1].enabledByInPlaces,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcType[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.normalArc[1],T2.activation.active) * Number of discrete states: 151 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P3.firingSumOut.firingSum,P3.firingSumIn.firingSum,P1.tokeninout,P3.t,P2.t,P1.t,P1.activeOut[1],P1.activeOut[2],T2.activation.active,T2.delayPassed,T1.activation.active,T1.delayPassed,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[2],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[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition4,P1.enableOut.arcWeightSum,P1.enableOut.TEout[2],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,$whenCondition5,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P3.enableIn.TEin_[1],P3.enableIn.valid,P3.enableIn.benefitLimit,P3.enableIn.benefitMax,P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,$whenCondition6,P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],P3.enableOut.benefitLimit,P3.enableOut.valid,P3.enableOut.benefitMax,P3.enableOut.Index,P3.enableOut.endWhile,P3.enableOut.sumEnablingProbTAout,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.randNum,P3.enableOut.posTE,P3.enableOut.k,P3.enableOut.nTAout,P3.enableOut.nremTAout,$whenCondition3,P3.enableOut.arcWeightSum,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeConOut.anychange,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,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 84 * Array equations: 1 * Algorithm blocks: 23 * Record equations: 0 * When equations: 9 * 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.003566/0.1893, allocations: 5.856 MB / 361.4 MB, free: 52.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002721/0.192, allocations: 5.934 MB / 367.4 MB, free: 46.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.523e-05/0.192, allocations: 17.81 kB / 367.4 MB, free: 46.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.1936, allocations: 3.839 MB / 371.2 MB, free: 41.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.1943, allocations: 366.1 kB / 371.6 MB, free: 41.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/0.2021, allocations: 12.97 MB / 384.5 MB, free: 28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.2023, allocations: 404.2 kB / 384.9 MB, free: 27.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.2027, allocations: 216.8 kB / 385.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/0.2042, allocations: 1.317 MB / 386.5 MB, free: 26.08 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2042, allocations: 6.188 kB / 386.5 MB, free: 26.07 MB / 330.7 MB Notification: FMU-only work: backend 0.002647, simCode 0.003462, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/0.3269, allocations: 62.18 MB / 448.7 MB, free: 11.23 MB / 378.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.533/3.86, allocations: 34 kB / 448.7 MB, free: 11.2 MB / 378.7 MB " [Timeout remaining time 656] (rm -f PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ExtTest_IAwithPDtoTD2_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ExtTest_IAwithPDtoTD2.fmu) > PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.IAwithPDtoTD2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ExtTest_IAwithPDtoTD2_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ExtTest_IAwithPDtoTD2_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.IAwithPDtoTD2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ExtTest_IAwithPDtoTD2_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ExtTest_IAwithPDtoTD2_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.IAwithPDtoTD2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy_res.csv --output-variables P1.t P2.t P3.t T1.active T1.fire T2.active T2.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_ExtTest_IAwithPDtoTD2.fmu) > PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.IAwithPDtoTD2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,P2.t,P3.t,T1.active,T1.fire,T2.active,T2.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.IAwithPDtoTD2.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.IAwithPDtoTD2.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.004 ../PNlib_PNlib_Examples_ExtTest_IAwithPDtoTD2_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.IAwithPDtoTD2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable P2.t in file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P2.t from file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable P3.t in file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P3.t from file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T2.active in file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T2.active from file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T2.fire from file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:P1.t,P2.t,P3.t,T1.active,T1.fire,T2.active,T2.fire,time Variables in the result:time,P1.color[1],P1.color[3],P1.levelCon,P1.outTransition[2].arcWeight filterSimulationResults("PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode.diff.mat", vars={"T2.fire", "T2.active", "T1.fire", "T1.active", "P3.t", "P2.t", "P1.t"}, removeDescription=false) [Timeout 660] "Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.IAwithPDtoTD2.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.IAwithPDtoTD2_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"T2.fire", "T2.active", "T1.fire", "T1.active", "P3.t", "P2.t", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 6.50897859968245]