Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",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.0009976/0.0009979, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001074/0.001074, allocations: 177.3 kB / 15.94 MB, free: 228 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.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2029/0.2029, allocations: 16.86 MB / 307.8 MB, free: 15.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 15.98 kB / 373 MB, free: 3.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2736, allocations: 54.49 MB / 427.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.00157/0.2753, allocations: 1.563 MB / 429 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.2777, allocations: 1.872 MB / 430.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.2779, allocations: 8.562 kB / 430.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.2781, allocations: 95.7 kB / 431 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.2784, allocations: 116 kB / 431.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009396/0.2793, allocations: 0.6166 MB / 431.7 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006318/0.28, allocations: 0.6512 MB / 432.4 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.2802, allocations: 126 kB / 432.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.2805, allocations: 392.6 kB / 432.9 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.2808, allocations: 256.3 kB / 433.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.2808, allocations: 31.03 kB / 433.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.2812, allocations: 375 kB / 433.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-05/0.2813, allocations: 102.8 kB / 433.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.2815, allocations: 148.7 kB / 433.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.282, allocations: 0.7251 MB / 434.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.282, allocations: 0 / 434.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.282, allocations: 0 / 434.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.282, allocations: 0 / 434.5 MB, free: 36.45 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.000948/0.283, allocations: 1.079 MB / 435.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.283, allocations: 9.062 kB / 435.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.2831, allocations: 112.5 kB / 435.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.2834, allocations: 85.66 kB / 435.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.2838, allocations: 403.3 kB / 436.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.2839, allocations: 71.62 kB / 436.2 MB, free: 35.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.284, allocations: 70.72 kB / 436.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.2853, allocations: 1.12 MB / 437.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2853, allocations: 6.781 kB / 437.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.2854, allocations: 32.45 kB / 437.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.2855, allocations: 49.34 kB / 437.5 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2865, allocations: 0.7456 MB / 438.3 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.289, allocations: 3.015 MB / 441.3 MB, free: 31.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.2902, allocations: 1.402 MB / 442.7 MB, free: 31.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.4e-05/0.2903, allocations: 86.16 kB / 442.8 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000973/0.2913, allocations: 0.8112 MB / 443.6 MB, free: 30.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.535e-06/0.2913, allocations: 0 / 443.6 MB, free: 30.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002972/0.2943, allocations: 2.576 MB / 446.2 MB, free: 29.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002154/0.2945, allocations: 0.518 MB / 446.7 MB, free: 28.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.2948, allocations: 364.7 kB / 447 MB, free: 28.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/0.2949, allocations: 65.14 kB / 447.1 MB, free: 28.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.2951, allocations: 236.5 kB / 447.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.2952, allocations: 186 kB / 447.5 MB, free: 28.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.2953, allocations: 18.31 kB / 447.5 MB, free: 28.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2954, allocations: 371.3 kB / 447.9 MB, free: 27.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.2958, allocations: 299.8 kB / 448.2 MB, free: 27.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/0.2965, allocations: 0.6289 MB / 448.8 MB, free: 27.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.2971, allocations: 0.674 MB / 449.5 MB, free: 26.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.2971, allocations: 2.969 kB / 449.5 MB, free: 26.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001651/0.2988, allocations: 1.46 MB / 450.9 MB, free: 25.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.2989, allocations: 314.4 kB / 451.3 MB, free: 25.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.299, allocations: 15.28 kB / 451.3 MB, free: 25.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.299, allocations: 16 kB / 451.3 MB, free: 25.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.2993, allocations: 109.5 kB / 451.4 MB, free: 25.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.854e-05/0.2993, allocations: 26.33 kB / 451.4 MB, free: 25.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.2997, allocations: 107.3 kB / 451.5 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.2998, allocations: 47.91 kB / 451.6 MB, free: 25.49 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 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 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.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 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: 46 * Number of states: 0 () * Number of discrete variables: 118 ($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,$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.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition7,$PRE.P1.reStart,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,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,$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.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,$whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.activation.disPlaceOut[1],T1.enabledByInPlaces,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * 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.0007773/0.3006, allocations: 0.7001 MB / 452.3 MB, free: 24.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3007, allocations: 65.59 kB / 452.3 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.3028, allocations: 1.706 MB / 454 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3028, allocations: 6.562 kB / 454 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.3029, allocations: 0 / 454 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3029, allocations: 6.734 kB / 454.1 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.3058, allocations: 2.631 MB / 456.7 MB, free: 22.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3058, allocations: 7.188 kB / 456.7 MB, free: 22.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.306, allocations: 29.86 kB / 456.7 MB, free: 22.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.306, allocations: 3 kB / 456.7 MB, free: 22.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.306, allocations: 32.59 kB / 456.8 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.306, allocations: 7.047 kB / 456.8 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3061, allocations: 3.234 kB / 456.8 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.3083, allocations: 2.106 MB / 458.9 MB, free: 21.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.3084, allocations: 125.5 kB / 459 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.3085, allocations: 75.23 kB / 459.1 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.3089, allocations: 49.36 kB / 459.1 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.309, allocations: 85.84 kB / 459.2 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/0.3091, allocations: 44.39 kB / 459.2 MB, free: 21.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.3093, allocations: 226.6 kB / 459.5 MB, free: 21.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3093, allocations: 0 / 459.5 MB, free: 21.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009542/0.3103, allocations: 305.6 kB / 459.8 MB, free: 21.43 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: 67 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,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 (37): * Single equations (assignments): 25 * Array equations: 0 * 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.003136/0.3134, allocations: 2.988 MB / 462.7 MB, free: 19.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.3153, allocations: 1.74 MB / 464.5 MB, free: 18.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.3153, allocations: 0.9688 kB / 464.5 MB, free: 18.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.317, allocations: 2.818 MB / 467.3 MB, free: 16.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.3175, allocations: 72.52 kB / 467.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007017/0.3245, allocations: 11.03 MB / 478.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.3251, allocations: 0.9096 MB / 479.3 MB, free: 22.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003342/0.3254, allocations: 132.5 kB / 479.4 MB, free: 22.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.3256, allocations: 172.6 kB / 479.6 MB, free: 22.61 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3256, allocations: 0 / 479.6 MB, free: 22.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.3602, allocations: 14.75 MB / 494.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.3604, allocations: 202.7 kB / 494.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.31, allocations: 3.938 kB / 494.6 MB, free: 15.59 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat does not exist to compare? outputFormat=mat