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.001612/0.001612, allocations: 116.8 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.00201/0.00201, allocations: 212 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.579/1.579, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.07799/0.07799, allocations: 16.94 MB / 326.5 MB, free: 8.387 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.001969/0.001969, allocations: 70.19 kB / 455.3 MB, free: 35.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1153, allocations: 57.59 MB / 0.5009 GB, free: 9.637 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003856/0.1191, allocations: 1.878 MB / 0.5027 GB, free: 7.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.1235, allocations: 1.964 MB / 0.5046 GB, free: 5.781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.1239, allocations: 7.938 kB / 0.5046 GB, free: 5.773 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.1243, allocations: 115 kB / 0.5047 GB, free: 5.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.1247, allocations: 135.1 kB / 0.5049 GB, free: 5.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.1271, allocations: 0.9085 MB / 0.5058 GB, free: 4.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.1289, allocations: 1.318 MB / 0.507 GB, free: 3.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.1291, allocations: 104.6 kB / 0.5071 GB, free: 3.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000622/0.1297, allocations: 0.5377 MB / 0.5077 GB, free: 2.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005442/0.1303, allocations: 366.3 kB / 0.508 GB, free: 2.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.1304, allocations: 88 kB / 0.5081 GB, free: 2.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008572/0.1313, allocations: 0.5422 MB / 0.5086 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.1316, allocations: 147.3 kB / 0.5088 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005001/0.1321, allocations: 394.3 kB / 0.5091 GB, free: 1.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.1337, allocations: 1.184 MB / 0.5103 GB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1337, allocations: 0 / 0.5103 GB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1337, allocations: 0 / 0.5103 GB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1337, allocations: 0 / 0.5103 GB, free: 15.95 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.002087/0.1358, allocations: 1.305 MB / 0.5116 GB, free: 14.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1358, allocations: 8.031 kB / 0.5116 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.738e-05/0.1358, allocations: 17.5 kB / 0.5116 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.136, allocations: 126.7 kB / 0.5117 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.1363, allocations: 92.5 kB / 0.5118 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007318/0.1371, allocations: 427.7 kB / 0.5122 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.1372, allocations: 83 kB / 0.5123 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.1373, allocations: 75.98 kB / 0.5124 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.1395, allocations: 1.326 MB / 0.5137 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1395, allocations: 3.938 kB / 0.5137 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.1396, allocations: 35.98 kB / 0.5137 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.1397, allocations: 52.95 kB / 0.5137 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.1413, allocations: 0.8898 MB / 0.5146 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004535/0.1458, allocations: 3.311 MB / 0.5179 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.1472, allocations: 0.7218 MB / 0.5186 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.1482, allocations: 0.561 MB / 0.5191 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.731e-05/0.1483, allocations: 85.33 kB / 0.5192 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.1498, allocations: 0.8968 MB / 0.5201 GB, free: 5.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.1499, allocations: 0 / 0.5201 GB, free: 5.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.004578/0.1544, allocations: 2.538 MB / 0.5225 GB, free: 2.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005072/0.1549, allocations: 0.5638 MB / 0.5231 GB, free: 2.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000599/0.1555, allocations: 421.3 kB / 0.5235 GB, free: 1.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.1557, allocations: 65.69 kB / 0.5236 GB, free: 1.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.1559, allocations: 273 kB / 0.5238 GB, free: 1.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.1561, allocations: 194.6 kB / 0.524 GB, free: 1.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/0.1565, allocations: 230.5 kB / 0.5242 GB, free: 1.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1567, allocations: 366.8 kB / 0.5246 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/0.1574, allocations: 438 kB / 0.525 GB, free: 228 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.1586, allocations: 0.7956 MB / 0.5258 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003468/0.1621, allocations: 2.502 MB / 0.5282 GB, free: 12.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.1621, allocations: 4 kB / 0.5282 GB, free: 12.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003016/0.1651, allocations: 1.806 MB / 0.53 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002711/0.1654, allocations: 340.9 kB / 0.5303 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.1654, allocations: 12 kB / 0.5303 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.1654, allocations: 16.09 kB / 0.5303 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.1658, allocations: 127.6 kB / 0.5304 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.693e-05/0.1659, allocations: 23.92 kB / 0.5305 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.1664, allocations: 139.7 kB / 0.5306 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-05/0.1665, allocations: 55.98 kB / 0.5307 GB, free: 9.801 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 125 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001096/0.1676, allocations: 0.7527 MB / 0.5314 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.1678, allocations: 75.67 kB / 0.5315 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.1712, allocations: 1.943 MB / 0.5334 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/0.1712, allocations: 11.98 kB / 0.5334 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1712, allocations: 0 / 0.5334 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.1712, allocations: 3.938 kB / 0.5334 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004394/0.1756, allocations: 2.746 MB / 0.5361 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1756, allocations: 3.938 kB / 0.5361 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1757, allocations: 27.92 kB / 0.5361 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.1757, allocations: 4 kB / 0.5361 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.991e-05/0.1758, allocations: 39.92 kB / 0.5361 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.1758, allocations: 7.984 kB / 0.5361 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1758, allocations: 0 / 0.5361 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/0.1797, allocations: 2.326 MB / 0.5384 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.1798, allocations: 124.7 kB / 0.5385 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.18, allocations: 79.91 kB / 0.5386 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/0.1805, allocations: 75.94 kB / 0.5387 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005922/0.1811, allocations: 331.7 kB / 0.539 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.1812, allocations: 43.97 kB / 0.539 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003044/0.1815, allocations: 255.2 kB / 0.5393 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1815, allocations: 0 / 0.5393 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001208/0.1827, allocations: 339.4 kB / 0.5396 GB, free: 352 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: 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.005107/0.1879, allocations: 3.136 MB / 0.5427 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002839/0.1907, allocations: 1.924 MB / 0.5445 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1907, allocations: 4 kB / 0.5445 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.1923, allocations: 1.23 MB / 0.5458 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.1929, allocations: 111.8 kB / 0.5459 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.2048, allocations: 7.795 MB / 0.5535 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.2055, allocations: 0.9192 MB / 0.5544 GB, free: 472 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004018/0.2059, allocations: 144.6 kB / 0.5545 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.2061, allocations: 191.4 kB / 0.5547 GB, free: 132 kB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2061, allocations: 0 / 0.5547 GB, free: 132 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04124/0.2474, allocations: 17.85 MB / 0.5721 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.064/9.311, allocations: 14.5 kB / 0.5721 GB, free: 14.29 MB / 446.1 MB " [Timeout remaining time 651] (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: 12.325454631994944] Failed to read output from testmodel.py, exit status != 0: 9.44614575698506 9.462107765 9.325172225 Calling exit ...