Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.SixConflictProb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.SixConflictProb,fileNamePrefix="PNlib_PNlib_Examples_DisTest_SixConflictProb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.SixConflictProb,fileNamePrefix="PNlib_PNlib_Examples_DisTest_SixConflictProb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00855/0.00855, allocations: 95.8 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 202.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2167/0.2167, allocations: 16.77 MB / 307.3 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 62.5 kB / 425.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09618, allocations: 53.48 MB / 479.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SixConflictProb): time 0.004025/0.1003, allocations: 3.728 MB / 483.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.1053, allocations: 2.804 MB / 485.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.1066, allocations: 23.38 kB / 485.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000877/0.1075, allocations: 317.8 kB / 486.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.1088, allocations: 383 kB / 486.6 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.1119, allocations: 1.25 MB / 487.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003595/0.1155, allocations: 2.939 MB / 490.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009725/0.1165, allocations: 0.8437 MB / 491.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.1185, allocations: 1.312 MB / 492.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.1203, allocations: 0.9637 MB / 493.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007965/0.1211, allocations: 248 kB / 494.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.1226, allocations: 0.6478 MB / 494.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007682/0.1234, allocations: 0.5488 MB / 495.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.1252, allocations: 1.146 MB / 496.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004817/0.13, allocations: 3.125 MB / 499.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1301, allocations: 7.875 kB / 499.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1301, allocations: 0 / 499.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001018/0.1302, allocations: 0 / 499.6 MB, free: 8.914 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.006132/0.1363, allocations: 3.062 MB / 0.4909 GB, free: 5.672 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.1364, allocations: 11.89 kB / 0.4909 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007958/0.1372, allocations: 399.3 kB / 0.4913 GB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/0.1382, allocations: 298.4 kB / 0.4916 GB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.1401, allocations: 0.9494 MB / 0.4925 GB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/0.1406, allocations: 366.6 kB / 0.4929 GB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007111/0.1413, allocations: 267.9 kB / 0.4931 GB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.1516, allocations: 5.302 MB / 0.4983 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.007e-05/0.1517, allocations: 7.938 kB / 0.4983 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005675/0.1523, allocations: 131.9 kB / 0.4984 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004793/0.1528, allocations: 287.7 kB / 0.4987 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007412/0.1602, allocations: 3.876 MB / 0.5025 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01608/0.1763, allocations: 12.21 MB / 0.5144 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/0.1815, allocations: 4.77 MB / 0.5191 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004469/0.1861, allocations: 4.449 MB / 0.5234 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.1862, allocations: 94.11 kB / 0.5235 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004072/0.1903, allocations: 2.726 MB / 0.5262 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=205): time 6.061e-06/0.1904, allocations: 0 / 0.5262 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of matching and sorting (n=205): time 0.01151/0.2019, allocations: 7.354 MB / 0.5333 GB, free: 9.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008661/0.2028, allocations: 1.015 MB / 0.5343 GB, free: 8.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.2049, allocations: 1.288 MB / 0.5356 GB, free: 6.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004894/0.2054, allocations: 121.7 kB / 0.5357 GB, free: 6.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.2065, allocations: 0.9536 MB / 0.5366 GB, free: 5.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008468/0.2073, allocations: 0.5431 MB / 0.5372 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.2086, allocations: 0.7719 MB / 0.5379 GB, free: 4.289 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2087, allocations: 349.9 kB / 0.5383 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00277/0.2115, allocations: 1.716 MB / 0.5399 GB, free: 2.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003797/0.2153, allocations: 2.88 MB / 0.5427 GB, free: 14.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/0.2258, allocations: 7.87 MB / 0.5504 GB, free: 6.176 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-05/0.2259, allocations: 12 kB / 0.5504 GB, free: 6.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.009685/0.2356, allocations: 5.742 MB / 0.5561 GB, free: 328 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005467/0.2362, allocations: 0.5872 MB / 0.5566 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-05/0.2363, allocations: 36 kB / 0.5567 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.978e-05/0.2363, allocations: 52 kB / 0.5567 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.2378, allocations: 435.5 kB / 0.5571 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.876e-05/0.2379, allocations: 75.72 kB / 0.5572 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.2401, allocations: 473.3 kB / 0.5576 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/0.2405, allocations: 168 kB / 0.5578 GB, free: 14.43 MB / 446.1 MB Warning: Assuming fixed start value for the following 40 variables: 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 T6.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T6.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T5.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T5.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T4.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T4.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real T3.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T3.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 T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer 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 T6.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T5.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T4.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real T3.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real 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: 162 * Number of states: 0 () * Number of discrete variables: 348 ($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[6],$PRE.P1.enableOut.cumEnablingProb[6],P1.enableOut.cumEnablingProb[5],$PRE.P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[4],$PRE.P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[3],$PRE.P1.enableOut.cumEnablingProb[3],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[6],$PRE.P1.enableOut.remTAout[6],P1.enableOut.remTAout[5],$PRE.P1.enableOut.remTAout[5],P1.enableOut.remTAout[4],$PRE.P1.enableOut.remTAout[4],P1.enableOut.remTAout[3],$PRE.P1.enableOut.remTAout[3],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,$whenCondition17,T6.inPlaces[1].tokenInOut,T5.inPlaces[1].tokenInOut,T4.inPlaces[1].tokenInOut,T3.inPlaces[1].tokenInOut,T2.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T6.ani,$PRE.T6.fireTime,T6.ani,T6.fireTime,$PRE.T5.ani,$PRE.T5.fireTime,T5.ani,T5.fireTime,$PRE.T4.ani,$PRE.T4.fireTime,T4.ani,T4.fireTime,$PRE.T3.ani,$PRE.T3.fireTime,T3.ani,T3.fireTime,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition15,$whenCondition16,P1.firingSumIn.firingSum,$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,T6.firingCon,T6.inPlaces[1].disTransition,P1.outTransition[6].normalArc,P1.outTransition[6].testValueint,P1.outTransition[6].arcType,P1.outTransition[6].disPlace,T5.firingCon,T5.inPlaces[1].disTransition,P1.outTransition[5].normalArc,P1.outTransition[5].testValueint,P1.outTransition[5].arcType,P1.outTransition[5].disPlace,T4.firingCon,T4.inPlaces[1].disTransition,P1.outTransition[4].normalArc,P1.outTransition[4].testValueint,P1.outTransition[4].arcType,P1.outTransition[4].disPlace,T3.firingCon,T3.inPlaces[1].disTransition,P1.outTransition[3].normalArc,P1.outTransition[3].testValueint,P1.outTransition[3].arcType,P1.outTransition[3].disPlace,T2.firingCon,T2.inPlaces[1].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T6.firingTime,$PRE.T5.firingTime,$PRE.T4.firingTime,$PRE.T3.firingTime,$PRE.T2.firingTime,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[6],$PRE.P1.enableOut.TEout[5],$PRE.P1.enableOut.TEout[4],$PRE.P1.enableOut.TEout[3],$PRE.P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.arcWeight[2],P1.enableOut.arcWeight[3],P1.enableOut.arcWeight[4],P1.enableOut.arcWeight[5],P1.enableOut.arcWeight[6],P1.enableOut.disTransition[6],T6.activation.normalArc[1],T6.activation.testValueInt[1],T6.activation.arcType[1],T6.activation.disPlaceIn[1],P1.enableOut.disTransition[5],T5.activation.normalArc[1],T5.activation.testValueInt[1],T5.activation.arcType[1],T5.activation.disPlaceIn[1],P1.enableOut.disTransition[4],T4.activation.normalArc[1],T4.activation.testValueInt[1],T4.activation.arcType[1],T4.activation.disPlaceIn[1],P1.enableOut.disTransition[3],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],P1.enableOut.disTransition[2],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T6.activation.active,T6.activation.minTokensInt[1],T6.activation.arcWeightIntIn[1],T6.activation.tIntIn[1],T6.delayPassed,$PRE.T6.delayPassed,T6.firingTime,T6.active,T5.activation.active,T5.activation.minTokensInt[1],T5.activation.arcWeightIntIn[1],T5.activation.tIntIn[1],T5.delayPassed,$PRE.T5.delayPassed,T5.firingTime,T5.active,T4.activation.active,T4.activation.minTokensInt[1],T4.activation.arcWeightIntIn[1],T4.activation.tIntIn[1],T4.delayPassed,$PRE.T4.delayPassed,T4.firingTime,T4.active,T3.activation.active,T3.activation.minTokensInt[1],T3.activation.arcWeightIntIn[1],T3.activation.tIntIn[1],T3.delayPassed,$PRE.T3.delayPassed,T3.firingTime,T3.active,T2.activation.active,T2.activation.minTokensInt[1],T2.activation.arcWeightIntIn[1],T2.activation.tIntIn[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.active,T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[6],P1.enableOut.TEout[5],P1.enableOut.TEout[4],P1.enableOut.TEout[3],P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableOut.TEout_[6],P1.enableOut.TEout_[5],P1.enableOut.TEout_[4],P1.enableOut.TEout_[3],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[6],P1.enableOut.TAout[5],P1.enableOut.TAout[4],P1.enableOut.TAout[3],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[6],P1.firingSumOut.arcWeight[5],P1.firingSumOut.arcWeight[4],P1.firingSumOut.arcWeight[3],P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[6],P1.firingSumOut.fire[5],P1.firingSumOut.fire[4],P1.firingSumOut.fire[3],P1.firingSumOut.fire[2],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[6],P1.delayPassedOut.vec[5],P1.delayPassedOut.vec[4],P1.delayPassedOut.vec[3],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[6],P1.activeConOut.vec[5],P1.activeConOut.vec[4],P1.activeConOut.vec[3],P1.activeConOut.vec[2],P1.activeConOut.vec[1],P1.activeOut[6],$PRE.P1.activeOut[6],P1.activeOut[5],$PRE.P1.activeOut[5],P1.activeOut[4],$PRE.P1.activeOut[4],P1.activeOut[3],$PRE.P1.activeOut[3],P1.activeOut[2],$PRE.P1.activeOut[2],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,T6.enabledByOutPlaces,T5.enabledByOutPlaces,T4.enabledByOutPlaces,T3.enabledByOutPlaces,T2.enabledByOutPlaces,T1.enabledByOutPlaces,P1.outTransition[6].fed,P1.outTransition[5].fed,P1.outTransition[4].fed,P1.outTransition[3].fed,P1.outTransition[2].fed,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (425): * Single equations (assignments): 409 * Array equations: 1 * Algorithm blocks: 15 * 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.002611/0.2432, allocations: 1.748 MB / 0.5595 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.2436, allocations: 206.9 kB / 0.5597 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007799/0.2514, allocations: 5.445 MB / 0.565 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-05/0.2515, allocations: 23.97 kB / 0.5651 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.2515, allocations: 4 kB / 0.5651 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.2515, allocations: 7.969 kB / 0.5651 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.2643, allocations: 8.042 MB / 0.5729 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.2643, allocations: 0 / 0.5729 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.2648, allocations: 111.8 kB / 0.573 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.2649, allocations: 4 kB / 0.573 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004088/0.2653, allocations: 75.95 kB / 0.5731 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.2653, allocations: 12 kB / 0.5731 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2653, allocations: 0 / 0.5731 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008825/0.2741, allocations: 5.868 MB / 0.5788 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.2745, allocations: 231.8 kB / 0.5791 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007174/0.2752, allocations: 151.9 kB / 0.5792 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.2768, allocations: 195.8 kB / 0.5794 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002749/0.2796, allocations: 1.711 MB / 0.5811 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000546/0.2801, allocations: 95.95 kB / 0.5812 GB, free: 6.078 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.2812, allocations: 0.6898 MB / 0.5818 GB, free: 5.379 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2812, allocations: 0 / 0.5818 GB, free: 5.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002946/0.2841, allocations: 0.7993 MB / 0.5826 GB, free: 4.578 MB / 462.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: 178 ($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,T1.active,T2.active,T3.active,T4.active,T5.active,T6.active,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeOut[2],P1.activeOut[3],P1.activeOut[4],P1.activeOut[5],P1.activeOut[6],P1.activeConOut.vec[1],P1.activeConOut.vec[2],P1.activeConOut.vec[3],P1.activeConOut.vec[4],P1.activeConOut.vec[5],P1.activeConOut.vec[6],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[3],P1.delayPassedOut.vec[4],P1.delayPassedOut.vec[5],P1.delayPassedOut.vec[6],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.fire[2],P1.firingSumOut.fire[3],P1.firingSumOut.fire[4],P1.firingSumOut.fire[5],P1.firingSumOut.fire[6],P1.firingSumOut.arcWeight[1],P1.firingSumOut.arcWeight[2],P1.firingSumOut.arcWeight[3],P1.firingSumOut.arcWeight[4],P1.firingSumOut.arcWeight[5],P1.firingSumOut.arcWeight[6],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TAout[3],P1.enableOut.TAout[4],P1.enableOut.TAout[5],P1.enableOut.TAout[6],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[3],P1.enableOut.TEout_[4],P1.enableOut.TEout_[5],P1.enableOut.TEout_[6],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.TEout[3],P1.enableOut.TEout[4],P1.enableOut.TEout[5],P1.enableOut.TEout[6],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.remTAout[3],P1.enableOut.remTAout[4],P1.enableOut.remTAout[5],P1.enableOut.remTAout[6],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[6],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,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T2.inPlaces[1].tokenInOut,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntIn[1],T2.activation.arcWeightIntIn[1],T2.activation.minTokensInt[1],T2.activation.active,T3.inPlaces[1].tokenInOut,T3.firingTime,T3.fireTime,T3.delayPassed,T3.ani,T3.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T3.activation.minTokensInt[1],T3.activation.active,T4.inPlaces[1].tokenInOut,T4.firingTime,T4.fireTime,T4.delayPassed,T4.ani,T4.activation.tIntIn[1],T4.activation.arcWeightIntIn[1],T4.activation.minTokensInt[1],T4.activation.active,T5.inPlaces[1].tokenInOut,T5.firingTime,T5.fireTime,T5.delayPassed,T5.ani,T5.activation.tIntIn[1],T5.activation.arcWeightIntIn[1],T5.activation.minTokensInt[1],T5.activation.active,T6.inPlaces[1].tokenInOut,T6.firingTime,T6.fireTime,T6.delayPassed,T6.ani,T6.activation.tIntIn[1],T6.activation.arcWeightIntIn[1],T6.activation.minTokensInt[1],T6.activation.active) * Number of discrete states: 87 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],P1.activeOut[2],P1.activeOut[3],P1.activeOut[4],P1.activeOut[5],P1.activeOut[6],T6.activation.active,T6.delayPassed,T5.activation.active,T5.delayPassed,T4.activation.active,T4.delayPassed,T3.activation.active,T3.delayPassed,T2.activation.active,T2.delayPassed,T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[6],P1.enableOut.TEout_[5],P1.enableOut.TEout_[4],P1.enableOut.TEout_[3],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[6],P1.enableOut.cumEnablingProb[5],P1.enableOut.cumEnablingProb[4],P1.enableOut.cumEnablingProb[3],P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[6],P1.enableOut.remTAout[5],P1.enableOut.remTAout[4],P1.enableOut.remTAout[3],P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[6],P1.enableOut.TEout[5],P1.enableOut.TEout[4],P1.enableOut.TEout[3],P1.enableOut.TEout[2],P1.enableOut.TEout[1],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 (142): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 13 * Record equations: 0 * When equations: 19 * 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.2785/0.5627, allocations: 6.829 MB / 0.5893 GB, free: 109 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/0.5731, allocations: 6.344 MB / 0.5955 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/0.5731, allocations: 0.9062 kB / 0.5955 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009971/0.5831, allocations: 8.035 MB / 0.6033 GB, free: 102.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.5852, allocations: 232.5 kB / 0.6035 GB, free: 102.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04051/0.6257, allocations: 25.64 MB / 0.6286 GB, free: 81.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.6272, allocations: 1.616 MB / 0.6302 GB, free: 79.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002053/0.6292, allocations: 0.6326 MB / 0.6308 GB, free: 79.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/0.6306, allocations: 0.7257 MB / 0.6315 GB, free: 78.58 MB / 462.1 MB Notification: Performance of SimCode: time 1.523e-06/0.6306, allocations: 0 / 0.6315 GB, free: 78.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07024/0.7009, allocations: 47.17 MB / 0.6776 GB, free: 31.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.57, allocations: 6.609 kB / 0.6776 GB, free: 31.54 MB / 462.1 MB (rm -f PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe >> ../files/PNlib_PNlib.Examples.DisTest.SixConflictProb.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.SixConflictProb_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_DisTest_SixConflictProb.fmu > PNlib_PNlib.Examples.DisTest.SixConflictProb.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.SixConflictProb_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.SixConflictProb.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.SixConflictProb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches