Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.NoInputConflict.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.NoInputConflict,fileNamePrefix="PNlib_PNlib_Examples_DisTest_NoInputConflict",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.NoInputConflict,fileNamePrefix="PNlib_PNlib_Examples_DisTest_NoInputConflict",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.00842/0.00842, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001975/0.001975, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07515/0.07515, allocations: 16.73 MB / 307.3 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001947, allocations: 67.91 kB / 425.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1226, allocations: 53.48 MB / 479.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.003841/0.1265, allocations: 2.227 MB / 481.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004071/0.1306, allocations: 2.101 MB / 483.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006391/0.1313, allocations: 8 kB / 483.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.1319, allocations: 154.8 kB / 483.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007624/0.1327, allocations: 170.8 kB / 484 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.1351, allocations: 0.9709 MB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002562/0.1377, allocations: 1.697 MB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005011/0.1382, allocations: 270.8 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.1393, allocations: 0.67 MB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000716/0.14, allocations: 413.9 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.1403, allocations: 95.94 kB / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009231/0.1412, allocations: 0.5072 MB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.1416, allocations: 215.2 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006437/0.1422, allocations: 461.7 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.1443, allocations: 1.32 MB / 490.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1443, allocations: 0 / 490.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.999e-06/0.1443, allocations: 3.984 kB / 490.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.1444, allocations: 7.938 kB / 490.6 MB, free: 10.16 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002688/0.1471, allocations: 1.497 MB / 492.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1471, allocations: 16.03 kB / 492.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003159/0.1474, allocations: 160 kB / 492.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005285/0.148, allocations: 120.4 kB / 492.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000777/0.1488, allocations: 488.9 kB / 492.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.1489, allocations: 129.4 kB / 493 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.1491, allocations: 99.97 kB / 493.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.1517, allocations: 1.709 MB / 494.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.1517, allocations: 7.938 kB / 494.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.1519, allocations: 51.98 kB / 494.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/0.152, allocations: 85.25 kB / 494.9 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.1541, allocations: 1.173 MB / 496.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005516/0.1596, allocations: 4.49 MB / 0.4888 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.1616, allocations: 1.909 MB / 0.4907 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.1633, allocations: 1.769 MB / 0.4924 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.1634, allocations: 93.41 kB / 0.4925 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.1649, allocations: 1.044 MB / 0.4935 GB, free: 10.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 3.797e-06/0.1649, allocations: 0 / 0.4935 GB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.003705/0.1686, allocations: 2.598 MB / 0.4961 GB, free: 8.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003334/0.169, allocations: 0.6103 MB / 0.4967 GB, free: 7.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.1697, allocations: 0.5209 MB / 0.4972 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.1698, allocations: 77.69 kB / 0.4973 GB, free: 6.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.1702, allocations: 353 kB / 0.4976 GB, free: 6.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/0.1705, allocations: 254.1 kB / 0.4978 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004045/0.1709, allocations: 294.8 kB / 0.4981 GB, free: 5.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.171, allocations: 326 kB / 0.4984 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008928/0.1719, allocations: 439.1 kB / 0.4988 GB, free: 5.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.173, allocations: 0.9043 MB / 0.4997 GB, free: 4.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/0.1762, allocations: 2.7 MB / 0.5024 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/0.1763, allocations: 4 kB / 0.5024 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.2084/0.3847, allocations: 1.903 MB / 0.5042 GB, free: 33.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.3849, allocations: 354.2 kB / 0.5046 GB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.3849, allocations: 14.75 kB / 0.5046 GB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-05/0.385, allocations: 22.16 kB / 0.5046 GB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.3855, allocations: 166.3 kB / 0.5048 GB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.614e-05/0.3855, allocations: 32.52 kB / 0.5048 GB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.3861, allocations: 155.5 kB / 0.5049 GB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.3862, allocations: 71.34 kB / 0.505 GB, free: 33.2 MB / 382.1 MB Warning: Assuming fixed start value for the following 28 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" 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 P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 65 * Number of states: 0 () * Number of discrete variables: 153 ($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[2],$PRE.P1.enableIn.cumEnablingProb[2],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[2],$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition5,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition3,$whenCondition4,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,P1.inTransition[2].disPlace,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,P1.reStart,T2.firingCon,T1.firingCon,P1.enableIn.disTransition[2],P1.enableIn.disTransition[1],$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[1],$PRE.T2.firingTime,$PRE.T1.firingTime,T2.enabledByInPlaces,T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.disPlaceOut[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.enableIn.TAein[2],P1.enableIn.TAein[1],P1.enableIn.arcWeight[2],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[2],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,$whenCondition2,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,P1.inTransition[2].emptied,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 11 * 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.0009595/0.3872, allocations: 0.8624 MB / 0.5058 GB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.3873, allocations: 88.8 kB / 0.5059 GB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.39, allocations: 1.855 MB / 0.5077 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.39, allocations: 6.375 kB / 0.5078 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.39, allocations: 4.125 kB / 0.5078 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3901, allocations: 3.297 kB / 0.5078 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.394, allocations: 3.025 MB / 0.5107 GB, free: 31.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.394, allocations: 0 / 0.5107 GB, free: 31.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.3942, allocations: 44.75 kB / 0.5108 GB, free: 31.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.3942, allocations: 2.406 kB / 0.5108 GB, free: 31.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/0.3943, allocations: 44.89 kB / 0.5108 GB, free: 31.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.3943, allocations: 6.688 kB / 0.5108 GB, free: 31.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3943, allocations: 3.062 kB / 0.5108 GB, free: 31.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.3973, allocations: 2.282 MB / 0.513 GB, free: 30.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.3974, allocations: 146 kB / 0.5132 GB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.3977, allocations: 80.34 kB / 0.5133 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.3982, allocations: 71.17 kB / 0.5133 GB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/0.3985, allocations: 134.3 kB / 0.5134 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.3986, allocations: 54.7 kB / 0.5135 GB, free: 30.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003184/0.3989, allocations: 301.2 kB / 0.5138 GB, free: 30.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3989, allocations: 0 / 0.5138 GB, free: 30.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001258/0.4002, allocations: 383.8 kB / 0.5142 GB, free: 29.96 MB / 382.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: 86 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.active,T2.active,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition2,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.fire[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.arcWeight[2],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.arcWeight[2],P1.enableIn.TAein[1],P1.enableIn.TAein[2],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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) * Number of discrete states: 54 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.activation.active,T2.delayPassed,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[2],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[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 9 * 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.003999/0.4042, allocations: 3.117 MB / 0.5172 GB, free: 28.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003198/0.4074, allocations: 2.263 MB / 0.5194 GB, free: 27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4074, allocations: 1.031 kB / 0.5194 GB, free: 27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.4098, allocations: 3.586 MB / 0.5229 GB, free: 24.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007779/0.4106, allocations: 132.2 kB / 0.523 GB, free: 24.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.4226, allocations: 9.546 MB / 0.5324 GB, free: 18.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.423, allocations: 1.011 MB / 0.5333 GB, free: 17.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004209/0.4235, allocations: 214.8 kB / 0.5336 GB, free: 17.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.4237, allocations: 260 kB / 0.5338 GB, free: 17.22 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4237, allocations: 4 kB / 0.5338 GB, free: 17.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.4579, allocations: 19.19 MB / 0.5525 GB, free: 14.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.21/9.668, allocations: 10.59 kB / 0.5526 GB, free: 14.22 MB / 398.1 MB (rm -f PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe >> ../files/PNlib_PNlib.Examples.DisTest.NoInputConflict.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.NoInputConflict_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 PNlib_PNlib_Examples_DisTest_NoInputConflict.fmu > PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches