Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",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.0008649/0.0008653, allocations: 99.16 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.0008724/0.0008725, 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.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2011/0.2011, allocations: 16.86 MB / 307.8 MB, free: 15.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003596, allocations: 12 kB / 373 MB, free: 3.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3468, allocations: 54.49 MB / 427.5 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.001832/0.3487, allocations: 1.563 MB / 429 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.3518, allocations: 1.916 MB / 430.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.352, allocations: 5.812 kB / 430.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3523, allocations: 85.92 kB / 431 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.3527, allocations: 115.1 kB / 431.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.3544, allocations: 0.6318 MB / 431.8 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008047/0.3552, allocations: 0.6547 MB / 432.4 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.3554, allocations: 143.5 kB / 432.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.3558, allocations: 396.2 kB / 433 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.3562, allocations: 283.8 kB / 433.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.773e-05/0.3563, allocations: 35.03 kB / 433.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.357, allocations: 380.4 kB / 433.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3571, allocations: 113.3 kB / 433.7 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.3573, allocations: 167.4 kB / 433.9 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007849/0.3581, allocations: 0.8076 MB / 434.7 MB, free: 36.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3581, allocations: 0 / 434.7 MB, free: 36.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3581, allocations: 0 / 434.7 MB, free: 36.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3581, allocations: 3.938 kB / 434.7 MB, free: 36.31 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001242/0.3594, allocations: 1.137 MB / 435.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3594, allocations: 11.03 kB / 435.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.3596, allocations: 118.8 kB / 436 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.3599, allocations: 99.02 kB / 436.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.3604, allocations: 432.5 kB / 436.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.378e-05/0.3605, allocations: 78.05 kB / 436.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.3606, allocations: 81.98 kB / 436.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.3622, allocations: 1.329 MB / 438 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3622, allocations: 10.77 kB / 438 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.739e-05/0.3623, allocations: 39.58 kB / 438 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.16e-05/0.3624, allocations: 52.61 kB / 438.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3636, allocations: 0.9052 MB / 439 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.3666, allocations: 3.314 MB / 442.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.3678, allocations: 1.545 MB / 443.9 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.3679, allocations: 84.12 kB / 443.9 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.3689, allocations: 0.9117 MB / 444.8 MB, free: 29.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.369, allocations: 6.969 kB / 444.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.003144/0.3721, allocations: 2.908 MB / 447.8 MB, free: 28.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/0.3723, allocations: 0.5558 MB / 448.3 MB, free: 27.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.3727, allocations: 422.6 kB / 448.7 MB, free: 27.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.3727, allocations: 67.77 kB / 448.8 MB, free: 27.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3729, allocations: 268.6 kB / 449.1 MB, free: 27.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.373, allocations: 176.3 kB / 449.2 MB, free: 27.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.373, allocations: 22.59 kB / 449.3 MB, free: 27.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.3731, allocations: 376.1 kB / 449.6 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005393/0.3737, allocations: 432.5 kB / 450 MB, free: 26.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/0.3744, allocations: 0.787 MB / 450.8 MB, free: 26.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.375, allocations: 0.7516 MB / 451.6 MB, free: 25.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.375, allocations: 3.312 kB / 451.6 MB, free: 25.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001985/0.377, allocations: 1.805 MB / 453.4 MB, free: 24.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.3772, allocations: 330.7 kB / 453.7 MB, free: 24.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.3772, allocations: 11.94 kB / 453.7 MB, free: 24.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.3772, allocations: 18.53 kB / 453.7 MB, free: 24.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.3775, allocations: 119.5 kB / 453.9 MB, free: 24.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.3776, allocations: 33 kB / 453.9 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.378, allocations: 134.7 kB / 454 MB, free: 24.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.3781, allocations: 51.62 kB / 454.1 MB, free: 24.38 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,P1.outTransition[1].tokenInOut,$PRE.P1.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.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.T1.firingTime,T1.firingTime,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],P1.enableOut.arcWeight[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 (130): * Single equations (assignments): 119 * 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.0006876/0.3788, allocations: 0.7493 MB / 454.8 MB, free: 23.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3789, allocations: 78.86 kB / 454.9 MB, free: 23.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.3812, allocations: 1.981 MB / 456.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.3812, allocations: 10.06 kB / 456.9 MB, free: 22.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3812, allocations: 0 / 456.9 MB, free: 22.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3813, allocations: 0 / 456.9 MB, free: 22.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.3841, allocations: 2.772 MB / 459.7 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3842, allocations: 3.844 kB / 459.7 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3843, allocations: 21.25 kB / 459.7 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.3843, allocations: 2.5 kB / 459.7 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-05/0.3844, allocations: 48.39 kB / 459.7 MB, free: 21.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3844, allocations: 1.156 kB / 459.7 MB, free: 21.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3844, allocations: 0 / 459.7 MB, free: 21.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002906/0.3873, allocations: 2.364 MB / 462.1 MB, free: 20.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.782e-05/0.3874, allocations: 126.3 kB / 462.2 MB, free: 20.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.3876, allocations: 78.73 kB / 462.3 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/0.3881, allocations: 68.86 kB / 462.4 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004932/0.3886, allocations: 344.1 kB / 462.7 MB, free: 20.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.3887, allocations: 46.06 kB / 462.7 MB, free: 20.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.3889, allocations: 246.1 kB / 463 MB, free: 20.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3889, allocations: 0 / 463 MB, free: 20.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001082/0.39, allocations: 336.9 kB / 463.3 MB, free: 20 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: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,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.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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.003747/0.3938, allocations: 3.251 MB / 466.6 MB, free: 18.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002329/0.3961, allocations: 2.066 MB / 468.6 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3961, allocations: 0 / 468.6 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.3983, allocations: 3.073 MB / 471.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.3987, allocations: 81.67 kB / 471.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008793/0.4075, allocations: 12.1 MB / 483.9 MB, free: 20.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.4082, allocations: 0.9266 MB / 484.8 MB, free: 20.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004861/0.4087, allocations: 146.6 kB / 485 MB, free: 20.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.409, allocations: 186.3 kB / 485.1 MB, free: 20.01 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.409, allocations: 0 / 485.1 MB, free: 20.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.4405, allocations: 17.23 MB / 0.4906 GB, free: 7.828 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.4407, allocations: 192.2 kB / 0.4908 GB, free: 7.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.572, allocations: 0 / 0.4908 GB, free: 7.586 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTT.fmu > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat does not exist to compare? outputFormat=mat