Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.001256/0.001256, 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.001396/0.001396, allocations: 219.4 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 8 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.08158/0.08158, allocations: 16.94 MB / 330.2 MB, free: 2.285 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.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",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.003246/0.003246, allocations: 67.91 kB / 460.6 MB, free: 2.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1305, allocations: 57.64 MB / 0.506 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003219/0.1337, allocations: 1.884 MB / 0.5079 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.1373, allocations: 1.983 MB / 0.5098 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.1375, allocations: 11.94 kB / 0.5098 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.138, allocations: 127.1 kB / 0.51 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.1384, allocations: 135.1 kB / 0.5101 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.1404, allocations: 0.9709 MB / 0.511 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.142, allocations: 1.353 MB / 0.5124 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.1422, allocations: 64.28 kB / 0.5124 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005825/0.1428, allocations: 0.5377 MB / 0.5129 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.1433, allocations: 362.3 kB / 0.5133 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.1434, allocations: 75.94 kB / 0.5134 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.1444, allocations: 0.6785 MB / 0.514 GB, free: 384 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.1445, allocations: 139.4 kB / 0.5142 GB, free: 244 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2129/0.3574, allocations: 334.6 kB / 0.5145 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.3591, allocations: 1.097 MB / 0.5155 GB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3591, allocations: 1.188 kB / 0.5155 GB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3591, allocations: 0 / 0.5155 GB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3591, allocations: 0 / 0.5155 GB, free: 10.51 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00135/0.3605, allocations: 1.188 MB / 0.5167 GB, free: 9.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3605, allocations: 10.38 kB / 0.5167 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.028e-05/0.3606, allocations: 14 kB / 0.5167 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.3607, allocations: 116.2 kB / 0.5168 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.361, allocations: 91.33 kB / 0.5169 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.3614, allocations: 352 kB / 0.5173 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.734e-05/0.3615, allocations: 113.7 kB / 0.5174 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3616, allocations: 66.03 kB / 0.5174 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.3631, allocations: 1.144 MB / 0.5186 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3631, allocations: 5.969 kB / 0.5186 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.3632, allocations: 35.67 kB / 0.5186 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.523e-05/0.3633, allocations: 48.84 kB / 0.5186 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3644, allocations: 0.7561 MB / 0.5194 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.3673, allocations: 2.91 MB / 0.5222 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009369/0.3682, allocations: 0.5742 MB / 0.5228 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007339/0.369, allocations: 487.2 kB / 0.5232 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.369, allocations: 7.328 kB / 0.5233 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.3702, allocations: 0.8339 MB / 0.5241 GB, free: 7.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.064e-06/0.3702, allocations: 0 / 0.5241 GB, free: 7.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.003029/0.3733, allocations: 2.257 MB / 0.5263 GB, free: 6.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/0.3734, allocations: 0.616 MB / 0.5269 GB, free: 5.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.3738, allocations: 388.5 kB / 0.5272 GB, free: 5.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.245e-05/0.3739, allocations: 68.34 kB / 0.5273 GB, free: 5.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.374, allocations: 248.3 kB / 0.5275 GB, free: 5.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3741, allocations: 211.2 kB / 0.5277 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.3744, allocations: 215.2 kB / 0.528 GB, free: 5.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.3745, allocations: 369 kB / 0.5283 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/0.375, allocations: 324.3 kB / 0.5286 GB, free: 4.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.3755, allocations: 0.6893 MB / 0.5293 GB, free: 4.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.3774, allocations: 2.134 MB / 0.5314 GB, free: 2.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.3774, allocations: 2.312 kB / 0.5314 GB, free: 2.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001807/0.3792, allocations: 1.56 MB / 0.5329 GB, free: 1.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.3793, allocations: 341.8 kB / 0.5332 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.3794, allocations: 11.25 kB / 0.5332 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.3794, allocations: 18.05 kB / 0.5332 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.3797, allocations: 121.5 kB / 0.5334 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-05/0.3798, allocations: 23.28 kB / 0.5334 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.3802, allocations: 112.1 kB / 0.5335 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.3802, allocations: 56.69 kB / 0.5335 GB, free: 1.32 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 T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,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,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.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,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0006926/0.3809, allocations: 0.7399 MB / 0.5343 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3811, allocations: 74.39 kB / 0.5343 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.3835, allocations: 1.724 MB / 0.536 GB, free: 0 / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.489e-05/0.3835, allocations: 7.688 kB / 0.536 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3835, allocations: 5.031 kB / 0.536 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.3835, allocations: 2.109 kB / 0.536 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004134/0.3876, allocations: 2.635 MB / 0.5386 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3877, allocations: 1.031 kB / 0.5386 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.3878, allocations: 28.94 kB / 0.5386 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3878, allocations: 11.31 kB / 0.5387 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.785e-05/0.3879, allocations: 37.56 kB / 0.5387 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.3879, allocations: 1.797 kB / 0.5387 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3879, allocations: 1.125 kB / 0.5387 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.391, allocations: 2.127 MB / 0.5408 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.3911, allocations: 56.06 kB / 0.5408 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.3913, allocations: 71.22 kB / 0.5409 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.3917, allocations: 59.06 kB / 0.5409 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.3919, allocations: 89.2 kB / 0.541 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.392, allocations: 45.94 kB / 0.5411 GB, free: 13.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002714/0.3923, allocations: 233 kB / 0.5413 GB, free: 13.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3923, allocations: 1.375 kB / 0.5413 GB, free: 13.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001265/0.3936, allocations: 322.8 kB / 0.5416 GB, free: 13.38 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.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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.004655/0.3982, allocations: 2.956 MB / 0.5445 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002511/0.4007, allocations: 1.758 MB / 0.5462 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4008, allocations: 1.281 kB / 0.5462 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.4023, allocations: 1.171 MB / 0.5474 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.4029, allocations: 113.8 kB / 0.5475 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.4139, allocations: 7.198 MB / 0.5545 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/0.4145, allocations: 0.9143 MB / 0.5554 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000338/0.4148, allocations: 139.9 kB / 0.5555 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.4151, allocations: 175 kB / 0.5557 GB, free: 4.711 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4151, allocations: 0 / 0.5557 GB, free: 4.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04145/0.4565, allocations: 16.85 MB / 0.5721 GB, free: 5.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.03, allocations: 3.094 kB / 0.5721 GB, free: 5.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TEnoInput.fmu > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.734845155966468] Failed to read output from testmodel.py, exit status != 0: 12.201864056987688 12.216455168 11.854092945 Calling exit ...