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.001212/0.001212, 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.001561/0.001561, allocations: 219.8 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.08055/0.08055, allocations: 16.94 MB / 330.2 MB, free: 2.293 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.001975/0.001975, allocations: 67.84 kB / 460.6 MB, free: 2.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1058, allocations: 57.63 MB / 0.506 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003317/0.1091, allocations: 1.872 MB / 0.5079 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.1128, allocations: 1.948 MB / 0.5098 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.1131, allocations: 11.94 kB / 0.5098 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.1134, allocations: 115.1 kB / 0.5099 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.1138, allocations: 127.1 kB / 0.51 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.1157, allocations: 0.9653 MB / 0.511 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.1174, allocations: 1.346 MB / 0.5123 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.1176, allocations: 64.3 kB / 0.5123 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006442/0.1182, allocations: 0.5377 MB / 0.5129 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.1187, allocations: 354.3 kB / 0.5132 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.1188, allocations: 72 kB / 0.5133 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009944/0.1198, allocations: 0.6396 MB / 0.5139 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.12, allocations: 131.4 kB / 0.514 GB, free: 392 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.1204, allocations: 342.4 kB / 0.5143 GB, free: 48 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.193/0.3133, allocations: 1.05 MB / 0.5154 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3134, allocations: 2.625 kB / 0.5154 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.147e-05/0.3134, allocations: 0 / 0.5154 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.914e-05/0.3134, allocations: 0 / 0.5154 GB, free: 11.12 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.001944/0.3153, allocations: 1.15 MB / 0.5165 GB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3154, allocations: 10.22 kB / 0.5165 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.215e-05/0.3154, allocations: 14.38 kB / 0.5165 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.3155, allocations: 109.9 kB / 0.5166 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.3159, allocations: 84.81 kB / 0.5167 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.3164, allocations: 354.1 kB / 0.517 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/0.3164, allocations: 101.9 kB / 0.5171 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3165, allocations: 72.81 kB / 0.5172 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.318, allocations: 1.098 MB / 0.5183 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.318, allocations: 2.938 kB / 0.5183 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.633e-05/0.3181, allocations: 32.64 kB / 0.5183 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.217e-05/0.3182, allocations: 49.67 kB / 0.5184 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.3193, allocations: 0.7224 MB / 0.5191 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.3221, allocations: 2.877 MB / 0.5219 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008903/0.323, allocations: 0.5483 MB / 0.5224 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006915/0.3236, allocations: 457.3 kB / 0.5228 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.3237, allocations: 10.56 kB / 0.5229 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/0.3248, allocations: 0.7525 MB / 0.5236 GB, free: 7.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.3248, allocations: 0 / 0.5236 GB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.00304/0.3278, allocations: 2.115 MB / 0.5257 GB, free: 7.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/0.328, allocations: 0.5433 MB / 0.5262 GB, free: 6.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.3284, allocations: 378.4 kB / 0.5265 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.3285, allocations: 64.92 kB / 0.5266 GB, free: 6.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3286, allocations: 243.1 kB / 0.5268 GB, free: 6.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.3287, allocations: 191.4 kB / 0.527 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.329, allocations: 207.4 kB / 0.5272 GB, free: 5.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.329, allocations: 372.6 kB / 0.5276 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.3295, allocations: 300.5 kB / 0.5279 GB, free: 5.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.3301, allocations: 0.6436 MB / 0.5285 GB, free: 4.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.332, allocations: 2.03 MB / 0.5305 GB, free: 3.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.332, allocations: 3.25 kB / 0.5305 GB, free: 3.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001753/0.3337, allocations: 1.468 MB / 0.5319 GB, free: 2.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.3339, allocations: 315.8 kB / 0.5322 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.3339, allocations: 11.28 kB / 0.5322 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.3339, allocations: 18.5 kB / 0.5322 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.3342, allocations: 116.2 kB / 0.5324 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/0.3342, allocations: 26.73 kB / 0.5324 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.3346, allocations: 109 kB / 0.5325 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.3347, allocations: 53.47 kB / 0.5325 GB, free: 2.188 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: 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.0006954/0.3354, allocations: 0.687 MB / 0.5332 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3355, allocations: 68.17 kB / 0.5333 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.3378, allocations: 1.605 MB / 0.5348 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3378, allocations: 3.406 kB / 0.5348 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3378, allocations: 5.062 kB / 0.5348 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3378, allocations: 3.422 kB / 0.5348 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.3415, allocations: 2.505 MB / 0.5373 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3415, allocations: 3.875 kB / 0.5373 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.3416, allocations: 24.84 kB / 0.5373 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.3416, allocations: 5.125 kB / 0.5373 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/0.3417, allocations: 39.84 kB / 0.5374 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3417, allocations: 3.062 kB / 0.5374 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3417, allocations: 0.8594 kB / 0.5374 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.3449, allocations: 2.015 MB / 0.5393 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.345, allocations: 54.61 kB / 0.5394 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.3452, allocations: 67.03 kB / 0.5394 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.3455, allocations: 56.86 kB / 0.5395 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/0.3457, allocations: 82.8 kB / 0.5396 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.279e-05/0.3458, allocations: 41.78 kB / 0.5396 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002562/0.3461, allocations: 234.5 kB / 0.5398 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3461, allocations: 0 / 0.5398 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001043/0.3471, allocations: 307.8 kB / 0.5401 GB, free: 14.51 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.004236/0.3514, allocations: 2.826 MB / 0.5429 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.3537, allocations: 1.638 MB / 0.5445 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3537, allocations: 0 / 0.5445 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.3551, allocations: 1.074 MB / 0.5455 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.3557, allocations: 108.3 kB / 0.5457 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.3665, allocations: 6.897 MB / 0.5524 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.3671, allocations: 0.8979 MB / 0.5533 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000354/0.3675, allocations: 129.9 kB / 0.5534 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.3677, allocations: 171.2 kB / 0.5536 GB, free: 6.23 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3678, allocations: 4 kB / 0.5536 GB, free: 6.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04333/0.4111, allocations: 16.1 MB / 0.5693 GB, free: 8.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.11, allocations: 5.719 kB / 0.5693 GB, free: 8.492 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.764119028113782] Failed to read output from testmodel.py, exit status != 0: 12.280746052972972 12.309949964 11.991256433 Calling exit ...