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.001367/0.001367, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.00133/0.00133, allocations: 210.3 kB / 20.13 MB, free: 2.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.472/1.472, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.08048/0.08048, allocations: 16.94 MB / 326.5 MB, free: 8.328 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.001982/0.001982, allocations: 63.48 kB / 455.3 MB, free: 35.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09256, allocations: 57.59 MB / 0.5009 GB, free: 9.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003364/0.09592, allocations: 1.884 MB / 0.5027 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004083/0.1, allocations: 1.971 MB / 0.5046 GB, free: 5.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.1003, allocations: 15.94 kB / 0.5046 GB, free: 5.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.1008, allocations: 115.1 kB / 0.5048 GB, free: 5.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1011, allocations: 131.1 kB / 0.5049 GB, free: 5.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.1029, allocations: 0.9164 MB / 0.5058 GB, free: 4.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.1045, allocations: 1.314 MB / 0.5071 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1047, allocations: 83.89 kB / 0.5071 GB, free: 3.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.1053, allocations: 0.5415 MB / 0.5077 GB, free: 2.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.1057, allocations: 330.4 kB / 0.508 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.1059, allocations: 72 kB / 0.508 GB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000836/0.1067, allocations: 0.5617 MB / 0.5086 GB, free: 1.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.1069, allocations: 143.3 kB / 0.5087 GB, free: 1.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.1072, allocations: 334.4 kB / 0.5091 GB, free: 1.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.1085, allocations: 1.09 MB / 0.5101 GB, free: 160 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1085, allocations: 0 / 0.5101 GB, free: 160 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1085, allocations: 0 / 0.5101 GB, free: 160 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1085, allocations: 0 / 0.5101 GB, free: 160 kB / 366.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.00177/0.1103, allocations: 1.259 MB / 0.5113 GB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1104, allocations: 8.031 kB / 0.5114 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.974e-05/0.1104, allocations: 21.19 kB / 0.5114 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.1105, allocations: 114.7 kB / 0.5115 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.1108, allocations: 88.5 kB / 0.5116 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.1114, allocations: 418.6 kB / 0.512 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.1115, allocations: 74.69 kB / 0.512 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1116, allocations: 67.98 kB / 0.5121 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.1135, allocations: 1.14 MB / 0.5132 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1135, allocations: 3.938 kB / 0.5132 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.1136, allocations: 43.97 kB / 0.5133 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.126e-05/0.1137, allocations: 48.97 kB / 0.5133 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.115, allocations: 0.7532 MB / 0.514 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.1186, allocations: 3.033 MB / 0.517 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.1197, allocations: 0.5718 MB / 0.5176 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008312/0.1205, allocations: 490.3 kB / 0.518 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.693e-05/0.1206, allocations: 85.09 kB / 0.5181 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.1219, allocations: 0.8329 MB / 0.5189 GB, free: 6.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.144e-06/0.1219, allocations: 3.938 kB / 0.5189 GB, free: 6.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.003707/0.1256, allocations: 2.261 MB / 0.5211 GB, free: 4.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004274/0.126, allocations: 0.6156 MB / 0.5217 GB, free: 3.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.1265, allocations: 380.2 kB / 0.5221 GB, free: 3.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/0.1266, allocations: 65.69 kB / 0.5222 GB, free: 3.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.1268, allocations: 261.1 kB / 0.5224 GB, free: 2.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.127, allocations: 206.5 kB / 0.5226 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.1273, allocations: 210.6 kB / 0.5228 GB, free: 2.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1275, allocations: 374.8 kB / 0.5232 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.1281, allocations: 326.1 kB / 0.5235 GB, free: 1.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009334/0.129, allocations: 0.6864 MB / 0.5242 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/0.1317, allocations: 2.123 MB / 0.5262 GB, free: 14.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.1317, allocations: 4 kB / 0.5262 GB, free: 14.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002365/0.1341, allocations: 1.554 MB / 0.5277 GB, free: 12.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.1344, allocations: 347.6 kB / 0.5281 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.1344, allocations: 19.88 kB / 0.5281 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.1344, allocations: 16 kB / 0.5281 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.1348, allocations: 116 kB / 0.5282 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.833e-05/0.1348, allocations: 27.86 kB / 0.5282 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.1353, allocations: 115.3 kB / 0.5284 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/0.1354, allocations: 55.98 kB / 0.5284 GB, free: 12.11 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.0009571/0.1363, allocations: 0.7369 MB / 0.5291 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.1365, allocations: 71.67 kB / 0.5292 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.1393, allocations: 1.737 MB / 0.5309 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.1393, allocations: 4 kB / 0.5309 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1393, allocations: 3.938 kB / 0.5309 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1393, allocations: 7.984 kB / 0.5309 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.1434, allocations: 2.671 MB / 0.5335 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1434, allocations: 0 / 0.5335 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.1435, allocations: 27.98 kB / 0.5335 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1435, allocations: 0 / 0.5335 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.144e-05/0.1436, allocations: 35.98 kB / 0.5336 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/0.1436, allocations: 11.94 kB / 0.5336 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1436, allocations: 0 / 0.5336 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/0.1469, allocations: 2.134 MB / 0.5357 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.1471, allocations: 124.7 kB / 0.5358 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.1473, allocations: 71.98 kB / 0.5359 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.1477, allocations: 51.95 kB / 0.5359 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.1479, allocations: 87.86 kB / 0.536 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.954e-05/0.148, allocations: 51.95 kB / 0.536 GB, free: 3.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002833/0.1483, allocations: 231 kB / 0.5363 GB, free: 3.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1483, allocations: 0 / 0.5363 GB, free: 3.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001167/0.1495, allocations: 319.5 kB / 0.5366 GB, free: 3.445 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.004455/0.1539, allocations: 2.955 MB / 0.5395 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002665/0.1566, allocations: 1.753 MB / 0.5412 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.1566, allocations: 4 kB / 0.5412 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.1581, allocations: 1.172 MB / 0.5423 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.1587, allocations: 117.6 kB / 0.5424 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.1696, allocations: 7.206 MB / 0.5495 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.1702, allocations: 0.9036 MB / 0.5504 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003806/0.1706, allocations: 136.5 kB / 0.5505 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.1709, allocations: 175.4 kB / 0.5506 GB, free: 4.238 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1709, allocations: 0 / 0.5506 GB, free: 4.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.2105, allocations: 16.05 MB / 0.5663 GB, free: 4.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.225/9.435, allocations: 8 kB / 0.5663 GB, free: 4.191 MB / 430.1 MB " [Timeout remaining time 650] (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: 12.231003373977728] Failed to read output from testmodel.py, exit status != 0: 9.572088145010639 9.587485603 9.475988541 Calling exit ...