Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001838/0.001838, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00247/0.00247, allocations: 212.7 kB / 23.03 MB, free: 4.922 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.09167/0.09167, allocations: 16.93 MB / 330.2 MB, free: 2.086 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.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",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.001954/0.001954, allocations: 67.89 kB / 460.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1161, allocations: 57.63 MB / 0.506 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003111/0.1192, allocations: 1.728 MB / 0.5076 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.1225, allocations: 1.847 MB / 0.5095 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.1227, allocations: 15.88 kB / 0.5095 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.1231, allocations: 111.1 kB / 0.5096 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.1234, allocations: 135.1 kB / 0.5097 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.1253, allocations: 0.967 MB / 0.5106 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.1267, allocations: 1.357 MB / 0.512 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1269, allocations: 69.14 kB / 0.512 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006225/0.1275, allocations: 0.5454 MB / 0.5126 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.1281, allocations: 390.2 kB / 0.5129 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.1282, allocations: 92 kB / 0.513 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1294, allocations: 0.6475 MB / 0.5137 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.1296, allocations: 151.3 kB / 0.5138 GB, free: 372 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004495/0.13, allocations: 334.7 kB / 0.5141 GB, free: 36 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2095/0.3395, allocations: 1.191 MB / 0.5153 GB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3395, allocations: 2.625 kB / 0.5153 GB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3395, allocations: 0 / 0.5153 GB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.3395, allocations: 1.062 kB / 0.5153 GB, free: 11.14 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001583/0.3411, allocations: 1.207 MB / 0.5165 GB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3411, allocations: 10.47 kB / 0.5165 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.735e-05/0.3412, allocations: 15.09 kB / 0.5165 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.3413, allocations: 124 kB / 0.5166 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.3416, allocations: 96.78 kB / 0.5167 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.3422, allocations: 373.6 kB / 0.5171 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.725e-05/0.3423, allocations: 114.4 kB / 0.5172 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.3424, allocations: 77.95 kB / 0.5172 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.3443, allocations: 1.794 MB / 0.519 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.3443, allocations: 2.609 kB / 0.519 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-05/0.3444, allocations: 37.62 kB / 0.519 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.3445, allocations: 55.08 kB / 0.5191 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.3462, allocations: 1.247 MB / 0.5203 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.3494, allocations: 3.008 MB / 0.5232 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.3508, allocations: 1.003 MB / 0.5242 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.3518, allocations: 0.9082 MB / 0.5251 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.3519, allocations: 10.34 kB / 0.5251 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001564/0.3535, allocations: 1.259 MB / 0.5263 GB, free: 5.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.525e-06/0.3535, allocations: 1.625 kB / 0.5264 GB, free: 5.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.004145/0.3576, allocations: 3.352 MB / 0.5296 GB, free: 4.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002233/0.3578, allocations: 0.5518 MB / 0.5302 GB, free: 3.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.3583, allocations: 420.3 kB / 0.5306 GB, free: 3.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/0.3583, allocations: 72.41 kB / 0.5306 GB, free: 3.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.3585, allocations: 278.8 kB / 0.5309 GB, free: 3.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.3586, allocations: 197.1 kB / 0.5311 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.359, allocations: 233.5 kB / 0.5313 GB, free: 2.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3591, allocations: 375.9 kB / 0.5317 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007291/0.3598, allocations: 0.7519 MB / 0.5324 GB, free: 1.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009217/0.3607, allocations: 1.229 MB / 0.5336 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/0.3636, allocations: 2.558 MB / 0.5361 GB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.3636, allocations: 3.281 kB / 0.5361 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002949/0.3665, allocations: 2.182 MB / 0.5382 GB, free: 13.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002419/0.3668, allocations: 329.7 kB / 0.5385 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.3668, allocations: 13 kB / 0.5386 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.3668, allocations: 17.53 kB / 0.5386 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.3672, allocations: 124 kB / 0.5387 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.3672, allocations: 25.92 kB / 0.5387 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.3678, allocations: 135.1 kB / 0.5388 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.783e-05/0.3679, allocations: 61.25 kB / 0.5389 GB, free: 13.41 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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,T1.inPlaces[1].tokenInOut,$PRE.P1.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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (135): * Single equations (assignments): 124 * 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.001092/0.369, allocations: 0.7475 MB / 0.5396 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.3691, allocations: 77.47 kB / 0.5397 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.3726, allocations: 2.33 MB / 0.542 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.3726, allocations: 6.156 kB / 0.542 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3726, allocations: 1.984 kB / 0.542 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.3726, allocations: 3.141 kB / 0.542 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004682/0.3773, allocations: 3.166 MB / 0.5451 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3773, allocations: 1.125 kB / 0.5451 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3774, allocations: 35.05 kB / 0.5451 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.3775, allocations: 1.312 kB / 0.5451 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-05/0.3776, allocations: 43.14 kB / 0.5452 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3776, allocations: 6.922 kB / 0.5452 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3776, allocations: 5.281 kB / 0.5452 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003726/0.3813, allocations: 2.788 MB / 0.5479 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.3814, allocations: 51.41 kB / 0.5479 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.3816, allocations: 82.59 kB / 0.548 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.3821, allocations: 80.03 kB / 0.5481 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000535/0.3826, allocations: 329.6 kB / 0.5484 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/0.3828, allocations: 48.12 kB / 0.5485 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002873/0.3831, allocations: 250.4 kB / 0.5487 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3831, allocations: 0 / 0.5487 GB, free: 8.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001246/0.3843, allocations: 339.5 kB / 0.549 GB, free: 8.258 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: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * 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.005026/0.3893, allocations: 3.608 MB / 0.5526 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003756/0.3931, allocations: 2.611 MB / 0.5551 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3931, allocations: 384 / 0.5551 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.3951, allocations: 1.584 MB / 0.5566 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.3957, allocations: 110.8 kB / 0.5568 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.4095, allocations: 9.57 MB / 0.5661 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.4099, allocations: 316.6 kB / 0.5664 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004629/0.4104, allocations: 156.7 kB / 0.5666 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.4107, allocations: 183.4 kB / 0.5667 GB, free: 9.59 MB / 414.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4107, allocations: 0 / 0.5667 GB, free: 9.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04943/0.4601, allocations: 19.21 MB / 0.5855 GB, free: 6.594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.47, allocations: 14.41 kB / 0.5855 GB, free: 6.586 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.313433081959374] Failed to read output from testmodel.py, exit status != 0: 12.649034139001742 12.677879166 12.333175793 Calling exit ...