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 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.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.0009533/0.000953, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008926/0.0008925, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2185/0.2185, allocations: 16.88 MB / 307.9 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 8 kB / 373.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3306, allocations: 54.5 MB / 427.6 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.001959/0.3326, allocations: 1.518 MB / 429.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.3365, allocations: 1.868 MB / 431 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.3369, allocations: 3.688 kB / 431 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.3372, allocations: 84.92 kB / 431 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.3376, allocations: 85.8 kB / 431.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.3395, allocations: 0.6321 MB / 431.8 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3406, allocations: 1.074 MB / 432.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.3409, allocations: 138.5 kB / 433 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005364/0.3414, allocations: 422.6 kB / 433.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.3419, allocations: 288.4 kB / 433.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.524e-05/0.342, allocations: 32.56 kB / 433.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.3427, allocations: 428.3 kB / 434.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3429, allocations: 110.9 kB / 434.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.3431, allocations: 172 kB / 434.4 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008275/0.3439, allocations: 0.8183 MB / 435.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.344, allocations: 0 / 435.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.344, allocations: 0 / 435.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.344, allocations: 0 / 435.2 MB, free: 36.04 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.001241/0.3452, allocations: 1.138 MB / 436.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3453, allocations: 10.97 kB / 436.4 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.3454, allocations: 116.6 kB / 436.5 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.3457, allocations: 100.9 kB / 436.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.3462, allocations: 423.9 kB / 437 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.423e-05/0.3463, allocations: 85.19 kB / 437.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3465, allocations: 83.09 kB / 437.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.3482, allocations: 1.34 MB / 438.5 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3483, allocations: 6.453 kB / 438.5 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-05/0.3484, allocations: 39.75 kB / 438.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.3485, allocations: 51.38 kB / 438.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.3498, allocations: 0.9325 MB / 439.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.3529, allocations: 3.331 MB / 442.8 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.3544, allocations: 1.6 MB / 444.4 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.3557, allocations: 1.468 MB / 445.9 MB, free: 29.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-05/0.3557, allocations: 81.38 kB / 446 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.357, allocations: 0.9344 MB / 446.9 MB, free: 28.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.505e-06/0.357, allocations: 0 / 446.9 MB, free: 28.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003572/0.3606, allocations: 2.67 MB / 449.6 MB, free: 27.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003098/0.3609, allocations: 0.5346 MB / 450.1 MB, free: 27.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006005/0.3615, allocations: 409.1 kB / 450.5 MB, free: 26.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.3616, allocations: 66.83 kB / 450.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.3619, allocations: 258.1 kB / 450.8 MB, free: 26.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.3621, allocations: 199.3 kB / 451 MB, free: 26.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.3622, allocations: 27.02 kB / 451.1 MB, free: 26.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3624, allocations: 369.3 kB / 451.4 MB, free: 26.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006965/0.3631, allocations: 440.2 kB / 451.9 MB, free: 26.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009054/0.364, allocations: 0.8033 MB / 452.7 MB, free: 25.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.3649, allocations: 0.7642 MB / 453.4 MB, free: 24.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.3649, allocations: 3.625 kB / 453.4 MB, free: 24.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002528/0.3674, allocations: 1.821 MB / 455.3 MB, free: 24.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.3676, allocations: 330.4 kB / 455.6 MB, free: 23.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.3677, allocations: 12.16 kB / 455.6 MB, free: 23.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-05/0.3677, allocations: 22.31 kB / 455.6 MB, free: 23.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.3681, allocations: 119.9 kB / 455.7 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.309e-05/0.3681, allocations: 25.55 kB / 455.8 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.3686, allocations: 136.2 kB / 455.9 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/0.3687, allocations: 61.14 kB / 455.9 MB, free: 23.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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition7,$PRE.P1.reStart,$PRE.P1.tokeninout,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$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,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009064/0.3696, allocations: 0.7513 MB / 456.7 MB, free: 23.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.3698, allocations: 80.17 kB / 456.8 MB, free: 23.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/0.3725, allocations: 2.053 MB / 458.8 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.3725, allocations: 6.094 kB / 458.8 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3725, allocations: 0 / 458.8 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.3725, allocations: 3.328 kB / 458.8 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00479/0.3773, allocations: 3.075 MB / 461.9 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.3774, allocations: 1.156 kB / 461.9 MB, free: 20.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.3775, allocations: 38.61 kB / 461.9 MB, free: 20.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.3776, allocations: 2.094 kB / 462 MB, free: 20.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.3777, allocations: 44.91 kB / 462 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3777, allocations: 1.938 kB / 462 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3777, allocations: 1.031 kB / 462 MB, free: 20.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003565/0.3813, allocations: 2.419 MB / 464.4 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.3814, allocations: 134.2 kB / 464.5 MB, free: 19.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.3816, allocations: 72.67 kB / 464.6 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.3821, allocations: 75.91 kB / 464.7 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000582/0.3827, allocations: 344 kB / 465 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.3828, allocations: 45.94 kB / 465.1 MB, free: 19.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.3831, allocations: 240.1 kB / 465.3 MB, free: 19.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3831, allocations: 0 / 465.3 MB, free: 19.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001342/0.3845, allocations: 343.9 kB / 465.6 MB, free: 19.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004429/0.3889, allocations: 3.239 MB / 468.9 MB, free: 17.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002872/0.3918, allocations: 2.102 MB / 471 MB, free: 16.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.3918, allocations: 0 / 471 MB, free: 16.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002587/0.3944, allocations: 3.174 MB / 474.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.3951, allocations: 105.2 kB / 474.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009063/0.4042, allocations: 4.906 MB / 479.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.4049, allocations: 0.9161 MB / 480.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005225/0.4054, allocations: 156.4 kB / 480.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.4057, allocations: 186.3 kB / 480.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4057, allocations: 0 / 480.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.4394, allocations: 17.4 MB / 497.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.4397, allocations: 200.3 kB / 498 MB, free: 12.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.676, allocations: 0 / 498 MB, free: 12.35 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat does not exist to compare? outputFormat=mat