Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.001771/0.001771, allocations: 116.3 kB / 17.16 MB, free: 5.984 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.002157/0.002157, allocations: 214.4 kB / 20.13 MB, free: 3.035 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.07987/0.07987, allocations: 16.94 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.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",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.002087/0.002087, allocations: 72.14 kB / 455.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1038, allocations: 57.59 MB / 0.5009 GB, free: 9.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003468/0.1073, allocations: 1.846 MB / 0.5027 GB, free: 7.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.1112, allocations: 1.933 MB / 0.5046 GB, free: 5.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.1115, allocations: 15.88 kB / 0.5046 GB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.1119, allocations: 111.1 kB / 0.5047 GB, free: 5.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004631/0.1124, allocations: 131.1 kB / 0.5048 GB, free: 5.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.1145, allocations: 0.9077 MB / 0.5057 GB, free: 4.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.1162, allocations: 1.311 MB / 0.507 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.1164, allocations: 83.89 kB / 0.5071 GB, free: 3.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007563/0.1171, allocations: 0.5338 MB / 0.5076 GB, free: 2.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.1177, allocations: 326.4 kB / 0.5079 GB, free: 2.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.1178, allocations: 68 kB / 0.508 GB, free: 2.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008207/0.1186, allocations: 0.5344 MB / 0.5085 GB, free: 1.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.1188, allocations: 135.3 kB / 0.5086 GB, free: 1.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.1192, allocations: 334.4 kB / 0.5089 GB, free: 1.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.1205, allocations: 1.047 MB / 0.5099 GB, free: 304 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1205, allocations: 0 / 0.5099 GB, free: 304 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1205, allocations: 0 / 0.5099 GB, free: 304 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.1205, allocations: 0 / 0.5099 GB, free: 304 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001808/0.1223, allocations: 1.231 MB / 0.5112 GB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1224, allocations: 12.03 kB / 0.5112 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.257e-05/0.1224, allocations: 21.12 kB / 0.5112 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.1226, allocations: 110.7 kB / 0.5113 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.1229, allocations: 80.56 kB / 0.5114 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.1234, allocations: 401.8 kB / 0.5117 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.1235, allocations: 78.67 kB / 0.5118 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.1237, allocations: 67.98 kB / 0.5119 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.1255, allocations: 1.105 MB / 0.513 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.1255, allocations: 4 kB / 0.513 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.1256, allocations: 31.98 kB / 0.513 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.1257, allocations: 44.97 kB / 0.513 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.127, allocations: 0.7258 MB / 0.5138 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.1307, allocations: 2.987 MB / 0.5167 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1317, allocations: 0.5511 MB / 0.5172 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007724/0.1325, allocations: 458.6 kB / 0.5176 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.479e-05/0.1326, allocations: 81.34 kB / 0.5177 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.1339, allocations: 0.7593 MB / 0.5185 GB, free: 7.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.425e-06/0.1339, allocations: 0 / 0.5185 GB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.003472/0.1374, allocations: 2.122 MB / 0.5205 GB, free: 4.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003719/0.1377, allocations: 0.5325 MB / 0.5211 GB, free: 4.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.1382, allocations: 384.2 kB / 0.5214 GB, free: 3.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/0.1383, allocations: 61.7 kB / 0.5215 GB, free: 3.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.1385, allocations: 249.2 kB / 0.5217 GB, free: 3.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.1387, allocations: 194.6 kB / 0.5219 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.139, allocations: 206.6 kB / 0.5221 GB, free: 3.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1392, allocations: 362.8 kB / 0.5224 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.1397, allocations: 306.1 kB / 0.5227 GB, free: 2.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008337/0.1406, allocations: 0.6447 MB / 0.5234 GB, free: 1.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.1431, allocations: 2.02 MB / 0.5253 GB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.1431, allocations: 4 kB / 0.5253 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002358/0.1455, allocations: 1.471 MB / 0.5268 GB, free: 13.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.1457, allocations: 313 kB / 0.5271 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.1457, allocations: 11.98 kB / 0.5271 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.1458, allocations: 16 kB / 0.5271 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.1461, allocations: 115.7 kB / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/0.1462, allocations: 19.94 kB / 0.5272 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.1466, allocations: 111.8 kB / 0.5273 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.1467, allocations: 55.98 kB / 0.5274 GB, free: 13.2 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: 47 * Number of states: 0 () * Number of discrete variables: 118 ($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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (123): * Single equations (assignments): 113 * 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.0009941/0.1477, allocations: 0.6908 MB / 0.5281 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.1478, allocations: 79.55 kB / 0.5281 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.1504, allocations: 1.594 MB / 0.5297 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1504, allocations: 4 kB / 0.5297 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.1504, allocations: 4 kB / 0.5297 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1504, allocations: 3.984 kB / 0.5297 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.1542, allocations: 2.53 MB / 0.5322 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.1542, allocations: 0 / 0.5322 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.1544, allocations: 31.92 kB / 0.5322 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.1544, allocations: 0 / 0.5322 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.532e-05/0.1545, allocations: 39.97 kB / 0.5323 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1545, allocations: 0 / 0.5323 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1545, allocations: 0 / 0.5323 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.1575, allocations: 2.019 MB / 0.5342 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1576, allocations: 136.6 kB / 0.5344 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.1578, allocations: 63.98 kB / 0.5344 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.1582, allocations: 51.97 kB / 0.5345 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.1584, allocations: 79.91 kB / 0.5345 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/0.1585, allocations: 39.98 kB / 0.5346 GB, free: 5.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.1588, allocations: 231 kB / 0.5348 GB, free: 5.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1588, allocations: 4 kB / 0.5348 GB, free: 5.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001117/0.1599, allocations: 303.6 kB / 0.5351 GB, free: 5.02 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: 66 ($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,T1.active,$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.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,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 (35): * Single equations (assignments): 23 * 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.004201/0.1641, allocations: 2.831 MB / 0.5379 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.1665, allocations: 1.632 MB / 0.5395 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1665, allocations: 0 / 0.5395 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.1678, allocations: 1.09 MB / 0.5405 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.1685, allocations: 101.9 kB / 0.5406 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.1786, allocations: 6.904 MB / 0.5474 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.1792, allocations: 0.8958 MB / 0.5482 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003374/0.1795, allocations: 133.1 kB / 0.5484 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.1798, allocations: 175.4 kB / 0.5485 GB, free: 6.52 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1798, allocations: 0 / 0.5485 GB, free: 6.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.2145, allocations: 15.33 MB / 0.5635 GB, free: 7.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.055/9.27, allocations: 7.406 kB / 0.5635 GB, free: 7.195 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPD.fmu > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.047673179011326] Failed to read output from testmodel.py, exit status != 0: 9.403507804032415 9.428210336 9.303181942 Calling exit ...