Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.Speed.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.Speed,fileNamePrefix="PNlib_PNlib_Examples_ConTest_Speed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.Speed,fileNamePrefix="PNlib_PNlib_Examples_ConTest_Speed",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.007722/0.007722, 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.001538/0.001538, allocations: 201.6 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.238/0.238, allocations: 16.76 MB / 307.3 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.22 kB / 425.9 MB, free: 37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1268, allocations: 53.47 MB / 479.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.004216/0.131, allocations: 3.522 MB / 482.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006188/0.1373, allocations: 2.708 MB / 485.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.1386, allocations: 20.22 kB / 485.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006512/0.1393, allocations: 317.1 kB / 485.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008663/0.1402, allocations: 361 kB / 486.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.1429, allocations: 1.215 MB / 487.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003151/0.146, allocations: 3.348 MB / 490.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005335/0.1466, allocations: 0.5178 MB / 491.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.1477, allocations: 1.309 MB / 492.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.1488, allocations: 0.9487 MB / 493.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003138/0.1491, allocations: 240 kB / 493.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.1502, allocations: 0.64 MB / 494.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000467/0.1506, allocations: 490.3 kB / 494.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.1517, allocations: 1.046 MB / 496 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.1549, allocations: 2.749 MB / 498.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.1549, allocations: 4 kB / 498.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1549, allocations: 0 / 498.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.582e-05/0.1549, allocations: 0 / 498.7 MB, free: 9.781 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.003782/0.1587, allocations: 2.791 MB / 0.4898 GB, free: 6.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1588, allocations: 15.83 kB / 0.4898 GB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004011/0.1592, allocations: 335.5 kB / 0.4901 GB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.1609, allocations: 407.5 kB / 0.4905 GB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.1623, allocations: 0.88 MB / 0.4913 GB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004168/0.1627, allocations: 0.4997 MB / 0.4918 GB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/0.1631, allocations: 232 kB / 0.4921 GB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005644/0.1687, allocations: 3.791 MB / 0.4958 GB, free: 392 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.609e-05/0.1688, allocations: 4 kB / 0.4958 GB, free: 388 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.1691, allocations: 108 kB / 0.4959 GB, free: 280 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000313/0.1694, allocations: 207.1 kB / 0.4961 GB, free: 72 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.1738, allocations: 2.761 MB / 0.4988 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.1842, allocations: 7.515 MB / 0.5061 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/0.1886, allocations: 3.628 MB / 0.5096 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003463/0.1921, allocations: 3.207 MB / 0.5128 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002687/0.1948, allocations: 3.078 MB / 0.5158 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00304/0.1978, allocations: 1.992 MB / 0.5177 GB, free: 8.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=177): time 5.28e-06/0.1979, allocations: 0 / 0.5177 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=177): time 0.01092/0.2088, allocations: 6.386 MB / 0.524 GB, free: 2.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007365/0.2096, allocations: 1.155 MB / 0.5251 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.211, allocations: 0.8666 MB / 0.5259 GB, free: 104 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002499/0.2112, allocations: 109.7 kB / 0.526 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.212, allocations: 0.6693 MB / 0.5267 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/0.2126, allocations: 0.4964 MB / 0.5272 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009497/0.2136, allocations: 0.568 MB / 0.5277 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2138, allocations: 341.9 kB / 0.5281 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.2156, allocations: 1.086 MB / 0.5291 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/0.2185, allocations: 1.961 MB / 0.531 GB, free: 10.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005393/0.2239, allocations: 4.227 MB / 0.5352 GB, free: 5.605 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.986e-05/0.224, allocations: 8 kB / 0.5352 GB, free: 5.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.007663/0.2316, allocations: 4.517 MB / 0.5396 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007226/0.2324, allocations: 0.7747 MB / 0.5403 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004305/0.2367, allocations: 2.647 MB / 0.5429 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.2384, allocations: 410.9 kB / 0.5433 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.2394, allocations: 283.3 kB / 0.5436 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.2406, allocations: 0.994 MB / 0.5446 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.2425, allocations: 318.1 kB / 0.5449 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/0.243, allocations: 140 kB / 0.545 GB, free: 11.13 MB / 430.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: 117 * Number of states: 0 () * Number of discrete variables: 265 ($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[2],$PRE.P1.enableIn.cumEnablingProb[2],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[2],$PRE.P1.enableIn.remTAin[2],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[2],$PRE.P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$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,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P2.reStart,T3.firingCon,T3.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,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[2].disPlace,P1.inTransition[2].maxTokensint,P1.inTransition[2].tint,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.vec[2],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,T2.fire_,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntOut[1],P2.delayPassedIn.vec[1],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[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],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[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],T3.fire_,T3.activation.NoTokens,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.emptied[1],T3.activation.fed[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[2],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[2],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[2],$PRE.P1.fireIn[2],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 262 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.002914/0.2459, allocations: 1.675 MB / 0.5466 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007105/0.2466, allocations: 191.1 kB / 0.5468 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00826/0.2549, allocations: 5.033 MB / 0.5517 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.2549, allocations: 12 kB / 0.5517 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.255, allocations: 0 / 0.5517 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.255, allocations: 3.984 kB / 0.5517 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.2669, allocations: 7.366 MB / 0.5589 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007244/0.2742, allocations: 4.856 MB / 0.5637 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.2745, allocations: 71.92 kB / 0.5637 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009564/0.2755, allocations: 318 kB / 0.564 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/0.2758, allocations: 103.9 kB / 0.5641 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.2769, allocations: 0.9535 MB / 0.5651 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.2769, allocations: 4 kB / 0.5651 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.2889, allocations: 7.46 MB / 0.5724 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.2894, allocations: 200 kB / 0.5726 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005634/0.2899, allocations: 175.9 kB / 0.5727 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.2912, allocations: 171.8 kB / 0.5729 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007332/0.2919, allocations: 388.6 kB / 0.5733 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002826/0.2922, allocations: 115.9 kB / 0.5734 GB, free: 13.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007492/0.293, allocations: 478.9 kB / 0.5738 GB, free: 12.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.293, allocations: 0 / 0.5738 GB, free: 12.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002392/0.2954, allocations: 0.6941 MB / 0.5745 GB, free: 12.19 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: 133 (P2.disMarksInOut,$cse4[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.disMarksInOut,P1.fireIn[1],P1.fireIn[2],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.disTAin[1],P1.enableIn.disTAin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.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: 117 (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[2],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,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.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],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.enableIn.TEin_[2],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[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 52 * Array equations: 1 * 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,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01305/0.3085, allocations: 8.434 MB / 0.5827 GB, free: 3.605 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2594/0.5679, allocations: 5.283 MB / 0.5879 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.5679, allocations: 0 / 0.5879 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006717/0.5747, allocations: 6.63 MB / 0.5944 GB, free: 109.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.576, allocations: 220.5 kB / 0.5946 GB, free: 109 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/0.6029, allocations: 18.64 MB / 0.6128 GB, free: 99.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/0.6038, allocations: 1.445 MB / 0.6142 GB, free: 97.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008257/0.6046, allocations: 333.3 kB / 0.6145 GB, free: 97.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007198/0.6054, allocations: 0.5471 MB / 0.6151 GB, free: 96.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6054, allocations: 0 / 0.6151 GB, free: 96.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06934/0.6747, allocations: 40.31 MB / 0.6544 GB, free: 56.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.62, allocations: 3.938 kB / 0.6544 GB, free: 56.35 MB / 462.1 MB (rm -f PNlib_PNlib.Examples.ConTest.Speed.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.Speed.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.Speed.pipe >> ../files/PNlib_PNlib.Examples.ConTest.Speed.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.ConTest.Speed_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_Speed.fmu > PNlib_PNlib.Examples.ConTest.Speed.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.Speed_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.Speed.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.Speed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches