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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8369/0.8369, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.04522/0.04522, allocations: 12.65 MB / 272.6 MB, free: 0.7148 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: 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 1.793e-06/1.793e-06, allocations: 0 / 403.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.154e-05, allocations: 10.22 kB / 403.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002006/0.002027, allocations: 1.739 MB / 405.2 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.004125, allocations: 1.886 MB / 407.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.004255, allocations: 7.938 kB / 407.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.004522, allocations: 115.1 kB / 407.3 MB, free: 6.387 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.004803, allocations: 143 kB / 407.4 MB, free: 6.246 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.005818, allocations: 0.965 MB / 408.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008333/0.006651, allocations: 1.345 MB / 409.7 MB, free: 3.934 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.006787, allocations: 61.19 kB / 409.8 MB, free: 3.867 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.007288, allocations: 0.7605 MB / 410.5 MB, free: 3.105 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.007621, allocations: 323 kB / 410.8 MB, free: 2.789 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.881e-05/0.0077, allocations: 88 kB / 410.9 MB, free: 2.703 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/0.008224, allocations: 0.6122 MB / 411.5 MB, free: 2.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.008526, allocations: 147.3 kB / 411.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.008737, allocations: 295.3 kB / 412 MB, free: 1.656 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009344/0.009671, allocations: 1.352 MB / 413.3 MB, free: 308 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.009673, allocations: 0 / 413.3 MB, free: 308 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009674, allocations: 0 / 413.3 MB, free: 308 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.009681, allocations: 0 / 413.3 MB, free: 308 kB / 378.7 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.001138/0.01082, allocations: 1.202 MB / 414.5 MB, free: 15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.01085, allocations: 8.031 kB / 414.5 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.01107, allocations: 100.4 kB / 414.6 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.01148, allocations: 377.6 kB / 415 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.822e-05/0.01157, allocations: 113 kB / 415.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/0.01164, allocations: 72 kB / 415.2 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.01307, allocations: 1.785 MB / 417 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01309, allocations: 7.875 kB / 417 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/0.01315, allocations: 39.97 kB / 417 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-05/0.01321, allocations: 56.95 kB / 417.1 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.01428, allocations: 1.231 MB / 418.3 MB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.0166, allocations: 2.877 MB / 421.2 MB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008603/0.01746, allocations: 0.9995 MB / 422.2 MB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.01816, allocations: 0.9025 MB / 423.1 MB, free: 5.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.01819, allocations: 4.234 kB / 423.1 MB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.0192, allocations: 1.275 MB / 424.4 MB, free: 4.598 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 1.774e-06/0.0192, allocations: 0 / 424.4 MB, free: 4.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=73): time 0.002861/0.02206, allocations: 3.329 MB / 427.7 MB, free: 1.121 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002333/0.02229, allocations: 0.5637 MB / 428.2 MB, free: 468 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.02255, allocations: 380 kB / 428.6 MB, free: 84 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.02261, allocations: 69.69 kB / 428.7 MB, free: 8 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.02277, allocations: 272.8 kB / 429 MB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.02289, allocations: 198.6 kB / 429.1 MB, free: 15.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.02309, allocations: 230.5 kB / 429.4 MB, free: 15.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.02321, allocations: 366.8 kB / 429.7 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/0.02376, allocations: 0.7452 MB / 430.5 MB, free: 14.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007101/0.02447, allocations: 1.218 MB / 431.7 MB, free: 12.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.02638, allocations: 2.519 MB / 434.2 MB, free: 9.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.02639, allocations: 7.938 kB / 434.2 MB, free: 9.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001595/0.02799, allocations: 2.151 MB / 436.4 MB, free: 7.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.02811, allocations: 329 kB / 436.7 MB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.02812, allocations: 12 kB / 436.7 MB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.02814, allocations: 16 kB / 436.7 MB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.02833, allocations: 111.7 kB / 436.8 MB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.02835, allocations: 31.86 kB / 436.9 MB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.02862, allocations: 123.6 kB / 437 MB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.02868, allocations: 60.2 kB / 437 MB, free: 6.805 MB / 410.7 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.0005311/0.02921, allocations: 0.7458 MB / 437.8 MB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/0.02929, allocations: 75.67 kB / 437.9 MB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.03139, allocations: 2.32 MB / 440.2 MB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.0314, allocations: 4 kB / 440.2 MB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.0314, allocations: 0 / 440.2 MB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.03141, allocations: 3.984 kB / 440.2 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.03368, allocations: 2.847 MB / 443 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.03368, allocations: 0 / 443 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.03374, allocations: 27.92 kB / 443.1 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.03374, allocations: 3.938 kB / 443.1 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.0338, allocations: 47.97 kB / 443.1 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.0338, allocations: 0 / 443.1 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.0338, allocations: 4 kB / 443.1 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1365/0.1703, allocations: 2.779 MB / 445.9 MB, free: 80 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.1704, allocations: 46.38 kB / 445.9 MB, free: 80 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.1705, allocations: 74.39 kB / 446 MB, free: 79.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.1707, allocations: 71.83 kB / 446.1 MB, free: 79.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.171, allocations: 337 kB / 446.4 MB, free: 79.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.1711, allocations: 43.14 kB / 446.5 MB, free: 79.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1712, allocations: 208.1 kB / 446.7 MB, free: 79.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1712, allocations: 0 / 446.7 MB, free: 79.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007292/0.1719, allocations: 345.9 kB / 447 MB, free: 79.73 MB / 410.7 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.0004726/0.1724, allocations: 410.6 kB / 447.4 MB, free: 79.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.1739, allocations: 2.597 MB / 450 MB, free: 77.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1739, allocations: 0 / 450 MB, free: 77.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008065/0.1747, allocations: 1.576 MB / 451.6 MB, free: 76.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.175, allocations: 82.97 kB / 451.6 MB, free: 76.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.1766, allocations: 1.902 MB / 453.6 MB, free: 75.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.1767, allocations: 303.6 kB / 453.8 MB, free: 75.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.1768, allocations: 52.53 kB / 453.9 MB, free: 75.57 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1768, allocations: 0 / 453.9 MB, free: 75.57 MB / 410.7 MB Notification: Performance of Templates: time 0.007828/0.1846, allocations: 11.91 MB / 465.8 MB, free: 73.97 MB / 410.7 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 651 | _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' 686 | _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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:722:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 722 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:731:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 731 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ 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' 686 | _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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:722:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 722 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:731:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 731 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ 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 160 | _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: 2.6441046791151166] Failed to read output from testmodel.py, exit status != 0: 0.1897065071389079 0.19625898199999994 0.18504877699999994 Calling exit ...