Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.001529/0.001529, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1919/0.1919, allocations: 16.75 MB / 307.1 MB, free: 14.9 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 371.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2977, allocations: 53.45 MB / 425.2 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002745/0.3005, allocations: 1.864 MB / 427.1 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.3032, allocations: 1.912 MB / 429 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.3035, allocations: 6.469 kB / 429 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.3038, allocations: 110 kB / 429.1 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.3042, allocations: 117.6 kB / 429.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.3058, allocations: 0.9038 MB / 430.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.3068, allocations: 1.416 MB / 431.5 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.3071, allocations: 166.9 kB / 431.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.3074, allocations: 0.534 MB / 432.2 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.3078, allocations: 342.4 kB / 432.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3079, allocations: 89.75 kB / 432.6 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005752/0.3085, allocations: 0.5073 MB / 433.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.3086, allocations: 146.6 kB / 433.3 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.309, allocations: 399 kB / 433.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.3098, allocations: 1.135 MB / 434.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3098, allocations: 0 / 434.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3098, allocations: 0 / 434.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.3099, allocations: 0 / 434.8 MB, free: 35.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001307/0.3112, allocations: 1.278 MB / 436.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3112, allocations: 17.61 kB / 436.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.3114, allocations: 122.8 kB / 436.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.3116, allocations: 92.38 kB / 436.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.3121, allocations: 439.8 kB / 436.7 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.208e-05/0.3122, allocations: 83.72 kB / 436.8 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.3123, allocations: 76.14 kB / 436.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.3139, allocations: 1.321 MB / 438.2 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3139, allocations: 6.562 kB / 438.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.665e-05/0.314, allocations: 39.92 kB / 438.3 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.704e-05/0.3141, allocations: 50.89 kB / 438.3 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.3154, allocations: 0.9169 MB / 439.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.3182, allocations: 3.341 MB / 442.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.3195, allocations: 1.578 MB / 444.2 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.3206, allocations: 1.45 MB / 445.6 MB, free: 28.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.575e-05/0.3207, allocations: 86.97 kB / 445.7 MB, free: 28.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.3218, allocations: 0.9168 MB / 446.6 MB, free: 28.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.575e-06/0.3218, allocations: 0 / 446.6 MB, free: 28.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003248/0.3251, allocations: 2.627 MB / 449.2 MB, free: 27.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/0.3253, allocations: 0.5369 MB / 449.8 MB, free: 26.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.3256, allocations: 403.2 kB / 450.2 MB, free: 26.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/0.3257, allocations: 71.8 kB / 450.2 MB, free: 26.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3258, allocations: 263.5 kB / 450.5 MB, free: 26.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.326, allocations: 188.9 kB / 450.7 MB, free: 26.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.3262, allocations: 229.6 kB / 450.9 MB, free: 25.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.3263, allocations: 378.6 kB / 451.3 MB, free: 25.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.3269, allocations: 444.9 kB / 451.7 MB, free: 25.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.3275, allocations: 0.8076 MB / 452.5 MB, free: 24.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.3297, allocations: 2.556 MB / 455.1 MB, free: 22.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.3298, allocations: 3.344 kB / 455.1 MB, free: 22.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001997/0.3318, allocations: 1.817 MB / 456.9 MB, free: 22.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.3319, allocations: 337 kB / 457.2 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.3319, allocations: 12.31 kB / 457.2 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.332, allocations: 15.44 kB / 457.2 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.3323, allocations: 125.5 kB / 457.4 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.3323, allocations: 20 kB / 457.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.3328, allocations: 126.6 kB / 457.5 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.3329, allocations: 68.19 kB / 457.6 MB, free: 21.6 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 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 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 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($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,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,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,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.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],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[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[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,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * Algorithm blocks: 10 * 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.0007194/0.3336, allocations: 0.7596 MB / 458.3 MB, free: 21.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3338, allocations: 76.31 kB / 458.4 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.3364, allocations: 2.02 MB / 460.4 MB, free: 20.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.3365, allocations: 5.375 kB / 460.4 MB, free: 20.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3365, allocations: 3.375 kB / 460.4 MB, free: 20.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3365, allocations: 1.062 kB / 460.4 MB, free: 20.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/0.3403, allocations: 3.047 MB / 463.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3403, allocations: 0 / 463.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.3404, allocations: 23.09 kB / 463.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3404, allocations: 1.531 kB / 463.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.921e-05/0.3405, allocations: 43.69 kB / 463.6 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3406, allocations: 10.02 kB / 463.6 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3406, allocations: 5 kB / 463.6 MB, free: 18.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.3436, allocations: 2.383 MB / 465.9 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.3437, allocations: 133.5 kB / 466.1 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.3439, allocations: 75.38 kB / 466.2 MB, free: 17.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/0.3444, allocations: 81.44 kB / 466.2 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005397/0.345, allocations: 324.5 kB / 466.5 MB, free: 17.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.3451, allocations: 45.91 kB / 466.6 MB, free: 17.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.3453, allocations: 244.1 kB / 466.8 MB, free: 17.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3453, allocations: 0 / 466.8 MB, free: 17.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001058/0.3464, allocations: 342.2 kB / 467.2 MB, free: 17.03 MB / 350.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: 69 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,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.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],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,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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],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 (39): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.00383/0.3502, allocations: 3.202 MB / 470.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002802/0.3531, allocations: 2.177 MB / 472.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3531, allocations: 0.7812 kB / 472.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.3553, allocations: 3.153 MB / 475.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.3559, allocations: 110.6 kB / 475.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.3662, allocations: 8.03 MB / 483.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.3666, allocations: 0.9226 MB / 484.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005677/0.3672, allocations: 149.7 kB / 484.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.3676, allocations: 189.9 kB / 485.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3676, allocations: 0 / 485.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05723/0.4248, allocations: 17.76 MB / 0.4911 GB, free: 5.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.449, allocations: 6.625 kB / 0.4911 GB, free: 5.418 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches