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.0008394/0.0008394, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008683/0.0008683, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8875/0.8875, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.04749/0.04749, allocations: 12.65 MB / 271.8 MB, free: 0.7227 MB / 250.7 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.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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 402.2 MB, free: 9.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.548e-05, allocations: 2.281 kB / 402.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TESTest): time 0.002501/0.002516, allocations: 2.645 MB / 404.9 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.007441, allocations: 4.403 MB / 409.3 MB, free: 2.398 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003093/0.007751, allocations: 19.88 kB / 409.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.008314, allocations: 246 kB / 409.5 MB, free: 2.137 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.008676, allocations: 309.8 kB / 409.8 MB, free: 1.832 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.01078, allocations: 1.742 MB / 411.6 MB, free: 88 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1501/0.1609, allocations: 2.858 MB / 414.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.1613, allocations: 156.5 kB / 414.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.1631, allocations: 1.624 MB / 416.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.1644, allocations: 0.776 MB / 417 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004561/0.1648, allocations: 217.8 kB / 417.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.1663, allocations: 1.063 MB / 418.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003263/0.1667, allocations: 384.4 kB / 418.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000798/0.1675, allocations: 0.6819 MB / 419.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.1706, allocations: 3.012 MB / 422.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1706, allocations: 0.875 kB / 422.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1706, allocations: 0 / 422.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.11e-05/0.1707, allocations: 3.922 kB / 422.3 MB, free: 13.32 MB / 330.7 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.002567/0.1732, allocations: 2.497 MB / 424.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1733, allocations: 9.969 kB / 424.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.1735, allocations: 261.2 kB / 425.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004779/0.174, allocations: 226.8 kB / 425.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.1749, allocations: 0.7403 MB / 426.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.175, allocations: 303.2 kB / 426.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.1752, allocations: 186.5 kB / 426.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004189/0.1794, allocations: 4.441 MB / 431 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.1795, allocations: 6.594 kB / 431 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.1796, allocations: 91.44 kB / 431.1 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.1798, allocations: 148.8 kB / 431.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.1827, allocations: 3.028 MB / 434.3 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004813/0.1875, allocations: 6.599 MB / 440.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.1896, allocations: 2.415 MB / 443.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.1919, allocations: 2.246 MB / 445.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.778e-05/0.192, allocations: 10.86 kB / 445.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002618/0.1946, allocations: 3.092 MB / 448.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=180): time 2.325e-06/0.1946, allocations: 0 / 448.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=180): time 0.007386/0.202, allocations: 8.305 MB / 456.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005319/0.2025, allocations: 1.321 MB / 458.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.2033, allocations: 0.8491 MB / 459.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.2034, allocations: 121.7 kB / 459.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005527/0.204, allocations: 0.5299 MB / 459.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.2043, allocations: 478.2 kB / 460.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004442/0.2047, allocations: 0.5098 MB / 460.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.2048, allocations: 345.9 kB / 461.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.206, allocations: 1.665 MB / 462.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.2076, allocations: 2.837 MB / 465.6 MB, free: 7.562 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/0.2118, allocations: 5.786 MB / 471.3 MB, free: 1.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.2118, allocations: 8 kB / 471.4 MB, free: 1.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.003939/0.2157, allocations: 4.802 MB / 476.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002997/0.216, allocations: 0.7545 MB / 476.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/0.216, allocations: 24 kB / 476.9 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/0.2161, allocations: 36 kB / 477 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.2165, allocations: 278.8 kB / 477.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.24e-05/0.2165, allocations: 50.39 kB / 477.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.2171, allocations: 298.5 kB / 477.6 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.2173, allocations: 132 kB / 477.7 MB, free: 10.49 MB / 378.7 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.001354/0.2186, allocations: 1.607 MB / 479.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.2188, allocations: 183.2 kB / 479.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/0.2245, allocations: 6.196 MB / 485.7 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.2246, allocations: 12 kB / 485.7 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2246, allocations: 0 / 485.7 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2246, allocations: 3.984 kB / 485.7 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007848/0.2324, allocations: 8.002 MB / 493.7 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2324, allocations: 0 / 493.7 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.2326, allocations: 62.72 kB / 493.8 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.2326, allocations: 4 kB / 493.8 MB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.2327, allocations: 99.94 kB / 493.9 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2327, allocations: 4 kB / 493.9 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2327, allocations: 0 / 493.9 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/0.2387, allocations: 6.792 MB / 0.4889 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2388, allocations: 130.8 kB / 0.4891 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.2391, allocations: 174.7 kB / 0.4892 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.2396, allocations: 163.9 kB / 0.4894 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008089/0.2404, allocations: 472.5 kB / 0.4898 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.2406, allocations: 115.8 kB / 0.4899 GB, free: 1.789 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003881/0.241, allocations: 471 kB / 0.4904 GB, free: 1.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.241, allocations: 0 / 0.4904 GB, free: 1.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001699/0.2427, allocations: 0.7178 MB / 0.4911 GB, free: 0.6094 MB / 394.7 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.007244/0.2499, allocations: 7.905 MB / 0.4988 GB, free: 8.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004861/0.2548, allocations: 6.125 MB / 0.5048 GB, free: 1.883 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2548, allocations: 3.938 kB / 0.5048 GB, free: 1.879 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002693/0.2575, allocations: 3.803 MB / 0.5085 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.2582, allocations: 252.9 kB / 0.5088 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/0.2769, allocations: 20.83 MB / 0.5291 GB, free: 6.895 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.2774, allocations: 0.694 MB / 0.5298 GB, free: 6.164 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008877/0.2783, allocations: 365.1 kB / 0.5301 GB, free: 5.805 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.2787, allocations: 472.3 kB / 0.5306 GB, free: 5.344 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2787, allocations: 0 / 0.5306 GB, free: 5.344 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04464/0.3233, allocations: 41.73 MB / 0.5713 GB, free: 11.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.562, allocations: 7.922 kB / 0.5713 GB, free: 11.61 MB / 490.7 MB " [Timeout remaining time 651] (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/jenkins/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: 10.596300963312387]