Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.001586/0.001586, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.002013/0.002013, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.523/1.523, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.07995/0.07995, allocations: 16.96 MB / 320.3 MB, free: 13.13 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.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") translateModel(PNlib.Examples.DisTest.PDtoTT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 65.89 kB / 447.3 MB, free: 44.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1174, allocations: 56.42 MB / 0.4919 GB, free: 18.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003534/0.1209, allocations: 1.875 MB / 0.4937 GB, free: 16.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004145/0.1251, allocations: 1.969 MB / 0.4956 GB, free: 15.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/0.1255, allocations: 9.812 kB / 0.4956 GB, free: 15.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.1259, allocations: 114.2 kB / 0.4957 GB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.1264, allocations: 138.8 kB / 0.4959 GB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.129, allocations: 0.9049 MB / 0.4968 GB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.1307, allocations: 1.323 MB / 0.4981 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.1309, allocations: 91.98 kB / 0.4981 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.1314, allocations: 0.5335 MB / 0.4987 GB, free: 13.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005831/0.132, allocations: 367 kB / 0.499 GB, free: 13.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.1322, allocations: 94.12 kB / 0.4991 GB, free: 13.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.1332, allocations: 0.541 MB / 0.4996 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.1334, allocations: 146.6 kB / 0.4998 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004521/0.1339, allocations: 394.4 kB / 0.5001 GB, free: 12.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.1354, allocations: 1.178 MB / 0.5013 GB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1354, allocations: 0 / 0.5013 GB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1355, allocations: 0 / 0.5013 GB, free: 11.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1355, allocations: 0 / 0.5013 GB, free: 11.59 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002013/0.1375, allocations: 1.298 MB / 0.5026 GB, free: 10.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1375, allocations: 13.7 kB / 0.5026 GB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004382/0.138, allocations: 107.5 kB / 0.5027 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.1386, allocations: 428.1 kB / 0.5031 GB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1387, allocations: 79.02 kB / 0.5032 GB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.1388, allocations: 75.98 kB / 0.5032 GB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.1412, allocations: 1.32 MB / 0.5045 GB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.1412, allocations: 3.938 kB / 0.5045 GB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.1413, allocations: 39.98 kB / 0.5046 GB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.1414, allocations: 52.95 kB / 0.5046 GB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.1432, allocations: 0.8859 MB / 0.5055 GB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004032/0.1472, allocations: 3.326 MB / 0.5087 GB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.1486, allocations: 0.7218 MB / 0.5094 GB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.1497, allocations: 0.5609 MB / 0.51 GB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/0.1497, allocations: 85.34 kB / 0.5101 GB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.1513, allocations: 0.9007 MB / 0.5109 GB, free: 1.539 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.386e-06/0.1513, allocations: 0 / 0.5109 GB, free: 1.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005348/0.1567, allocations: 2.531 MB / 0.5134 GB, free: 14.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005572/0.1572, allocations: 0.5637 MB / 0.514 GB, free: 14.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007715/0.158, allocations: 421.3 kB / 0.5144 GB, free: 13.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.1582, allocations: 65.69 kB / 0.5144 GB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.1585, allocations: 269 kB / 0.5147 GB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.1588, allocations: 194.6 kB / 0.5149 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005146/0.1593, allocations: 230.5 kB / 0.5151 GB, free: 13.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002753/0.1596, allocations: 370.7 kB / 0.5154 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.1607, allocations: 434 kB / 0.5159 GB, free: 12.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.1623, allocations: 0.7995 MB / 0.5166 GB, free: 11.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/0.167, allocations: 2.506 MB / 0.5191 GB, free: 8.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-05/0.167, allocations: 4 kB / 0.5191 GB, free: 8.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004371/0.1714, allocations: 1.817 MB / 0.5209 GB, free: 6.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003346/0.1718, allocations: 333 kB / 0.5212 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.1718, allocations: 12 kB / 0.5212 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.561e-05/0.1718, allocations: 16 kB / 0.5212 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.1724, allocations: 119.7 kB / 0.5213 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.115e-05/0.1725, allocations: 27.91 kB / 0.5214 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009167/0.1734, allocations: 131.8 kB / 0.5215 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.1735, allocations: 59.94 kB / 0.5215 GB, free: 5.883 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,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.firingTime,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 (130): * Single equations (assignments): 119 * 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.001495/0.175, allocations: 0.7601 MB / 0.5223 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.1753, allocations: 75.67 kB / 0.5223 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004833/0.1801, allocations: 1.947 MB / 0.5243 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/0.1802, allocations: 8 kB / 0.5243 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1802, allocations: 0 / 0.5243 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.1802, allocations: 0 / 0.5243 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006111/0.1863, allocations: 2.749 MB / 0.5269 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.1863, allocations: 0 / 0.5269 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.1865, allocations: 27.92 kB / 0.527 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.1865, allocations: 4 kB / 0.527 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.1866, allocations: 39.97 kB / 0.527 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.1866, allocations: 7.938 kB / 0.527 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1866, allocations: 0 / 0.527 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/0.192, allocations: 2.326 MB / 0.5293 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.1922, allocations: 124.7 kB / 0.5294 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/0.1925, allocations: 75.97 kB / 0.5295 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007699/0.1933, allocations: 75.88 kB / 0.5296 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008741/0.1941, allocations: 339.6 kB / 0.5299 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.1943, allocations: 39.98 kB / 0.5299 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004366/0.1947, allocations: 251.2 kB / 0.5302 GB, free: 12.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1947, allocations: 0 / 0.5302 GB, free: 12.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001781/0.1965, allocations: 339.5 kB / 0.5305 GB, free: 12.43 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: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$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.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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.001163/0.1977, allocations: 389.6 kB / 0.5309 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004153/0.2018, allocations: 1.91 MB / 0.5327 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2018, allocations: 0 / 0.5327 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002505/0.2043, allocations: 1.234 MB / 0.5339 GB, free: 8.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.2054, allocations: 103.2 kB / 0.534 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.2097, allocations: 1.575 MB / 0.5356 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/0.2105, allocations: 0.9075 MB / 0.5364 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.2107, allocations: 55.42 kB / 0.5365 GB, free: 5.984 MB / 398.1 MB Notification: Performance of SimCode: time 1.473e-06/0.2107, allocations: 0 / 0.5365 GB, free: 5.984 MB / 398.1 MB Notification: Performance of Templates: time 0.02794/0.2386, allocations: 12.29 MB / 0.5485 GB, free: 9.688 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTT.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.PDtoTTCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.PDtoTTCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.DisTest.PDtoTTCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTTInitialize.cpp:651: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.PDtoTTInitialize.cpp:686: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.PDtoTTCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTTInitialize.cpp:686: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.PDtoTTCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTT.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.PDtoTTCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.570451041916385] Failed to read output from testmodel.py, exit status != 0: 0.4391247001476586 0.27519811599999994 0.13456472399999994 Calling exit ...