Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",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.008538/0.008538, allocations: 96.72 kB / 15.73 MB, free: 6 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.002096/0.002096, allocations: 185.7 kB / 16.67 MB, free: 5.93 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1926/0.1926, allocations: 16.75 MB / 307.3 MB, free: 14.84 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.52 kB / 425.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1061, allocations: 53.48 MB / 479.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003126/0.1092, allocations: 1.869 MB / 481.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.1127, allocations: 1.956 MB / 483.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004884/0.1132, allocations: 11.91 kB / 483.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.1137, allocations: 121.1 kB / 483.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.1142, allocations: 125.8 kB / 483.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.1166, allocations: 0.9234 MB / 484.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.1188, allocations: 1.419 MB / 485.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.1192, allocations: 135.7 kB / 485.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008728/0.1201, allocations: 0.5352 MB / 486.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006035/0.1207, allocations: 315.5 kB / 486.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.1209, allocations: 72.12 kB / 486.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.1221, allocations: 0.5215 MB / 487.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.1224, allocations: 135.5 kB / 487.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.1228, allocations: 338.5 kB / 487.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.1243, allocations: 1.09 MB / 488.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1243, allocations: 0 / 488.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1244, allocations: 0 / 488.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1244, allocations: 0 / 488.9 MB, free: 3.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001946/0.1263, allocations: 1.267 MB / 490.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.1264, allocations: 15.89 kB / 490.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.1266, allocations: 110.7 kB / 490.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.1271, allocations: 88.5 kB / 490.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.1278, allocations: 414.8 kB / 490.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.1279, allocations: 74.69 kB / 490.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.1281, allocations: 67.98 kB / 490.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.1305, allocations: 1.148 MB / 492.1 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.1305, allocations: 4 kB / 492.1 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.1306, allocations: 31.98 kB / 492.1 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.1308, allocations: 52.95 kB / 492.1 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.1334, allocations: 0.7649 MB / 492.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007755/0.1412, allocations: 3.029 MB / 495.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.1438, allocations: 1.294 MB / 497.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/0.1461, allocations: 1.205 MB / 498.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.1463, allocations: 85.11 kB / 498.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002324/0.1486, allocations: 0.8248 MB / 499.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 3.587e-06/0.1487, allocations: 0 / 499.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.00615/0.1548, allocations: 2.265 MB / 0.4899 GB, free: 6.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005474/0.1554, allocations: 0.6156 MB / 0.4905 GB, free: 5.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.1561, allocations: 396.1 kB / 0.4908 GB, free: 5.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.1563, allocations: 69.62 kB / 0.4909 GB, free: 5.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.1565, allocations: 241.2 kB / 0.4911 GB, free: 4.961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.1568, allocations: 210.5 kB / 0.4913 GB, free: 4.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/0.1572, allocations: 210.6 kB / 0.4915 GB, free: 4.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.1574, allocations: 366.8 kB / 0.4919 GB, free: 4.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009392/0.1584, allocations: 330.1 kB / 0.4922 GB, free: 3.852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.1597, allocations: 0.6864 MB / 0.4929 GB, free: 3.004 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/0.1638, allocations: 2.119 MB / 0.4949 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/0.1639, allocations: 4 kB / 0.4949 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003958/0.1678, allocations: 1.559 MB / 0.4965 GB, free: 14.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003302/0.1682, allocations: 346.7 kB / 0.4968 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/0.1683, allocations: 12 kB / 0.4968 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.666e-05/0.1683, allocations: 23.88 kB / 0.4968 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.1689, allocations: 119.7 kB / 0.4969 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.859e-05/0.169, allocations: 19.94 kB / 0.497 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008299/0.1698, allocations: 111.3 kB / 0.4971 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.17, allocations: 55.98 kB / 0.4971 GB, free: 14.18 MB / 382.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 T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.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 P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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.reStart,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.001435/0.1714, allocations: 0.7314 MB / 0.4978 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.1717, allocations: 75.67 kB / 0.4979 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/0.1762, allocations: 1.726 MB / 0.4996 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.1762, allocations: 8 kB / 0.4996 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.1763, allocations: 128 / 0.4996 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.1763, allocations: 3.984 kB / 0.4996 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006651/0.1829, allocations: 2.668 MB / 0.5022 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.183, allocations: 4 kB / 0.5022 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.1832, allocations: 27.92 kB / 0.5022 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.1832, allocations: 0 / 0.5022 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.1834, allocations: 39.98 kB / 0.5023 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.1834, allocations: 7.984 kB / 0.5023 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1834, allocations: 0 / 0.5023 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005131/0.1886, allocations: 2.134 MB / 0.5044 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.1888, allocations: 136.6 kB / 0.5045 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003239/0.1891, allocations: 67.98 kB / 0.5046 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.1898, allocations: 63.89 kB / 0.5046 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.1901, allocations: 83.86 kB / 0.5047 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.1903, allocations: 43.97 kB / 0.5047 GB, free: 6.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004141/0.1907, allocations: 231 kB / 0.505 GB, free: 5.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1907, allocations: 0 / 0.505 GB, free: 5.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001821/0.1926, allocations: 319.6 kB / 0.5053 GB, free: 5.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.006568/0.1991, allocations: 2.949 MB / 0.5082 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003877/0.2031, allocations: 1.831 MB / 0.5099 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.2031, allocations: 4 kB / 0.5099 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004088/0.2072, allocations: 2.816 MB / 0.5127 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.2083, allocations: 114 kB / 0.5128 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.2244, allocations: 7.202 MB / 0.5198 GB, free: 5.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009034/0.2254, allocations: 0.9075 MB / 0.5207 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006078/0.226, allocations: 140.4 kB / 0.5209 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/0.2265, allocations: 175.4 kB / 0.521 GB, free: 4.598 MB / 398.1 MB Notification: Performance of SimCode: time 1.322e-06/0.2265, allocations: 0 / 0.521 GB, free: 4.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05833/0.2848, allocations: 15.98 MB / 0.5366 GB, free: 4.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/8.796, allocations: 7.984 kB / 0.5366 GB, free: 4.629 MB / 414.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_DisTest_TEnoInput.fmu > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches