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.001292/0.001292, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.0014/0.0014, allocations: 219.9 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.08238/0.08238, allocations: 16.95 MB / 330.2 MB, free: 2.191 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.001967/0.001967, allocations: 71.84 kB / 460.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 57.63 MB / 0.506 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.003196/0.1076, allocations: 1.725 MB / 0.5076 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.1112, allocations: 1.855 MB / 0.5095 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.1114, allocations: 7.938 kB / 0.5095 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.1117, allocations: 111.1 kB / 0.5096 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.1121, allocations: 135.1 kB / 0.5097 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.114, allocations: 0.9581 MB / 0.5106 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.1154, allocations: 1.346 MB / 0.5119 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1156, allocations: 64.3 kB / 0.512 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005795/0.1162, allocations: 0.5415 MB / 0.5125 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.1167, allocations: 354.3 kB / 0.5129 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.1168, allocations: 72 kB / 0.5129 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009381/0.1177, allocations: 0.6358 MB / 0.5136 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.1179, allocations: 139.3 kB / 0.5137 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.1182, allocations: 282.8 kB / 0.514 GB, free: 236 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1959/0.3141, allocations: 1.051 MB / 0.515 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3141, allocations: 0.6875 kB / 0.515 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3141, allocations: 0 / 0.515 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3142, allocations: 0 / 0.515 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.001304/0.3155, allocations: 1.143 MB / 0.5161 GB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3155, allocations: 9.938 kB / 0.5161 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.148e-05/0.3155, allocations: 14.06 kB / 0.5161 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.3156, allocations: 112.5 kB / 0.5162 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.3159, allocations: 84.25 kB / 0.5163 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.3164, allocations: 349.7 kB / 0.5167 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.3164, allocations: 110.1 kB / 0.5168 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.3166, allocations: 65.72 kB / 0.5168 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.3182, allocations: 1.548 MB / 0.5183 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3182, allocations: 2.812 kB / 0.5183 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/0.3183, allocations: 36.06 kB / 0.5184 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.178e-05/0.3183, allocations: 47.09 kB / 0.5184 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.3196, allocations: 1.042 MB / 0.5194 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.3229, allocations: 2.71 MB / 0.5221 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.3245, allocations: 0.8693 MB / 0.5229 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.326, allocations: 0.7743 MB / 0.5237 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.326, allocations: 8.141 kB / 0.5237 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/0.3279, allocations: 1.107 MB / 0.5248 GB, free: 6.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.096e-06/0.3279, allocations: 3.469 kB / 0.5248 GB, free: 6.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.004961/0.3329, allocations: 2.866 MB / 0.5276 GB, free: 4.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002695/0.3332, allocations: 0.5372 MB / 0.5281 GB, free: 4.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006032/0.3338, allocations: 377.1 kB / 0.5285 GB, free: 4.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.3339, allocations: 64.23 kB / 0.5285 GB, free: 4.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3341, allocations: 248.4 kB / 0.5288 GB, free: 3.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.3343, allocations: 196.4 kB / 0.5289 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.3345, allocations: 205.3 kB / 0.5291 GB, free: 3.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3347, allocations: 368.8 kB / 0.5295 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008832/0.3355, allocations: 0.5952 MB / 0.5301 GB, free: 2.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.3366, allocations: 1.046 MB / 0.5311 GB, free: 1.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.3396, allocations: 2.043 MB / 0.5331 GB, free: 300 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.3396, allocations: 4.469 kB / 0.5331 GB, free: 300 kB / 382.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002551/0.3421, allocations: 1.784 MB / 0.5348 GB, free: 15.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.3423, allocations: 311.1 kB / 0.5351 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.3424, allocations: 11.69 kB / 0.5351 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.3424, allocations: 16.59 kB / 0.5352 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.3428, allocations: 120.6 kB / 0.5353 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/0.3428, allocations: 25.28 kB / 0.5353 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.3432, allocations: 105.9 kB / 0.5354 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.3433, allocations: 49.48 kB / 0.5354 GB, free: 14.82 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.0009295/0.3442, allocations: 0.6992 MB / 0.5361 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.3444, allocations: 68.27 kB / 0.5362 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.3472, allocations: 1.907 MB / 0.5381 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3472, allocations: 4.25 kB / 0.5381 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3472, allocations: 4.547 kB / 0.5381 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3472, allocations: 2.844 kB / 0.5381 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004175/0.3514, allocations: 2.68 MB / 0.5407 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3514, allocations: 0.5156 kB / 0.5407 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3515, allocations: 22.98 kB / 0.5407 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.3515, allocations: 8.938 kB / 0.5407 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.989e-05/0.3516, allocations: 37.05 kB / 0.5408 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3516, allocations: 2.141 kB / 0.5408 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3516, allocations: 2.594 kB / 0.5408 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/0.355, allocations: 2.44 MB / 0.5431 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.3551, allocations: 52.62 kB / 0.5432 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.3552, allocations: 68.84 kB / 0.5433 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.3556, allocations: 53.83 kB / 0.5433 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.3558, allocations: 82.98 kB / 0.5434 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/0.3559, allocations: 42.45 kB / 0.5434 GB, free: 10.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.3562, allocations: 227.5 kB / 0.5436 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3562, allocations: 0.9375 kB / 0.5436 GB, free: 10.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001121/0.3573, allocations: 308 kB / 0.5439 GB, free: 10.34 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.004411/0.3617, allocations: 3.265 MB / 0.5471 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.3646, allocations: 2.276 MB / 0.5493 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.3646, allocations: 5.188 kB / 0.5494 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.3663, allocations: 1.402 MB / 0.5507 GB, free: 5.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.367, allocations: 112.7 kB / 0.5508 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.381, allocations: 8.478 MB / 0.5591 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.3815, allocations: 302.3 kB / 0.5594 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004726/0.3819, allocations: 127.4 kB / 0.5595 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003616/0.3823, allocations: 175.6 kB / 0.5597 GB, free: 15.68 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3823, allocations: 0 / 0.5597 GB, free: 15.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05253/0.4348, allocations: 16.41 MB / 0.5757 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.44, allocations: 10.59 kB / 0.5757 GB, free: 0.5859 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.04594618291594] Failed to read output from testmodel.py, exit status != 0: 12.61189300508704 12.639325285 12.320066283 Calling exit ...