Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.001775/0.001775, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.002215/0.002215, allocations: 215 kB / 20.13 MB, free: 2.949 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.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.07865/0.07865, allocations: 16.94 MB / 326.5 MB, free: 8.32 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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.001962/0.001962, allocations: 64.09 kB / 455.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09962, allocations: 57.58 MB / 0.5009 GB, free: 9.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003301/0.1029, allocations: 1.867 MB / 0.5027 GB, free: 7.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003734/0.1067, allocations: 1.933 MB / 0.5046 GB, free: 5.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.1069, allocations: 11.94 kB / 0.5046 GB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1072, allocations: 111 kB / 0.5047 GB, free: 5.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.1076, allocations: 135.1 kB / 0.5048 GB, free: 5.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.1094, allocations: 0.9068 MB / 0.5057 GB, free: 4.676 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.1108, allocations: 1.314 MB / 0.507 GB, free: 3.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.111, allocations: 96.64 kB / 0.5071 GB, free: 3.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006476/0.1117, allocations: 0.5454 MB / 0.5076 GB, free: 2.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004896/0.1122, allocations: 374.1 kB / 0.508 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.1123, allocations: 88 kB / 0.5081 GB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007779/0.1131, allocations: 0.5384 MB / 0.5086 GB, free: 1.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.1133, allocations: 155.3 kB / 0.5087 GB, free: 1.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004138/0.1137, allocations: 386.3 kB / 0.5091 GB, free: 1.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.1151, allocations: 1.18 MB / 0.5102 GB, free: 12 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1151, allocations: 8 kB / 0.5103 GB, free: 4 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1151, allocations: 0 / 0.5103 GB, free: 4 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.1151, allocations: 0 / 0.5103 GB, free: 4 kB / 366.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.001852/0.117, allocations: 1.301 MB / 0.5115 GB, free: 14.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.117, allocations: 8.031 kB / 0.5115 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.513e-05/0.117, allocations: 17.5 kB / 0.5116 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.1172, allocations: 118.7 kB / 0.5117 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.1175, allocations: 96.5 kB / 0.5118 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000632/0.1182, allocations: 430.6 kB / 0.5122 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1183, allocations: 90.92 kB / 0.5123 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.1184, allocations: 79.98 kB / 0.5123 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.1206, allocations: 1.318 MB / 0.5136 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1206, allocations: 8 kB / 0.5136 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/0.1207, allocations: 31.98 kB / 0.5137 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.1208, allocations: 52.95 kB / 0.5137 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.1225, allocations: 0.9171 MB / 0.5146 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004263/0.1267, allocations: 3.334 MB / 0.5179 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.1281, allocations: 0.7203 MB / 0.5186 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.1291, allocations: 0.5997 MB / 0.5191 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.043e-05/0.1292, allocations: 81.11 kB / 0.5192 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.1307, allocations: 0.9196 MB / 0.5201 GB, free: 5.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.434e-06/0.1307, allocations: 4 kB / 0.5201 GB, free: 5.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.004391/0.1351, allocations: 2.629 MB / 0.5227 GB, free: 2.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004507/0.1355, allocations: 0.5387 MB / 0.5232 GB, free: 2.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/0.1361, allocations: 405.4 kB / 0.5236 GB, free: 1.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.1362, allocations: 69.72 kB / 0.5237 GB, free: 1.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.1364, allocations: 269 kB / 0.5239 GB, free: 1.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.1367, allocations: 202.6 kB / 0.5241 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/0.137, allocations: 230.5 kB / 0.5243 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.1373, allocations: 374.7 kB / 0.5247 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007997/0.1381, allocations: 446 kB / 0.5251 GB, free: 136 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.1392, allocations: 0.8085 MB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003392/0.1426, allocations: 2.555 MB / 0.5284 GB, free: 12.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.1426, allocations: 4 kB / 0.5284 GB, free: 12.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00306/0.1457, allocations: 1.822 MB / 0.5302 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002823/0.146, allocations: 333 kB / 0.5305 GB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.146, allocations: 12.25 kB / 0.5305 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.532e-05/0.146, allocations: 20 kB / 0.5305 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.1464, allocations: 123.7 kB / 0.5307 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-05/0.1465, allocations: 35.8 kB / 0.5307 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.147, allocations: 131.6 kB / 0.5308 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.1471, allocations: 56 kB / 0.5309 GB, free: 9.625 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: 51 * 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.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.enableOut.arcWeight[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 (134): * Single equations (assignments): 123 * 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.001167/0.1483, allocations: 0.7404 MB / 0.5316 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.1485, allocations: 87.64 kB / 0.5317 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.1517, allocations: 2.015 MB / 0.5336 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.1518, allocations: 7.984 kB / 0.5337 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1518, allocations: 4 kB / 0.5337 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1518, allocations: 3.938 kB / 0.5337 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.1564, allocations: 3.046 MB / 0.5366 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.1564, allocations: 3.984 kB / 0.5366 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.1566, allocations: 27.92 kB / 0.5367 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.1566, allocations: 4 kB / 0.5367 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.734e-05/0.1567, allocations: 43.92 kB / 0.5367 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1567, allocations: 0 / 0.5367 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1567, allocations: 7.938 kB / 0.5367 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003631/0.1603, allocations: 2.395 MB / 0.5391 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1604, allocations: 124.7 kB / 0.5392 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.1606, allocations: 83.91 kB / 0.5393 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.1611, allocations: 79.88 kB / 0.5393 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000572/0.1617, allocations: 331.5 kB / 0.5396 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.1618, allocations: 51.95 kB / 0.5397 GB, free: 292 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002814/0.1621, allocations: 243.2 kB / 0.5399 GB, free: 52 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1621, allocations: 0 / 0.5399 GB, free: 52 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001224/0.1633, allocations: 339.6 kB / 0.5403 GB, free: 15.72 MB / 414.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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.005216/0.1685, allocations: 3.207 MB / 0.5434 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003139/0.1717, allocations: 1.964 MB / 0.5453 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.1717, allocations: 0 / 0.5453 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.1735, allocations: 1.265 MB / 0.5465 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.1742, allocations: 116.3 kB / 0.5467 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.1863, allocations: 7.979 MB / 0.5544 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.1869, allocations: 0.9153 MB / 0.5553 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003949/0.1873, allocations: 140.5 kB / 0.5555 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.1876, allocations: 187.4 kB / 0.5556 GB, free: 15.17 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1876, allocations: 0 / 0.5556 GB, free: 15.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.2272, allocations: 18.01 MB / 0.5732 GB, free: 13.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.299/9.526, allocations: 9.844 kB / 0.5732 GB, free: 13.19 MB / 446.1 MB " [Timeout remaining time 650] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.308417049993295] Failed to read output from testmodel.py, exit status != 0: 9.65785938303452 9.673069305 9.554958693 Calling exit ...