Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001778/0.001778, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002358/0.002358, allocations: 216.2 kB / 23.04 MB, free: 5.078 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.08219/0.08219, allocations: 16.94 MB / 330.2 MB, free: 2.281 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.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",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.002142/0.002142, allocations: 63.89 kB / 460.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1063, allocations: 57.64 MB / 0.506 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003376/0.1097, allocations: 1.874 MB / 0.5079 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003777/0.1135, allocations: 1.944 MB / 0.5098 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.1138, allocations: 7.938 kB / 0.5098 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.1142, allocations: 115.1 kB / 0.5099 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.1147, allocations: 139 kB / 0.51 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.1169, allocations: 0.9592 MB / 0.511 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.1187, allocations: 1.357 MB / 0.5123 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.1189, allocations: 69.14 kB / 0.5124 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/0.1197, allocations: 0.5454 MB / 0.5129 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007014/0.1204, allocations: 394.2 kB / 0.5133 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.1206, allocations: 88 kB / 0.5133 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1218, allocations: 0.6514 MB / 0.514 GB, free: 420 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.122, allocations: 155.3 kB / 0.5141 GB, free: 264 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1908/0.3128, allocations: 391.6 kB / 0.5145 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.3145, allocations: 1.187 MB / 0.5157 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3145, allocations: 1.031 kB / 0.5157 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3145, allocations: 0 / 0.5157 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3145, allocations: 0 / 0.5157 GB, free: 10.96 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.00157/0.316, allocations: 1.219 MB / 0.5169 GB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3161, allocations: 9.969 kB / 0.5169 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.003e-05/0.3161, allocations: 18.91 kB / 0.5169 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.3163, allocations: 124.8 kB / 0.517 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.3166, allocations: 94.03 kB / 0.5171 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.3171, allocations: 371.4 kB / 0.5174 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.3172, allocations: 115 kB / 0.5176 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.3174, allocations: 80.52 kB / 0.5176 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.3191, allocations: 1.322 MB / 0.5189 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.3191, allocations: 5.438 kB / 0.5189 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-05/0.3192, allocations: 37.38 kB / 0.519 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.3193, allocations: 55.62 kB / 0.519 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.3208, allocations: 0.8977 MB / 0.5199 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.3244, allocations: 3.197 MB / 0.523 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.3255, allocations: 0.661 MB / 0.5237 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008879/0.3264, allocations: 0.5645 MB / 0.5242 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.162e-05/0.3265, allocations: 10.31 kB / 0.5242 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.3279, allocations: 0.8895 MB / 0.5251 GB, free: 7.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.735e-06/0.3279, allocations: 0 / 0.5251 GB, free: 7.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003791/0.3317, allocations: 2.542 MB / 0.5276 GB, free: 6.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002293/0.332, allocations: 0.5711 MB / 0.5281 GB, free: 5.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.3324, allocations: 415.7 kB / 0.5285 GB, free: 5.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.3325, allocations: 66.48 kB / 0.5286 GB, free: 5.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.3327, allocations: 277.5 kB / 0.5289 GB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.3329, allocations: 198.7 kB / 0.529 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.3332, allocations: 231.2 kB / 0.5293 GB, free: 4.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3333, allocations: 378.5 kB / 0.5296 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007378/0.334, allocations: 443.2 kB / 0.53 GB, free: 4.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008884/0.3349, allocations: 0.8074 MB / 0.5308 GB, free: 3.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.3374, allocations: 2.536 MB / 0.5333 GB, free: 2.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.3374, allocations: 3.719 kB / 0.5333 GB, free: 2.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00256/0.34, allocations: 1.85 MB / 0.5351 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.3401, allocations: 334.9 kB / 0.5354 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.3401, allocations: 15.66 kB / 0.5355 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/0.3402, allocations: 21.23 kB / 0.5355 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.3406, allocations: 120.3 kB / 0.5356 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.3406, allocations: 29.88 kB / 0.5356 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.3411, allocations: 138.1 kB / 0.5358 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/0.3412, allocations: 59.28 kB / 0.5358 GB, free: 0.7539 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008965/0.3421, allocations: 0.7467 MB / 0.5365 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.3423, allocations: 77.08 kB / 0.5366 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/0.3457, allocations: 1.987 MB / 0.5386 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.3458, allocations: 6.984 kB / 0.5386 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3458, allocations: 0.6562 kB / 0.5386 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3458, allocations: 2.109 kB / 0.5386 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00457/0.3504, allocations: 2.949 MB / 0.5414 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.3504, allocations: 1.375 kB / 0.5414 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3505, allocations: 27.08 kB / 0.5415 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3505, allocations: 6.562 kB / 0.5415 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.86e-05/0.3506, allocations: 37.42 kB / 0.5415 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3506, allocations: 2.406 kB / 0.5415 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3506, allocations: 5.125 kB / 0.5415 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.354, allocations: 2.334 MB / 0.5438 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3541, allocations: 54.48 kB / 0.5438 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.3543, allocations: 72.22 kB / 0.5439 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.3548, allocations: 79.34 kB / 0.544 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000513/0.3553, allocations: 330.1 kB / 0.5443 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.3554, allocations: 45.94 kB / 0.5444 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002869/0.3557, allocations: 250.3 kB / 0.5446 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3557, allocations: 5.031 kB / 0.5446 GB, free: 12.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001284/0.357, allocations: 340.8 kB / 0.5449 GB, free: 12.56 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: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004724/0.3617, allocations: 3.159 MB / 0.548 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002977/0.3647, allocations: 1.938 MB / 0.5499 GB, free: 9.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3647, allocations: 2.219 kB / 0.5499 GB, free: 9.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.3663, allocations: 1.234 MB / 0.5511 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006885/0.367, allocations: 115.9 kB / 0.5512 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.3797, allocations: 7.885 MB / 0.5589 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/0.3804, allocations: 0.9115 MB / 0.5598 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004103/0.3808, allocations: 148 kB / 0.5599 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.3812, allocations: 191.4 kB / 0.5601 GB, free: 1.742 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3812, allocations: 0 / 0.5601 GB, free: 1.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0659/0.4471, allocations: 18.82 MB / 0.5785 GB, free: 15.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.28, allocations: 4.062 kB / 0.5785 GB, free: 15.05 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.025877380976453] Failed to read output from testmodel.py, exit status != 0: 12.456690041930415 12.485382077 12.165462065 Calling exit ...