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.001621/0.001621, 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.002037/0.002037, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.08297/0.08297, allocations: 16.94 MB / 330.2 MB, free: 2.074 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.002048/0.002048, allocations: 63.89 kB / 460.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1265, allocations: 57.63 MB / 0.506 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003091/0.1296, allocations: 1.728 MB / 0.5077 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.1332, allocations: 1.889 MB / 0.5095 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.1334, allocations: 15.94 kB / 0.5095 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.134, allocations: 123 kB / 0.5096 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1343, allocations: 135.1 kB / 0.5098 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.1362, allocations: 0.9749 MB / 0.5107 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.1376, allocations: 1.357 MB / 0.512 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.1378, allocations: 68.17 kB / 0.5121 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005674/0.1384, allocations: 0.5377 MB / 0.5126 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005007/0.1389, allocations: 354.3 kB / 0.513 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.139, allocations: 72 kB / 0.513 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009989/0.14, allocations: 0.6748 MB / 0.5137 GB, free: 488 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.1402, allocations: 139.3 kB / 0.5138 GB, free: 348 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.1405, allocations: 282.8 kB / 0.5141 GB, free: 64 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2559/0.3964, allocations: 1.097 MB / 0.5152 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3964, allocations: 0 / 0.5152 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3964, allocations: 0 / 0.5152 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3964, allocations: 1.062 kB / 0.5152 GB, free: 11.08 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.001651/0.398, allocations: 1.179 MB / 0.5163 GB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3981, allocations: 9.531 kB / 0.5163 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.09e-05/0.3981, allocations: 13.91 kB / 0.5163 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.3983, allocations: 116.8 kB / 0.5165 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/0.3986, allocations: 90.03 kB / 0.5165 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.3992, allocations: 353.5 kB / 0.5169 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.3993, allocations: 104.8 kB / 0.517 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.3994, allocations: 71.7 kB / 0.517 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.4013, allocations: 1.643 MB / 0.5186 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4013, allocations: 6 kB / 0.5187 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.603e-05/0.4014, allocations: 35.28 kB / 0.5187 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.4015, allocations: 49.55 kB / 0.5187 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.4029, allocations: 1.104 MB / 0.5198 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/0.4061, allocations: 2.746 MB / 0.5225 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.4073, allocations: 0.9255 MB / 0.5234 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009364/0.4082, allocations: 0.8252 MB / 0.5242 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-05/0.4083, allocations: 11.19 kB / 0.5242 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/0.4098, allocations: 1.234 MB / 0.5254 GB, free: 5.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.785e-06/0.4098, allocations: 0 / 0.5254 GB, free: 5.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.003882/0.4137, allocations: 3.076 MB / 0.5284 GB, free: 4.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002321/0.4139, allocations: 0.6124 MB / 0.529 GB, free: 3.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.4144, allocations: 381.8 kB / 0.5294 GB, free: 3.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/0.4145, allocations: 68.94 kB / 0.5295 GB, free: 3.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.4147, allocations: 250.3 kB / 0.5297 GB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.4149, allocations: 210.9 kB / 0.5299 GB, free: 3.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/0.4152, allocations: 215.9 kB / 0.5301 GB, free: 2.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4153, allocations: 372.2 kB / 0.5305 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/0.4159, allocations: 0.6455 MB / 0.5311 GB, free: 2.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009037/0.4168, allocations: 1.139 MB / 0.5322 GB, free: 1.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/0.4193, allocations: 2.141 MB / 0.5343 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.4193, allocations: 3.75 kB / 0.5343 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002694/0.422, allocations: 1.91 MB / 0.5362 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.4222, allocations: 337.8 kB / 0.5365 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.4223, allocations: 11.62 kB / 0.5365 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.4223, allocations: 16.64 kB / 0.5365 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.4227, allocations: 123.7 kB / 0.5366 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/0.4227, allocations: 21.75 kB / 0.5366 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.4232, allocations: 121 kB / 0.5368 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.762e-05/0.4233, allocations: 52.39 kB / 0.5368 GB, free: 13.79 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 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.00118/0.4245, allocations: 0.7274 MB / 0.5375 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.4247, allocations: 77.55 kB / 0.5376 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.4279, allocations: 2.07 MB / 0.5396 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.4279, allocations: 10.44 kB / 0.5396 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4279, allocations: 1.469 kB / 0.5396 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4279, allocations: 2.062 kB / 0.5396 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/0.4326, allocations: 2.84 MB / 0.5424 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4326, allocations: 1.375 kB / 0.5424 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.4327, allocations: 31.8 kB / 0.5424 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4327, allocations: 2.75 kB / 0.5424 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.866e-05/0.4328, allocations: 44.52 kB / 0.5425 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4328, allocations: 1.375 kB / 0.5425 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4328, allocations: 1.375 kB / 0.5425 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004156/0.437, allocations: 2.594 MB / 0.545 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4371, allocations: 59.58 kB / 0.5451 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.4373, allocations: 75.59 kB / 0.5451 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.4377, allocations: 50.98 kB / 0.5452 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.438, allocations: 88.23 kB / 0.5453 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.4381, allocations: 48.86 kB / 0.5453 GB, free: 9.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004514/0.4386, allocations: 230.1 kB / 0.5455 GB, free: 9.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4386, allocations: 3.281 kB / 0.5455 GB, free: 9.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001967/0.4405, allocations: 321.1 kB / 0.5458 GB, free: 8.977 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.007417/0.448, allocations: 3.419 MB / 0.5492 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004744/0.4527, allocations: 2.447 MB / 0.5516 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.4527, allocations: 0 / 0.5516 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002646/0.4554, allocations: 1.525 MB / 0.5531 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009633/0.4563, allocations: 115.5 kB / 0.5532 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/0.4752, allocations: 8.925 MB / 0.5619 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.4758, allocations: 311.9 kB / 0.5622 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006916/0.4765, allocations: 140 kB / 0.5623 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.4769, allocations: 179 kB / 0.5625 GB, free: 13.45 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4769, allocations: 0 / 0.5625 GB, free: 13.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05945/0.5363, allocations: 17.16 MB / 0.5792 GB, free: 12.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.44, allocations: 4.062 kB / 0.5793 GB, free: 12.73 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.312370280036703] Failed to read output from testmodel.py, exit status != 0: 12.619850193965249 12.647030523 12.245907743 Calling exit ...