Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.001407/0.001407, allocations: 114.7 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.001551/0.001551, allocations: 210.3 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.514/1.514, 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.08005/0.08005, allocations: 16.94 MB / 326.5 MB, free: 8.328 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.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",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.003291/0.003291, allocations: 65.94 kB / 455.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1306, allocations: 57.59 MB / 0.5009 GB, free: 9.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.00352/0.1342, allocations: 1.873 MB / 0.5027 GB, free: 7.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.1382, allocations: 1.975 MB / 0.5046 GB, free: 5.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.1387, allocations: 7.938 kB / 0.5046 GB, free: 5.789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.1391, allocations: 115.1 kB / 0.5047 GB, free: 5.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.1396, allocations: 131.1 kB / 0.5049 GB, free: 5.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.1417, allocations: 0.9046 MB / 0.5057 GB, free: 4.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.1434, allocations: 1.307 MB / 0.507 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.1436, allocations: 87.88 kB / 0.5071 GB, free: 3.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008155/0.1445, allocations: 0.5376 MB / 0.5076 GB, free: 2.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000576/0.145, allocations: 318.5 kB / 0.5079 GB, free: 2.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.1452, allocations: 75.94 kB / 0.508 GB, free: 2.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008641/0.1461, allocations: 0.5266 MB / 0.5085 GB, free: 1.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.1463, allocations: 139.4 kB / 0.5087 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.1467, allocations: 338.4 kB / 0.509 GB, free: 1.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.1482, allocations: 1.047 MB / 0.51 GB, free: 280 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1482, allocations: 0 / 0.51 GB, free: 280 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1482, allocations: 0 / 0.51 GB, free: 280 kB / 366.1 MB Notification: Performance of Transformations before backend: time 2.306e-05/0.1483, allocations: 4 kB / 0.51 GB, free: 276 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001982/0.1503, allocations: 1.214 MB / 0.5112 GB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1503, allocations: 16.03 kB / 0.5112 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.587e-05/0.1503, allocations: 13.19 kB / 0.5112 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.1505, allocations: 114.7 kB / 0.5113 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.1508, allocations: 88.5 kB / 0.5114 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006115/0.1514, allocations: 403.9 kB / 0.5118 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1515, allocations: 78.62 kB / 0.5119 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1517, allocations: 67.98 kB / 0.5119 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.1536, allocations: 1.097 MB / 0.513 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1536, allocations: 0 / 0.513 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/0.1537, allocations: 35.98 kB / 0.513 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.626e-05/0.1538, allocations: 48.94 kB / 0.5131 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.1552, allocations: 0.7142 MB / 0.5138 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.1592, allocations: 2.975 MB / 0.5167 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.1603, allocations: 0.5405 MB / 0.5172 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007857/0.161, allocations: 457.8 kB / 0.5177 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.502e-05/0.1611, allocations: 85.09 kB / 0.5177 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/0.1625, allocations: 0.7565 MB / 0.5185 GB, free: 7.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 2.675e-06/0.1625, allocations: 0 / 0.5185 GB, free: 7.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.003517/0.166, allocations: 2.11 MB / 0.5205 GB, free: 4.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003868/0.1664, allocations: 0.5364 MB / 0.5211 GB, free: 4.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.1669, allocations: 376.3 kB / 0.5214 GB, free: 3.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.167, allocations: 65.69 kB / 0.5215 GB, free: 3.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.1672, allocations: 257.1 kB / 0.5217 GB, free: 3.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.1674, allocations: 178.7 kB / 0.5219 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.1677, allocations: 202.6 kB / 0.5221 GB, free: 3.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1679, allocations: 366.8 kB / 0.5224 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.1684, allocations: 294.1 kB / 0.5227 GB, free: 2.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008573/0.1693, allocations: 0.6275 MB / 0.5233 GB, free: 1.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.1719, allocations: 2.002 MB / 0.5253 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.172, allocations: 4 kB / 0.5253 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002225/0.1742, allocations: 1.421 MB / 0.5267 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002252/0.1744, allocations: 325 kB / 0.527 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.1744, allocations: 8 kB / 0.527 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-05/0.1745, allocations: 19.94 kB / 0.527 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.1748, allocations: 115.6 kB / 0.5271 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.1749, allocations: 19.92 kB / 0.5271 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.1753, allocations: 103.7 kB / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.902e-05/0.1754, allocations: 48 kB / 0.5273 GB, free: 13.34 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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 P1.enableIn.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 108 * Array equations: 0 * 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.0009975/0.1764, allocations: 0.7036 MB / 0.528 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.1766, allocations: 71.67 kB / 0.528 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.1792, allocations: 1.608 MB / 0.5296 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1792, allocations: 4 kB / 0.5296 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1792, allocations: 0 / 0.5296 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1792, allocations: 0 / 0.5296 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.1827, allocations: 2.319 MB / 0.5319 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.1827, allocations: 11.88 kB / 0.5319 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.1828, allocations: 19.98 kB / 0.5319 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1828, allocations: 3.938 kB / 0.5319 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/0.1829, allocations: 35.98 kB / 0.532 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.1829, allocations: 11.98 kB / 0.532 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1829, allocations: 0 / 0.532 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.186, allocations: 2.006 MB / 0.5339 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.1862, allocations: 124.6 kB / 0.534 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.1863, allocations: 71.97 kB / 0.5341 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.1868, allocations: 51.97 kB / 0.5342 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.187, allocations: 79.91 kB / 0.5342 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-05/0.1871, allocations: 39.98 kB / 0.5343 GB, free: 5.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.1874, allocations: 235 kB / 0.5345 GB, free: 5.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1874, allocations: 0 / 0.5345 GB, free: 5.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001064/0.1884, allocations: 303.5 kB / 0.5348 GB, free: 5.371 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: 64 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 21 * Array equations: 0 * 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.004258/0.1927, allocations: 2.805 MB / 0.5375 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002422/0.1951, allocations: 1.624 MB / 0.5391 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1951, allocations: 0 / 0.5391 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.1965, allocations: 1.078 MB / 0.5402 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.1971, allocations: 112.8 kB / 0.5403 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.2074, allocations: 6.707 MB / 0.5468 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.208, allocations: 0.8954 MB / 0.5477 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003379/0.2084, allocations: 124.3 kB / 0.5478 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.2086, allocations: 171.3 kB / 0.548 GB, free: 7.145 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2086, allocations: 0 / 0.548 GB, free: 7.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.2468, allocations: 15.22 MB / 0.5628 GB, free: 7.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.993/9.24, allocations: 12.5 kB / 0.5629 GB, free: 7.914 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TTtoPD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TTtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TTtoPD.fmu > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.118042125017382] Failed to read output from testmodel.py, exit status != 0: 9.377471734012943 9.399868133 9.247172052 Calling exit ...