Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.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.001826/0.001826, 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.001955/0.001955, 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.451/1.451, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.08209/0.08209, allocations: 16.95 MB / 325.8 MB, free: 3.465 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.ExtTest.TAwithWeaklyActivation,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TAwithWeaklyActivation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TAwithWeaklyActivation,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TAwithWeaklyActivation",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.001987/0.001987, allocations: 75.88 kB / 454.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1097, allocations: 57.57 MB / 0.5002 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithWeaklyActivation): time 0.00557/0.1153, allocations: 3.762 MB / 0.5038 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.1208, allocations: 2.766 MB / 0.5065 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006491/0.1214, allocations: 27.81 kB / 0.5066 GB, free: 4.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.1221, allocations: 341.4 kB / 0.5069 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000985/0.1231, allocations: 397.5 kB / 0.5073 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.1258, allocations: 1.227 MB / 0.5085 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.202/0.3277, allocations: 3.219 MB / 0.5116 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007353/0.3285, allocations: 380.4 kB / 0.512 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.3301, allocations: 1.397 MB / 0.5133 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.3316, allocations: 1.106 MB / 0.5144 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006334/0.3322, allocations: 272.3 kB / 0.5147 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.3334, allocations: 0.6992 MB / 0.5154 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005789/0.3339, allocations: 0.5601 MB / 0.5159 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.3352, allocations: 1.145 MB / 0.517 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.3392, allocations: 3.061 MB / 0.52 GB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3392, allocations: 0 / 0.52 GB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3392, allocations: 2.203 kB / 0.52 GB, free: 7.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.547e-05/0.3393, allocations: 0 / 0.52 GB, free: 7.68 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: 594 * Number of variables: 594 Notification: Performance of Generate backend data structure: time 0.004801/0.3441, allocations: 3.007 MB / 0.523 GB, free: 5.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3442, allocations: 9.219 kB / 0.523 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005107/0.3447, allocations: 369.1 kB / 0.5233 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.3466, allocations: 440.2 kB / 0.5237 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.348, allocations: 0.9493 MB / 0.5247 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003899/0.3484, allocations: 0.579 MB / 0.5252 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/0.3488, allocations: 254.7 kB / 0.5255 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007885/0.3567, allocations: 4.195 MB / 0.5296 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/0.3568, allocations: 6 kB / 0.5296 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/0.3571, allocations: 123.5 kB / 0.5297 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004042/0.3575, allocations: 222.7 kB / 0.5299 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006288/0.3638, allocations: 3.074 MB / 0.5329 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.3766, allocations: 8.511 MB / 0.5412 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.3805, allocations: 2.135 MB / 0.5433 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.3834, allocations: 1.689 MB / 0.545 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002735/0.3861, allocations: 3.164 MB / 0.548 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004067/0.3902, allocations: 2.201 MB / 0.5502 GB, free: 4.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=189): time 3.837e-06/0.3902, allocations: 1.125 kB / 0.5502 GB, free: 4.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=189): time 0.01287/0.4031, allocations: 7.059 MB / 0.5571 GB, free: 272 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009313/0.404, allocations: 1.218 MB / 0.5583 GB, free: 14.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.4054, allocations: 0.9371 MB / 0.5592 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002681/0.4057, allocations: 117.7 kB / 0.5593 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007869/0.4065, allocations: 0.7318 MB / 0.56 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000683/0.4072, allocations: 0.5251 MB / 0.5605 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.4082, allocations: 0.623 MB / 0.5611 GB, free: 11.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4084, allocations: 347.3 kB / 0.5615 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/0.4108, allocations: 1.278 MB / 0.5627 GB, free: 10.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003054/0.4138, allocations: 2.159 MB / 0.5648 GB, free: 7.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005998/0.4198, allocations: 4.456 MB / 0.5692 GB, free: 2.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-05/0.4199, allocations: 8 kB / 0.5692 GB, free: 2.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008302/0.4282, allocations: 4.991 MB / 0.5741 GB, free: 13.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006124/0.4288, allocations: 0.7881 MB / 0.5748 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004978/0.4337, allocations: 3.113 MB / 0.5779 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/0.4356, allocations: 466.8 kB / 0.5783 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.4367, allocations: 312 kB / 0.5786 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.4379, allocations: 1.04 MB / 0.5796 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.4398, allocations: 371.6 kB / 0.58 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/0.4401, allocations: 152 kB / 0.5801 GB, free: 7.414 MB / 430.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" 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.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 P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 276 ($PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.P2.enableIn.disTAin[1],$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[2],$PRE.P1.enableOut.cumEnablingProb[2],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[2],$PRE.P1.enableOut.remTAout[2],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[2],$PRE.P1.enableOut.disTAout[2],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],T3.inPlaces[1].tokenInOut,T2.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition6,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition1,T3.firingCon,T3.inPlaces[1].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T2.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,TA1.outTransition.arcType,T1.fire_,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedIn.vec[1],T2.activation.testValueInt[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.outTransition[1].arcWeightint,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.fed[1],T2.fire_,T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.normalArc[1],T2.activation.emptied[1],T2.activation.fed[1],T2.activation.arcType[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[2],P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition4,$whenCondition3,$whenCondition2,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 23 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.002674/0.4428, allocations: 1.733 MB / 0.5818 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005992/0.4434, allocations: 195.1 kB / 0.582 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009383/0.4528, allocations: 5.497 MB / 0.5874 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/0.4528, allocations: 15.94 kB / 0.5874 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4528, allocations: 0 / 0.5874 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.4528, allocations: 11.59 kB / 0.5874 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.4665, allocations: 8.052 MB / 0.5953 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.008695/0.4752, allocations: 5.265 MB / 0.6004 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.4757, allocations: 90.62 kB / 0.6005 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.4768, allocations: 361.2 kB / 0.6008 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000517/0.4773, allocations: 111.9 kB / 0.601 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.4786, allocations: 1.02 MB / 0.6019 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4786, allocations: 3.938 kB / 0.6019 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.4925, allocations: 8.146 MB / 0.6099 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.4928, allocations: 211.9 kB / 0.6101 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/0.4933, allocations: 179.9 kB / 0.6103 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.4947, allocations: 199.8 kB / 0.6105 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/0.4958, allocations: 0.5767 MB / 0.611 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003001/0.4961, allocations: 118 kB / 0.6111 GB, free: 7.109 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000706/0.4968, allocations: 0.5107 MB / 0.6116 GB, free: 6.594 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4968, allocations: 0 / 0.6116 GB, free: 6.594 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002356/0.4991, allocations: 0.7564 MB / 0.6124 GB, free: 5.836 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 141 ($whenCondition1,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.disMarksInOut,$cse4[1],$cse5[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],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.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],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.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T2.inPlaces[1].tokenInOut,T2.activation.arcType[1],T2.activation.fed[1],T2.activation.emptied[1],T2.activation.normalArc[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.fire_,T3.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.NoTokens,T3.fire_) * Number of discrete states: 117 (P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[2],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition4,P2.enableIn.TEin[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[2],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[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition3,P1.enableOut.TEout[2],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],$whenCondition2,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 19 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01529/0.5144, allocations: 9.158 MB / 0.6213 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008467/0.5229, allocations: 5.181 MB / 0.6264 GB, free: 7.156 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.5229, allocations: 0 / 0.6264 GB, free: 7.156 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006206/0.5291, allocations: 3.482 MB / 0.6298 GB, free: 3.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.5308, allocations: 241.2 kB / 0.63 GB, free: 3.203 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/0.5678, allocations: 20.61 MB / 0.6501 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.5692, allocations: 1.521 MB / 0.6516 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009259/0.5701, allocations: 370.4 kB / 0.652 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008117/0.5709, allocations: 0.6164 MB / 0.6526 GB, free: 11 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.5709, allocations: 0 / 0.6526 GB, free: 11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09111/0.662, allocations: 45.01 MB / 0.6965 GB, free: 13.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.17, allocations: 11.12 kB / 0.6966 GB, free: 13.86 MB / 0.545 GB " [Timeout remaining time 645] (rm -f PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_ExtTest_TAwithWeaklyActivation.fmu > PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TAwithWeaklyActivation.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! Error: Could not read variable P2.t in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable P2.t from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! Error: Could not read variable T1.instantaneousSpeed in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable T1.instantaneousSpeed from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! Error: Could not read variable T1.maximumSpeed in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable T1.maximumSpeed from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable T2.fire from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! Error: Could not read variable T2.instantaneousSpeed in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable T2.instantaneousSpeed from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! Error: Could not read variable T2.maximumSpeed in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable T2.maximumSpeed from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! Error: Could not read variable T3.fire in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable T3.fire from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! Error: Could not read variable T3.instantaneousSpeed in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable T3.instantaneousSpeed from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! Error: Could not read variable T3.maximumSpeed in file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv. Warning: Get data of variable T3.maximumSpeed from file PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.969903940334916]