Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.001547/0.001547, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001365/0.001365, allocations: 214 kB / 23.04 MB, free: 5.074 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.082/0.082, allocations: 16.95 MB / 330.2 MB, free: 2.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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",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.00196/0.00196, allocations: 63.91 kB / 460.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, allocations: 57.64 MB / 0.5061 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003222/0.1125, allocations: 1.88 MB / 0.5079 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.116, allocations: 1.94 MB / 0.5098 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.1162, allocations: 11.94 kB / 0.5098 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.1165, allocations: 111.1 kB / 0.5099 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.1169, allocations: 131.1 kB / 0.51 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.1186, allocations: 0.9554 MB / 0.511 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.1201, allocations: 1.346 MB / 0.5123 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1203, allocations: 64.3 kB / 0.5123 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005875/0.1209, allocations: 0.5416 MB / 0.5129 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000481/0.1213, allocations: 350.3 kB / 0.5132 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1215, allocations: 76 kB / 0.5133 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000898/0.1224, allocations: 0.6358 MB / 0.5139 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.1225, allocations: 139.3 kB / 0.514 GB, free: 400 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.1229, allocations: 334.5 kB / 0.5143 GB, free: 64 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1888/0.3117, allocations: 1.049 MB / 0.5154 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3117, allocations: 2.625 kB / 0.5154 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3117, allocations: 0 / 0.5154 GB, free: 11.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.3117, allocations: 1.188 kB / 0.5154 GB, free: 11.1 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001406/0.3131, allocations: 1.149 MB / 0.5165 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3131, allocations: 11.41 kB / 0.5165 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.31e-05/0.3132, allocations: 13.84 kB / 0.5165 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.3133, allocations: 114 kB / 0.5166 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.3136, allocations: 85.61 kB / 0.5167 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.314, allocations: 350.1 kB / 0.517 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/0.3141, allocations: 111.3 kB / 0.5171 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3142, allocations: 63.38 kB / 0.5172 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3156, allocations: 1.099 MB / 0.5183 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3156, allocations: 8.641 kB / 0.5183 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/0.3157, allocations: 31.22 kB / 0.5183 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.951e-05/0.3158, allocations: 44.53 kB / 0.5184 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3169, allocations: 0.7356 MB / 0.5191 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.3197, allocations: 2.895 MB / 0.5219 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/0.3206, allocations: 0.5978 MB / 0.5225 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/0.3214, allocations: 483.5 kB / 0.523 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.3214, allocations: 6.281 kB / 0.523 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001158/0.3226, allocations: 0.7805 MB / 0.5237 GB, free: 7.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 1.753e-06/0.3226, allocations: 0.6562 kB / 0.5237 GB, free: 7.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003138/0.3257, allocations: 2.21 MB / 0.5259 GB, free: 7.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/0.3259, allocations: 0.5139 MB / 0.5264 GB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.3262, allocations: 370.4 kB / 0.5267 GB, free: 6.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/0.3263, allocations: 71.41 kB / 0.5268 GB, free: 6.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3264, allocations: 237.7 kB / 0.527 GB, free: 6.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.3265, allocations: 197.1 kB / 0.5272 GB, free: 5.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.3268, allocations: 198.9 kB / 0.5274 GB, free: 5.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.3268, allocations: 367.8 kB / 0.5278 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.3273, allocations: 303.7 kB / 0.528 GB, free: 5.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.3279, allocations: 0.6471 MB / 0.5287 GB, free: 4.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.3298, allocations: 2.034 MB / 0.5307 GB, free: 3.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.3299, allocations: 2.281 kB / 0.5307 GB, free: 3.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001682/0.3315, allocations: 1.467 MB / 0.5321 GB, free: 2.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.3316, allocations: 314.6 kB / 0.5324 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.3317, allocations: 16.09 kB / 0.5324 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.3317, allocations: 14.78 kB / 0.5324 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.332, allocations: 113.1 kB / 0.5325 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.332, allocations: 27.34 kB / 0.5326 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.3324, allocations: 102 kB / 0.5327 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.3325, allocations: 53.19 kB / 0.5327 GB, free: 2.129 MB / 382.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: 46 * 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,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.enableIn.arcWeight[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 (122): * Single equations (assignments): 112 * 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.0006514/0.3331, allocations: 0.6938 MB / 0.5334 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.3332, allocations: 73.23 kB / 0.5335 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.3356, allocations: 1.669 MB / 0.5351 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3356, allocations: 3.688 kB / 0.5351 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3356, allocations: 9.906 kB / 0.5351 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3356, allocations: 1.406 kB / 0.5351 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.3393, allocations: 2.563 MB / 0.5376 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3393, allocations: 4 kB / 0.5376 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.3394, allocations: 28.39 kB / 0.5376 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.3394, allocations: 5.969 kB / 0.5376 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.3395, allocations: 37.19 kB / 0.5377 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.3395, allocations: 1.75 kB / 0.5377 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3395, allocations: 1.281 kB / 0.5377 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.3426, allocations: 2.08 MB / 0.5397 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.3427, allocations: 49.14 kB / 0.5398 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.3429, allocations: 74.81 kB / 0.5398 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.3432, allocations: 50.53 kB / 0.5399 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.3434, allocations: 86.16 kB / 0.54 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.389e-05/0.3435, allocations: 44.25 kB / 0.54 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.3438, allocations: 222.6 kB / 0.5402 GB, free: 14.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3438, allocations: 4 kB / 0.5402 GB, free: 14.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001059/0.3448, allocations: 305.3 kB / 0.5405 GB, free: 14.31 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: 67 ($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.arcWeight[1],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 (37): * Single equations (assignments): 25 * 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.004111/0.3489, allocations: 2.886 MB / 0.5433 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002324/0.3513, allocations: 1.667 MB / 0.545 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3513, allocations: 3.469 kB / 0.545 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.3526, allocations: 1.099 MB / 0.546 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.3533, allocations: 112.3 kB / 0.5461 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.3634, allocations: 6.971 MB / 0.5529 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.3639, allocations: 0.8924 MB / 0.5538 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000346/0.3642, allocations: 128.6 kB / 0.5539 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.3645, allocations: 172.5 kB / 0.5541 GB, free: 5.969 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3645, allocations: 3.75 kB / 0.5541 GB, free: 5.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.4049, allocations: 16.13 MB / 0.5699 GB, free: 7.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.07, allocations: 4.062 kB / 0.5699 GB, free: 7.832 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.707851771032438] Failed to read output from testmodel.py, exit status != 0: 12.246786465053447 12.275886304 11.958834029 Calling exit ...