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.001733/0.001733, allocations: 116.8 kB / 17.17 MB, free: 6 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.00217/0.00217, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.543/1.543, 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.1014/0.1014, allocations: 16.95 MB / 326.5 MB, free: 8.301 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.001927/0.001927, allocations: 73.67 kB / 455.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09414, allocations: 57.59 MB / 0.5009 GB, free: 9.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003499/0.09764, allocations: 1.87 MB / 0.5027 GB, free: 7.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.1018, allocations: 1.929 MB / 0.5046 GB, free: 5.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.1023, allocations: 7.938 kB / 0.5046 GB, free: 5.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.1028, allocations: 119.1 kB / 0.5047 GB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006087/0.1034, allocations: 135 kB / 0.5048 GB, free: 5.672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.1056, allocations: 0.9008 MB / 0.5057 GB, free: 4.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.1075, allocations: 1.314 MB / 0.507 GB, free: 3.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.1077, allocations: 96.64 kB / 0.5071 GB, free: 3.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000891/0.1086, allocations: 0.5415 MB / 0.5076 GB, free: 2.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.1093, allocations: 366.3 kB / 0.508 GB, free: 2.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.1095, allocations: 88 kB / 0.508 GB, free: 2.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.1104, allocations: 0.5461 MB / 0.5086 GB, free: 1.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.1106, allocations: 147.3 kB / 0.5087 GB, free: 1.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005403/0.1112, allocations: 390.3 kB / 0.5091 GB, free: 1.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.1129, allocations: 1.192 MB / 0.5103 GB, free: 104 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1129, allocations: 0 / 0.5103 GB, free: 104 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1129, allocations: 0 / 0.5103 GB, free: 104 kB / 366.1 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.1129, allocations: 0 / 0.5103 GB, free: 104 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.002186/0.1151, allocations: 1.297 MB / 0.5115 GB, free: 14.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1152, allocations: 12.03 kB / 0.5115 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.927e-05/0.1152, allocations: 13.5 kB / 0.5115 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001865/0.1154, allocations: 118.7 kB / 0.5117 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.1157, allocations: 100.5 kB / 0.5118 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.1164, allocations: 434.5 kB / 0.5122 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.1165, allocations: 79 kB / 0.5122 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.1167, allocations: 83.97 kB / 0.5123 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.1189, allocations: 1.322 MB / 0.5136 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.1189, allocations: 7.922 kB / 0.5136 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.119, allocations: 39.92 kB / 0.5137 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.1192, allocations: 52.95 kB / 0.5137 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.1209, allocations: 0.9054 MB / 0.5146 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004455/0.1253, allocations: 3.303 MB / 0.5178 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.1266, allocations: 0.6609 MB / 0.5185 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009646/0.1275, allocations: 0.5724 MB / 0.519 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.605e-05/0.1276, allocations: 81.11 kB / 0.5191 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/0.1291, allocations: 0.8957 MB / 0.52 GB, free: 5.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.745e-06/0.1291, allocations: 0 / 0.52 GB, free: 5.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.00417/0.1333, allocations: 2.543 MB / 0.5225 GB, free: 3.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004024/0.1337, allocations: 0.5637 MB / 0.523 GB, free: 2.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.1342, allocations: 425.3 kB / 0.5234 GB, free: 2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.1343, allocations: 73.69 kB / 0.5235 GB, free: 1.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.1346, allocations: 272.9 kB / 0.5237 GB, free: 1.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.1348, allocations: 198.6 kB / 0.5239 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.1351, allocations: 226.6 kB / 0.5242 GB, free: 1.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1353, allocations: 374.8 kB / 0.5245 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000742/0.1361, allocations: 442 kB / 0.5249 GB, free: 428 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.1371, allocations: 0.8137 MB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/0.1404, allocations: 2.544 MB / 0.5282 GB, free: 12.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/0.1405, allocations: 4 kB / 0.5282 GB, free: 12.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002894/0.1434, allocations: 1.834 MB / 0.53 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.1436, allocations: 335.1 kB / 0.5303 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.1436, allocations: 12.81 kB / 0.5303 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.1437, allocations: 20 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.1441, allocations: 131.6 kB / 0.5305 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.094e-05/0.1441, allocations: 27.86 kB / 0.5305 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.1447, allocations: 139.2 kB / 0.5306 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.1448, allocations: 55.98 kB / 0.5307 GB, free: 9.887 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.001047/0.1458, allocations: 0.7503 MB / 0.5314 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.146, allocations: 79.67 kB / 0.5315 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/0.1491, allocations: 1.952 MB / 0.5334 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.1492, allocations: 11.98 kB / 0.5334 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1492, allocations: 8 kB / 0.5334 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1492, allocations: 3.938 kB / 0.5334 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/0.1537, allocations: 2.975 MB / 0.5363 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1537, allocations: 0 / 0.5363 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.1538, allocations: 31.92 kB / 0.5364 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.1538, allocations: 0 / 0.5364 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.73e-05/0.1539, allocations: 39.92 kB / 0.5364 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.1539, allocations: 7.984 kB / 0.5364 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1539, allocations: 4 kB / 0.5364 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/0.1574, allocations: 2.335 MB / 0.5387 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1575, allocations: 128.7 kB / 0.5388 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.1577, allocations: 79.91 kB / 0.5389 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.1582, allocations: 75.94 kB / 0.539 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005495/0.1588, allocations: 323.7 kB / 0.5393 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.1589, allocations: 47.97 kB / 0.5393 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002868/0.1592, allocations: 247.2 kB / 0.5396 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1592, allocations: 0 / 0.5396 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001083/0.1603, allocations: 351.5 kB / 0.5399 GB, free: 168 kB / 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.004621/0.1649, allocations: 3.146 MB / 0.543 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002824/0.1677, allocations: 1.928 MB / 0.5449 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1677, allocations: 4 kB / 0.5449 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.1694, allocations: 1.236 MB / 0.5461 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.1701, allocations: 112.1 kB / 0.5462 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.1828, allocations: 7.883 MB / 0.5539 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.1835, allocations: 0.9153 MB / 0.5548 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003806/0.1838, allocations: 157.1 kB / 0.5549 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/0.1843, allocations: 191.4 kB / 0.5551 GB, free: 15.81 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1843, allocations: 0 / 0.5551 GB, free: 15.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/0.2254, allocations: 17.94 MB / 0.5726 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.185/9.411, allocations: 19.06 kB / 0.5726 GB, free: 13.88 MB / 446.1 MB " [Timeout remaining time 650] (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: 12.285877311020158] Failed to read output from testmodel.py, exit status != 0: 9.545711403014138 9.566809212999999 9.449877432 Calling exit ...