Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.00184/0.00184, allocations: 102.1 kB / 16.45 MB, free: 6.449 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.001884/0.001884, allocations: 212 kB / 19.43 MB, free: 3.637 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.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08112/0.08112, allocations: 16.96 MB / 325.8 MB, free: 3.492 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-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.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",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.002103/0.002103, allocations: 67.91 kB / 454.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1159, allocations: 57.58 MB / 0.5002 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003909/0.1198, allocations: 1.995 MB / 0.5021 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.1231, allocations: 1.564 MB / 0.5036 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.1235, allocations: 11.94 kB / 0.5037 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.124, allocations: 134.9 kB / 0.5038 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007/0.1247, allocations: 178.8 kB / 0.504 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1264, allocations: 0.6496 MB / 0.5046 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.1283, allocations: 1.365 MB / 0.5059 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.1287, allocations: 179.4 kB / 0.5061 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.1297, allocations: 0.5686 MB / 0.5066 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009128/0.1306, allocations: 0.5212 MB / 0.5072 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.1309, allocations: 132 kB / 0.5073 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008822/0.1318, allocations: 0.5189 MB / 0.5078 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.1321, allocations: 251 kB / 0.508 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006467/0.1328, allocations: 0.5445 MB / 0.5086 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.1346, allocations: 1.589 MB / 0.5101 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1346, allocations: 3.938 kB / 0.5101 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1346, allocations: 0 / 0.5101 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1346, allocations: 4 kB / 0.5101 GB, free: 0.8008 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.2058/0.3404, allocations: 1.594 MB / 0.5117 GB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3405, allocations: 9.125 kB / 0.5117 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002536/0.3407, allocations: 183.1 kB / 0.5119 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.3419, allocations: 238.3 kB / 0.5121 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.3426, allocations: 0.5405 MB / 0.5126 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.3429, allocations: 255.2 kB / 0.5129 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.343, allocations: 124.2 kB / 0.513 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.3459, allocations: 1.965 MB / 0.5149 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.3459, allocations: 1.078 kB / 0.5149 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.346, allocations: 57.3 kB / 0.515 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.3462, allocations: 105.4 kB / 0.5151 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.3485, allocations: 1.417 MB / 0.5164 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004898/0.3534, allocations: 3.536 MB / 0.5199 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.3551, allocations: 0.9603 MB / 0.5208 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.3563, allocations: 0.8154 MB / 0.5216 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.3577, allocations: 3.049 MB / 0.5246 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001562/0.3593, allocations: 1.086 MB / 0.5257 GB, free: 8.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 2.415e-06/0.3593, allocations: 0 / 0.5257 GB, free: 8.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.005214/0.3645, allocations: 3.374 MB / 0.529 GB, free: 7.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002739/0.3648, allocations: 0.6606 MB / 0.5296 GB, free: 6.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/0.3654, allocations: 0.5044 MB / 0.5301 GB, free: 6.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-05/0.3655, allocations: 75.77 kB / 0.5302 GB, free: 6.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.3657, allocations: 397.9 kB / 0.5305 GB, free: 5.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.3659, allocations: 245.8 kB / 0.5308 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/0.3663, allocations: 302.2 kB / 0.5311 GB, free: 5.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3665, allocations: 384.7 kB / 0.5314 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009312/0.3674, allocations: 0.5507 MB / 0.532 GB, free: 4.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3686, allocations: 1.036 MB / 0.533 GB, free: 4.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.3721, allocations: 3.129 MB / 0.536 GB, free: 1.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/0.3721, allocations: 4.719 kB / 0.536 GB, free: 1.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00325/0.3754, allocations: 2.255 MB / 0.5382 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.3756, allocations: 380.4 kB / 0.5386 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002274/0.3778, allocations: 1.255 MB / 0.5398 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-05/0.3779, allocations: 29.25 kB / 0.5399 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.3785, allocations: 165.5 kB / 0.54 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.809e-05/0.3786, allocations: 32.73 kB / 0.5401 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008848/0.3795, allocations: 163.2 kB / 0.5402 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.3796, allocations: 74.83 kB / 0.5403 GB, free: 15.75 MB / 398.1 MB Warning: Assuming fixed start value for the following 21 variables: P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" 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 P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireOut[1],P1.fireIn[1],$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.001691/0.3813, allocations: 0.8971 MB / 0.5412 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.3816, allocations: 91.56 kB / 0.5412 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/0.3863, allocations: 2.725 MB / 0.5439 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3863, allocations: 4.594 kB / 0.5439 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3863, allocations: 6.109 kB / 0.5439 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3863, allocations: 1.125 kB / 0.5439 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006592/0.3929, allocations: 4.097 MB / 0.5479 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004004/0.3969, allocations: 2.649 MB / 0.5505 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.3972, allocations: 43.91 kB / 0.5505 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3972, allocations: 0 / 0.5505 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.3973, allocations: 55.91 kB / 0.5506 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3973, allocations: 4 kB / 0.5506 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3973, allocations: 3.938 kB / 0.5506 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006644/0.4039, allocations: 4.101 MB / 0.5546 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.4041, allocations: 136.6 kB / 0.5547 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.4044, allocations: 83.98 kB / 0.5548 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006547/0.405, allocations: 95.97 kB / 0.5549 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006056/0.4056, allocations: 367.6 kB / 0.5553 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.4058, allocations: 59.95 kB / 0.5553 GB, free: 4.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004139/0.4062, allocations: 295.1 kB / 0.5556 GB, free: 4.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4062, allocations: 0 / 0.5556 GB, free: 4.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001315/0.4075, allocations: 403.3 kB / 0.556 GB, free: 3.824 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,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.disTAin[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.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.007649/0.4151, allocations: 4.926 MB / 0.5608 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003833/0.419, allocations: 2.398 MB / 0.5631 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.419, allocations: 0 / 0.5631 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002357/0.4213, allocations: 1.635 MB / 0.5647 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.422, allocations: 116.5 kB / 0.5648 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.4373, allocations: 9.798 MB / 0.5744 GB, free: 84 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008748/0.4382, allocations: 1.056 MB / 0.5754 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004797/0.4386, allocations: 192.8 kB / 0.5756 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.439, allocations: 271.3 kB / 0.5759 GB, free: 14.55 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.439, allocations: 0 / 0.5759 GB, free: 14.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06097/0.5, allocations: 22.07 MB / 0.5974 GB, free: 8.434 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.343/9.843, allocations: 7.938 kB / 0.5975 GB, free: 8.426 MB / 446.1 MB " [Timeout remaining time 650] (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.616422805003822]