Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006727/0.006727, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 202.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1909/0.1909, allocations: 16.75 MB / 307.3 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.27 kB / 425.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1068, allocations: 53.47 MB / 479.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.003272/0.1101, allocations: 2.722 MB / 482 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003904/0.114, allocations: 2.269 MB / 484.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005996/0.1147, allocations: 15.16 kB / 484.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.1151, allocations: 212.2 kB / 484.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000589/0.1157, allocations: 266.2 kB / 484.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.1178, allocations: 1.031 MB / 485.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.1201, allocations: 2.638 MB / 488.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.1205, allocations: 371.3 kB / 488.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008429/0.1213, allocations: 0.9816 MB / 489.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007082/0.1221, allocations: 0.7779 MB / 490.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.1223, allocations: 204 kB / 490.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008113/0.1231, allocations: 0.6048 MB / 491.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.1234, allocations: 382.7 kB / 491.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006407/0.124, allocations: 0.8752 MB / 492.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.1264, allocations: 2.336 MB / 495 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1264, allocations: 0 / 495 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1265, allocations: 0 / 495 MB, free: 13.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.1265, allocations: 0 / 495 MB, free: 13.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.002926/0.1294, allocations: 2.4 MB / 497.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1295, allocations: 11.89 kB / 497.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003447/0.1298, allocations: 272.6 kB / 497.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.1314, allocations: 359.7 kB / 498 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.1326, allocations: 0.7595 MB / 498.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.1329, allocations: 389.8 kB / 499.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.1332, allocations: 188 kB / 499.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004542/0.1378, allocations: 3.052 MB / 0.4906 GB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.1378, allocations: 0 / 0.4906 GB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.138, allocations: 91.95 kB / 0.4907 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/0.1383, allocations: 158.4 kB / 0.4908 GB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.1418, allocations: 2.223 MB / 0.493 GB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009111/0.151, allocations: 5.759 MB / 0.4986 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004524/0.1555, allocations: 2.928 MB / 0.5015 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00391/0.1595, allocations: 2.752 MB / 0.5042 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004808/0.1643, allocations: 5.817 MB / 0.5099 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003868/0.1682, allocations: 1.712 MB / 0.5115 GB, free: 14.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 4.598e-06/0.1682, allocations: 3.938 kB / 0.5115 GB, free: 14.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01181/0.1801, allocations: 5.451 MB / 0.5169 GB, free: 9.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007739/0.1809, allocations: 1.07 MB / 0.5179 GB, free: 8.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.1821, allocations: 0.6897 MB / 0.5186 GB, free: 7.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000243/0.1824, allocations: 101.7 kB / 0.5187 GB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/0.1829, allocations: 0.5287 MB / 0.5192 GB, free: 6.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/0.1834, allocations: 413 kB / 0.5196 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007911/0.1842, allocations: 471.9 kB / 0.52 GB, free: 5.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1843, allocations: 338 kB / 0.5204 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.1863, allocations: 0.9099 MB / 0.5213 GB, free: 4.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/0.1889, allocations: 1.635 MB / 0.5228 GB, free: 2.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005247/0.1942, allocations: 3.611 MB / 0.5264 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.401e-05/0.1943, allocations: 8 kB / 0.5264 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007013/0.2013, allocations: 3.572 MB / 0.5299 GB, free: 10.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005023/0.2018, allocations: 0.6949 MB / 0.5306 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003055/0.2049, allocations: 1.956 MB / 0.5325 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.2061, allocations: 288.5 kB / 0.5327 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000785/0.2069, allocations: 235.5 kB / 0.533 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007522/0.2077, allocations: 0.8137 MB / 0.5338 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.2088, allocations: 258.4 kB / 0.534 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.209, allocations: 112 kB / 0.5341 GB, free: 6.152 MB / 414.1 MB Warning: Assuming fixed start value for the following 36 variables: 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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 231 ($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,$whenCondition6,$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[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.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P2.reStart,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,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.disMarksOut.vec[1],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,P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[2],P2.delayPassedIn.vec[1],T1.activation.disPlaceOut[2],T1.activation.maxTokensInt[2],T1.activation.tIntOut[2],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],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],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[2],T1.activation.emptied[1],T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,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[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 21 * 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 {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001955/0.211, allocations: 1.47 MB / 0.5355 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/0.2114, allocations: 155.3 kB / 0.5357 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006121/0.2175, allocations: 4.364 MB / 0.54 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.2176, allocations: 8 kB / 0.54 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.2176, allocations: 7.922 kB / 0.54 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2176, allocations: 7.938 kB / 0.54 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009162/0.2268, allocations: 6.394 MB / 0.5462 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005707/0.2325, allocations: 4.233 MB / 0.5504 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.2328, allocations: 51.89 kB / 0.5504 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/0.2333, allocations: 188.6 kB / 0.5506 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/0.2335, allocations: 87.95 kB / 0.5507 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00069/0.2342, allocations: 0.7849 MB / 0.5514 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.2342, allocations: 4.031 kB / 0.5514 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00924/0.2435, allocations: 6.517 MB / 0.5578 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.2438, allocations: 184.1 kB / 0.558 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004292/0.2442, allocations: 160 kB / 0.5581 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009544/0.2452, allocations: 143.9 kB / 0.5583 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005784/0.2458, allocations: 348.2 kB / 0.5586 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/0.246, allocations: 99.94 kB / 0.5587 GB, free: 12.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004335/0.2464, allocations: 382.8 kB / 0.5591 GB, free: 11.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2464, allocations: 0 / 0.5591 GB, free: 11.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001805/0.2482, allocations: 0.6005 MB / 0.5596 GB, free: 11.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 119 (P2.disMarksInOut,$cse3[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[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.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.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,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,$whenCondition6,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) * Number of discrete states: 106 (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,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],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,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.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],$whenCondition3,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,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],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 40 * Array equations: 1 * Algorithm blocks: 17 * 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 {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01069/0.2589, allocations: 7.471 MB / 0.5669 GB, free: 3.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005867/0.2648, allocations: 4.596 MB / 0.5714 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.2649, allocations: 0 / 0.5714 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005629/0.2705, allocations: 5.799 MB / 0.5771 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.2719, allocations: 194.2 kB / 0.5773 GB, free: 8.664 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2689/0.5408, allocations: 15.42 MB / 0.5923 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.5419, allocations: 1.277 MB / 0.5936 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007949/0.5427, allocations: 254 kB / 0.5938 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.5433, allocations: 429.2 kB / 0.5942 GB, free: 109.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.503e-06/0.5433, allocations: 4.719 kB / 0.5942 GB, free: 109.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05928/0.6026, allocations: 34.31 MB / 0.6277 GB, free: 83.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.88, allocations: 15.69 kB / 0.6278 GB, free: 83.05 MB / 462.1 MB (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ConTest.LoopAndArcweight_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_ConTest_LoopAndArcweight.fmu > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches