Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.001724/0.001724, allocations: 109.7 kB / 16.45 MB, free: 6.508 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.002353/0.002353, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.579/1.579, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.0808/0.0808, allocations: 16.95 MB / 325.8 MB, free: 3.496 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.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",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.002091/0.002091, allocations: 67.89 kB / 454.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1193, allocations: 57.58 MB / 0.5002 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003923/0.1232, allocations: 1.877 MB / 0.502 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00421/0.1274, allocations: 1.933 MB / 0.5039 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.1278, allocations: 7.938 kB / 0.5039 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.1282, allocations: 126.9 kB / 0.504 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.1288, allocations: 154.9 kB / 0.5042 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.131, allocations: 0.9047 MB / 0.5051 GB, free: 6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.133, allocations: 1.385 MB / 0.5064 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.1334, allocations: 175.1 kB / 0.5066 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009754/0.1343, allocations: 0.5804 MB / 0.5072 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009054/0.1353, allocations: 0.5174 MB / 0.5077 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003746/0.1356, allocations: 140 kB / 0.5078 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.1371, allocations: 0.8621 MB / 0.5086 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.1374, allocations: 207.2 kB / 0.5088 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009617/0.1383, allocations: 0.5719 MB / 0.5094 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2942/0.4325, allocations: 1.815 MB / 0.5112 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.4325, allocations: 0 / 0.5112 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4325, allocations: 0 / 0.5112 GB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.203e-05/0.4326, allocations: 1.766 kB / 0.5112 GB, free: 10.81 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003568/0.4362, allocations: 1.582 MB / 0.5127 GB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.124e-05/0.4362, allocations: 9.531 kB / 0.5127 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003781/0.4366, allocations: 167 kB / 0.5129 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000696/0.4373, allocations: 131.7 kB / 0.513 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.4384, allocations: 0.5455 MB / 0.5135 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.4385, allocations: 142.8 kB / 0.5137 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/0.4388, allocations: 114.5 kB / 0.5138 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004316/0.4431, allocations: 2.029 MB / 0.5158 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.4431, allocations: 4.469 kB / 0.5158 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.4434, allocations: 60.16 kB / 0.5158 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/0.4436, allocations: 90.34 kB / 0.5159 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.4473, allocations: 1.428 MB / 0.5173 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007624/0.4549, allocations: 4.251 MB / 0.5215 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.4577, allocations: 1.017 MB / 0.5225 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002312/0.46, allocations: 0.9194 MB / 0.5234 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.4601, allocations: 87.94 kB / 0.5234 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003033/0.4632, allocations: 1.297 MB / 0.5247 GB, free: 5.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.396e-06/0.4632, allocations: 1.438 kB / 0.5247 GB, free: 5.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.009461/0.4726, allocations: 3.985 MB / 0.5286 GB, free: 4.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004615/0.4731, allocations: 0.6595 MB / 0.5292 GB, free: 3.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.4742, allocations: 0.5147 MB / 0.5297 GB, free: 3.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.4744, allocations: 74.84 kB / 0.5298 GB, free: 3.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.4747, allocations: 353.8 kB / 0.5301 GB, free: 2.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.475, allocations: 244.6 kB / 0.5304 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000609/0.4756, allocations: 299 kB / 0.5307 GB, free: 2.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.4757, allocations: 328.4 kB / 0.531 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.4771, allocations: 0.5567 MB / 0.5315 GB, free: 2.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.4791, allocations: 1.024 MB / 0.5325 GB, free: 1.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005148/0.4843, allocations: 3.197 MB / 0.5356 GB, free: 15.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.194e-05/0.4843, allocations: 4.125 kB / 0.5356 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005006/0.4893, allocations: 2.236 MB / 0.5378 GB, free: 14.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003863/0.4897, allocations: 353.2 kB / 0.5382 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.061e-05/0.4897, allocations: 15.83 kB / 0.5382 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.206e-05/0.4898, allocations: 24.59 kB / 0.5382 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/0.4905, allocations: 158.2 kB / 0.5384 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.543e-05/0.4906, allocations: 30.45 kB / 0.5384 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.4919, allocations: 176.6 kB / 0.5386 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.4921, allocations: 74.75 kB / 0.5386 GB, free: 13.67 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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 ) \"priority Index\" type: Integer 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.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001975/0.494, allocations: 0.8972 MB / 0.5395 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000369/0.4944, allocations: 98.22 kB / 0.5396 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008047/0.5024, allocations: 3.365 MB / 0.5429 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-05/0.5025, allocations: 5.75 kB / 0.5429 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5025, allocations: 0 / 0.5429 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5025, allocations: 3.953 kB / 0.5429 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.5138, allocations: 4.761 MB / 0.5475 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.5138, allocations: 0 / 0.5475 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.514, allocations: 38.05 kB / 0.5476 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.5141, allocations: 4.688 kB / 0.5476 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.5142, allocations: 52.89 kB / 0.5476 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.5142, allocations: 1.156 kB / 0.5476 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5142, allocations: 3.656 kB / 0.5476 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007714/0.522, allocations: 3.487 MB / 0.551 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.5222, allocations: 139.3 kB / 0.5512 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000428/0.5226, allocations: 98.38 kB / 0.5513 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.5237, allocations: 103.9 kB / 0.5514 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/0.5247, allocations: 377.6 kB / 0.5517 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002397/0.525, allocations: 70.14 kB / 0.5518 GB, free: 6.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005853/0.5256, allocations: 303.1 kB / 0.5521 GB, free: 6.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5256, allocations: 0 / 0.5521 GB, free: 6.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002578/0.5281, allocations: 491.3 kB / 0.5526 GB, free: 5.684 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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.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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01054/0.5387, allocations: 4.406 MB / 0.5569 GB, free: 1.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005901/0.5446, allocations: 2.457 MB / 0.5593 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.5446, allocations: 1.938 kB / 0.5593 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003693/0.5483, allocations: 1.643 MB / 0.5609 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.5494, allocations: 132.5 kB / 0.561 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/0.5709, allocations: 9.829 MB / 0.5706 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.5719, allocations: 1.025 MB / 0.5716 GB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008063/0.5727, allocations: 219.2 kB / 0.5718 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.5732, allocations: 251.3 kB / 0.572 GB, free: 1.039 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5732, allocations: 0 / 0.572 GB, free: 1.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07246/0.6457, allocations: 24.23 MB / 0.5957 GB, free: 8.812 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.234/9.879, allocations: 19.91 kB / 0.5957 GB, free: 8.793 MB / 446.1 MB " [Timeout remaining time 650] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_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_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.819853560999036]