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.001832/0.001832, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002362/0.002362, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.09297/0.09297, allocations: 16.94 MB / 330.2 MB, free: 2.262 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.00204/0.00204, allocations: 67.91 kB / 460.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1087, allocations: 57.64 MB / 0.506 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003226/0.1119, allocations: 1.881 MB / 0.5079 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.1155, allocations: 1.979 MB / 0.5098 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.1157, allocations: 11.94 kB / 0.5098 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.116, allocations: 115 kB / 0.5099 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.1164, allocations: 139.1 kB / 0.5101 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.1184, allocations: 0.9671 MB / 0.511 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.1199, allocations: 1.357 MB / 0.5123 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.1201, allocations: 66.83 kB / 0.5124 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005916/0.1207, allocations: 0.5532 MB / 0.5129 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005322/0.1213, allocations: 386.2 kB / 0.5133 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.1214, allocations: 88 kB / 0.5134 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1224, allocations: 0.6514 MB / 0.514 GB, free: 360 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.1227, allocations: 159.3 kB / 0.5142 GB, free: 200 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1974/0.3201, allocations: 386.7 kB / 0.5146 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3216, allocations: 1.191 MB / 0.5157 GB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3216, allocations: 0 / 0.5157 GB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3216, allocations: 0.7188 kB / 0.5157 GB, free: 10.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3216, allocations: 0 / 0.5157 GB, free: 10.65 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.001563/0.3232, allocations: 1.218 MB / 0.5169 GB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3232, allocations: 9.062 kB / 0.5169 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.534e-05/0.3232, allocations: 16.28 kB / 0.5169 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.3234, allocations: 124.7 kB / 0.517 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.3237, allocations: 93.81 kB / 0.5171 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.3242, allocations: 381.8 kB / 0.5175 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.492e-05/0.3243, allocations: 110.5 kB / 0.5176 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3245, allocations: 82.72 kB / 0.5177 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.3262, allocations: 1.309 MB / 0.519 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3262, allocations: 5.719 kB / 0.519 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.346e-05/0.3263, allocations: 39.12 kB / 0.519 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.191e-05/0.3264, allocations: 51.61 kB / 0.5191 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.3278, allocations: 0.8896 MB / 0.5199 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.3312, allocations: 3.195 MB / 0.523 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.3323, allocations: 0.6547 MB / 0.5237 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000855/0.3331, allocations: 0.5618 MB / 0.5242 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.3332, allocations: 10.72 kB / 0.5242 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.3345, allocations: 0.8922 MB / 0.5251 GB, free: 7.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.064e-06/0.3345, allocations: 0.9062 kB / 0.5251 GB, free: 7.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.003664/0.3382, allocations: 2.537 MB / 0.5276 GB, free: 5.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002224/0.3384, allocations: 0.5625 MB / 0.5281 GB, free: 5.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.3388, allocations: 421.4 kB / 0.5285 GB, free: 5.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.663e-05/0.3389, allocations: 65.45 kB / 0.5286 GB, free: 5.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.3391, allocations: 267.8 kB / 0.5289 GB, free: 4.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.3392, allocations: 190.4 kB / 0.529 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.3395, allocations: 226 kB / 0.5293 GB, free: 4.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3396, allocations: 378.5 kB / 0.5296 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006906/0.3403, allocations: 437 kB / 0.53 GB, free: 4.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007661/0.3411, allocations: 0.7903 MB / 0.5308 GB, free: 3.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.3435, allocations: 2.512 MB / 0.5333 GB, free: 1.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.3435, allocations: 3.188 kB / 0.5333 GB, free: 1.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002393/0.3459, allocations: 1.813 MB / 0.535 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.346, allocations: 339.5 kB / 0.5354 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.3461, allocations: 10.75 kB / 0.5354 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.3461, allocations: 18.41 kB / 0.5354 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.3464, allocations: 113 kB / 0.5355 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/0.3465, allocations: 31.45 kB / 0.5355 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.347, allocations: 134.8 kB / 0.5357 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.3471, allocations: 54.77 kB / 0.5357 GB, free: 0.5352 MB / 382.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.0008372/0.3479, allocations: 0.7596 MB / 0.5364 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.3481, allocations: 77.27 kB / 0.5365 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.3513, allocations: 1.946 MB / 0.5384 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.3513, allocations: 6.609 kB / 0.5384 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3513, allocations: 4 kB / 0.5384 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3513, allocations: 3.281 kB / 0.5384 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.3553, allocations: 2.717 MB / 0.5411 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3553, allocations: 0 / 0.5411 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3554, allocations: 29.7 kB / 0.5411 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3554, allocations: 1.375 kB / 0.5411 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.893e-05/0.3555, allocations: 37.41 kB / 0.5412 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3555, allocations: 4.312 kB / 0.5412 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3555, allocations: 5.438 kB / 0.5412 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.3589, allocations: 2.325 MB / 0.5434 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.359, allocations: 56.75 kB / 0.5435 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.3592, allocations: 71.38 kB / 0.5436 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.3597, allocations: 81.75 kB / 0.5436 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005361/0.3602, allocations: 331.2 kB / 0.5439 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.3603, allocations: 51.23 kB / 0.544 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.3606, allocations: 252.7 kB / 0.5442 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3606, allocations: 0 / 0.5442 GB, free: 12.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001204/0.3618, allocations: 342.1 kB / 0.5446 GB, free: 12.37 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.00446/0.3663, allocations: 3.128 MB / 0.5476 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.3689, allocations: 1.923 MB / 0.5495 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3689, allocations: 0 / 0.5495 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.3706, allocations: 1.235 MB / 0.5507 GB, free: 8.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.3712, allocations: 116 kB / 0.5508 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.3823, allocations: 7.796 MB / 0.5584 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.3829, allocations: 0.9173 MB / 0.5593 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003828/0.3832, allocations: 146.3 kB / 0.5595 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.3835, allocations: 187.4 kB / 0.5596 GB, free: 1.824 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3835, allocations: 0 / 0.5596 GB, free: 1.824 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04393/0.4274, allocations: 18.68 MB / 0.5779 GB, free: 15.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.5, allocations: 15.5 kB / 0.5779 GB, free: 15.27 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.201667235000059] Failed to read output from testmodel.py, exit status != 0: 12.671786407008767 12.688830068 12.363591063 Calling exit ...