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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 218.5 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.08227/0.08227, allocations: 16.94 MB / 330.2 MB, free: 2.098 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 63.91 kB / 460.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.11, allocations: 57.63 MB / 0.506 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003181/0.1132, allocations: 1.722 MB / 0.5076 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.1168, allocations: 1.886 MB / 0.5095 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.1171, allocations: 7.938 kB / 0.5095 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.1175, allocations: 119 kB / 0.5096 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004663/0.118, allocations: 139.1 kB / 0.5097 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.12, allocations: 0.9709 MB / 0.5107 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.1217, allocations: 1.357 MB / 0.512 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.1219, allocations: 72.12 kB / 0.5121 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007543/0.1226, allocations: 0.5454 MB / 0.5126 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006442/0.1233, allocations: 386.3 kB / 0.513 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.1235, allocations: 88 kB / 0.5131 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.1245, allocations: 0.6553 MB / 0.5137 GB, free: 488 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.1247, allocations: 147.3 kB / 0.5138 GB, free: 340 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005142/0.1252, allocations: 338.6 kB / 0.5142 GB, free: 0 / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2203/0.3455, allocations: 1.19 MB / 0.5153 GB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3455, allocations: 0.8906 kB / 0.5153 GB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3455, allocations: 1.594 kB / 0.5153 GB, free: 11.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.3455, allocations: 1.094 kB / 0.5153 GB, free: 11.15 MB / 382.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.001598/0.3471, allocations: 1.206 MB / 0.5165 GB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3472, allocations: 9.625 kB / 0.5165 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.847e-05/0.3472, allocations: 23.34 kB / 0.5165 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.3474, allocations: 117.9 kB / 0.5167 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003146/0.3477, allocations: 96.98 kB / 0.5168 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.3482, allocations: 375 kB / 0.5171 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-05/0.3483, allocations: 115.6 kB / 0.5172 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.3484, allocations: 81.34 kB / 0.5173 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.3505, allocations: 1.782 MB / 0.519 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3505, allocations: 7.016 kB / 0.519 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.925e-05/0.3506, allocations: 39.66 kB / 0.5191 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3507, allocations: 52.67 kB / 0.5191 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.3524, allocations: 1.229 MB / 0.5203 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.3558, allocations: 3.003 MB / 0.5233 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.3572, allocations: 0.997 MB / 0.5242 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.3584, allocations: 0.9052 MB / 0.5251 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.619e-05/0.3585, allocations: 10.77 kB / 0.5251 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/0.3601, allocations: 1.259 MB / 0.5264 GB, free: 5.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.685e-06/0.3601, allocations: 1.156 kB / 0.5264 GB, free: 5.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.004259/0.3644, allocations: 3.341 MB / 0.5296 GB, free: 4.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002305/0.3646, allocations: 0.5584 MB / 0.5302 GB, free: 3.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.3651, allocations: 420.6 kB / 0.5306 GB, free: 3.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.23e-05/0.3652, allocations: 69.66 kB / 0.5306 GB, free: 3.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.3654, allocations: 266.5 kB / 0.5309 GB, free: 3.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.3655, allocations: 197.9 kB / 0.5311 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.3658, allocations: 222.4 kB / 0.5313 GB, free: 2.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.3659, allocations: 377.9 kB / 0.5317 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000739/0.3666, allocations: 0.7442 MB / 0.5324 GB, free: 1.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008757/0.3675, allocations: 1.206 MB / 0.5336 GB, free: 0.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.3705, allocations: 2.526 MB / 0.536 GB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/0.3705, allocations: 6.594 kB / 0.536 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003167/0.3737, allocations: 2.151 MB / 0.5381 GB, free: 13.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002507/0.374, allocations: 329.1 kB / 0.5384 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.374, allocations: 11.28 kB / 0.5385 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/0.374, allocations: 17.91 kB / 0.5385 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.3744, allocations: 120.5 kB / 0.5386 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/0.3744, allocations: 23.48 kB / 0.5386 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/0.3751, allocations: 130.9 kB / 0.5387 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.3752, allocations: 58.53 kB / 0.5388 GB, free: 13.48 MB / 398.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: 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,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,$PRE.P1.tokeninout,P1.outTransition[1].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.arcWeight[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.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[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 (130): * Single equations (assignments): 119 * 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.001201/0.3764, allocations: 0.7531 MB / 0.5395 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.3766, allocations: 76.53 kB / 0.5396 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.3805, allocations: 2.328 MB / 0.5419 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.3805, allocations: 4.781 kB / 0.5419 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3805, allocations: 2.969 kB / 0.5419 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3805, allocations: 1.078 kB / 0.5419 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.3848, allocations: 2.938 MB / 0.5448 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3848, allocations: 0 / 0.5448 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.385, allocations: 27.28 kB / 0.5448 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.385, allocations: 5.188 kB / 0.5448 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.3851, allocations: 44.08 kB / 0.5448 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3851, allocations: 2.219 kB / 0.5448 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3851, allocations: 3.938 kB / 0.5448 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/0.389, allocations: 2.782 MB / 0.5475 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.3892, allocations: 54.45 kB / 0.5476 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.3895, allocations: 76.27 kB / 0.5477 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.39, allocations: 74.45 kB / 0.5477 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006468/0.3906, allocations: 330.5 kB / 0.5481 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.3908, allocations: 45.02 kB / 0.5481 GB, free: 8.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000384/0.3911, allocations: 255.3 kB / 0.5483 GB, free: 8.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3911, allocations: 1.688 kB / 0.5483 GB, free: 8.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002243/0.3934, allocations: 340.3 kB / 0.5487 GB, free: 8.441 MB / 398.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 (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.005519/0.3989, allocations: 3.596 MB / 0.5522 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003489/0.4024, allocations: 2.603 MB / 0.5547 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4024, allocations: 2 kB / 0.5547 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001824/0.4042, allocations: 1.575 MB / 0.5563 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.4049, allocations: 117.3 kB / 0.5564 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.4174, allocations: 9.471 MB / 0.5656 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.4177, allocations: 319.7 kB / 0.5659 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.4181, allocations: 144.5 kB / 0.5661 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.4184, allocations: 191.4 kB / 0.5662 GB, free: 10.15 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4184, allocations: 4 kB / 0.5663 GB, free: 10.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/0.4653, allocations: 19.07 MB / 0.5849 GB, free: 7.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.34, allocations: 15.75 kB / 0.5849 GB, free: 7.266 MB / 430.1 MB " [Timeout remaining time 647] (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/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTT.fmu > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.094510931987315] Failed to read output from testmodel.py, exit status != 0: 12.510521734016947 12.527192342 12.178293473 Calling exit ...