Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.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.09709/0.09709, allocations: 16.96 MB / 320.3 MB, free: 13.08 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.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: translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 66.77 kB / 447.3 MB, free: 44.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09485, allocations: 56.42 MB / 0.4919 GB, free: 18.37 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002729/0.09758, allocations: 1.871 MB / 0.4937 GB, free: 16.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.1007, allocations: 1.92 MB / 0.4956 GB, free: 15.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.1011, allocations: 10.31 kB / 0.4956 GB, free: 15.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1014, allocations: 114.4 kB / 0.4957 GB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.1017, allocations: 138 kB / 0.4958 GB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.1036, allocations: 0.9028 MB / 0.4967 GB, free: 14.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.1048, allocations: 1.319 MB / 0.498 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.105, allocations: 99.28 kB / 0.4981 GB, free: 13.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.1055, allocations: 0.5295 MB / 0.4986 GB, free: 13.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.1059, allocations: 373.3 kB / 0.499 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.106, allocations: 90.72 kB / 0.499 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008032/0.1068, allocations: 0.5389 MB / 0.4996 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.1069, allocations: 160.6 kB / 0.4997 GB, free: 12.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.1073, allocations: 382.4 kB / 0.5001 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.1086, allocations: 1.191 MB / 0.5013 GB, free: 11.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1086, allocations: 0 / 0.5013 GB, free: 11.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1086, allocations: 0 / 0.5013 GB, free: 11.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1086, allocations: 0 / 0.5013 GB, free: 11.55 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001577/0.1102, allocations: 1.299 MB / 0.5025 GB, free: 10.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1103, allocations: 13.89 kB / 0.5025 GB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.1106, allocations: 94.55 kB / 0.5026 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.1111, allocations: 439.2 kB / 0.503 GB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.503e-05/0.1112, allocations: 78.11 kB / 0.5031 GB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.1113, allocations: 79.98 kB / 0.5032 GB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.1128, allocations: 1.322 MB / 0.5045 GB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1129, allocations: 3.938 kB / 0.5045 GB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.484e-05/0.1129, allocations: 39.97 kB / 0.5045 GB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.622e-05/0.113, allocations: 56.95 kB / 0.5046 GB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.1142, allocations: 0.8976 MB / 0.5055 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/0.1171, allocations: 3.314 MB / 0.5087 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008932/0.118, allocations: 0.6616 MB / 0.5093 GB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.1187, allocations: 0.5725 MB / 0.5099 GB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.754e-05/0.1187, allocations: 81.11 kB / 0.51 GB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.1198, allocations: 0.8994 MB / 0.5109 GB, free: 1.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.555e-06/0.1198, allocations: 0 / 0.5109 GB, free: 1.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003449/0.1233, allocations: 2.546 MB / 0.5133 GB, free: 15.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004343/0.1237, allocations: 0.5598 MB / 0.5139 GB, free: 14.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.1242, allocations: 425.3 kB / 0.5143 GB, free: 14.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.894e-05/0.1243, allocations: 69.69 kB / 0.5144 GB, free: 13.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.1246, allocations: 269 kB / 0.5146 GB, free: 13.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.1248, allocations: 202.5 kB / 0.5148 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.1251, allocations: 226.6 kB / 0.515 GB, free: 13.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1253, allocations: 378.7 kB / 0.5154 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.126, allocations: 438 kB / 0.5158 GB, free: 12.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.1271, allocations: 0.8215 MB / 0.5166 GB, free: 11.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.1304, allocations: 2.529 MB / 0.5191 GB, free: 8.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/0.1304, allocations: 4 kB / 0.5191 GB, free: 8.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002965/0.1333, allocations: 1.842 MB / 0.5209 GB, free: 6.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.1336, allocations: 341 kB / 0.5212 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.1336, allocations: 16.84 kB / 0.5212 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/0.1337, allocations: 16 kB / 0.5212 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.1341, allocations: 123.7 kB / 0.5214 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.614e-05/0.1341, allocations: 31.86 kB / 0.5214 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.1347, allocations: 131.2 kB / 0.5215 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.1348, allocations: 63.92 kB / 0.5216 GB, free: 5.898 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: 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 P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[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.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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.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,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * 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.001202/0.136, allocations: 0.748 MB / 0.5223 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.1362, allocations: 75.67 kB / 0.5224 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.1394, allocations: 1.96 MB / 0.5243 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.1394, allocations: 7.984 kB / 0.5243 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.1394, allocations: 4 kB / 0.5243 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1394, allocations: 0 / 0.5243 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/0.1441, allocations: 2.979 MB / 0.5272 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1441, allocations: 0 / 0.5272 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.1442, allocations: 27.92 kB / 0.5272 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.1442, allocations: 4 kB / 0.5272 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.1443, allocations: 35.98 kB / 0.5273 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.1443, allocations: 3.938 kB / 0.5273 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1443, allocations: 4 kB / 0.5273 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.1479, allocations: 2.334 MB / 0.5296 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1481, allocations: 124.7 kB / 0.5297 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.1483, allocations: 75.97 kB / 0.5298 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.1488, allocations: 87.81 kB / 0.5298 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006912/0.1495, allocations: 335.4 kB / 0.5302 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.1496, allocations: 43.97 kB / 0.5302 GB, free: 12.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.1499, allocations: 255.1 kB / 0.5304 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1499, allocations: 0 / 0.5304 GB, free: 12.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001269/0.1512, allocations: 335.6 kB / 0.5308 GB, free: 12.19 MB / 398.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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * 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.0008487/0.152, allocations: 391.4 kB / 0.5311 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.1549, allocations: 1.918 MB / 0.533 GB, free: 9.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1549, allocations: 4.062 kB / 0.533 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.1566, allocations: 1.23 MB / 0.5342 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.1572, allocations: 105.8 kB / 0.5343 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.1602, allocations: 1.579 MB / 0.5359 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.1608, allocations: 0.9114 MB / 0.5367 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.161, allocations: 51.42 kB / 0.5368 GB, free: 5.727 MB / 398.1 MB Notification: Performance of SimCode: time 1.493e-06/0.161, allocations: 0 / 0.5368 GB, free: 5.727 MB / 398.1 MB Notification: Performance of Templates: time 0.02012/0.1811, allocations: 12.36 MB / 0.5489 GB, free: 9.355 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTDInitialize.cpp:564:62: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_P1_P_activeOut__pre && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTDInitialize.cpp:599:113: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTDInitialize.cpp:599:205: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTD.cpp:160:81: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P1_P_activeOut_) && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.360373192001134] Failed to read output from testmodel.py, exit status != 0: 0.3576510490383953 0.203043715 0.091603079 Calling exit ...