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.001232/0.001232, allocations: 112.5 kB / 17.08 MB, free: 5.789 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.00124/0.00124, allocations: 191.7 kB / 20.03 MB, free: 2.906 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.328/1.328, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 179] 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.1636/0.1636, allocations: 16.71 MB / 314.6 MB, free: 14.86 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.001837/0.001837, allocations: 73.64 kB / 435.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.08224, allocations: 53.48 MB / 489.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.002475/0.08475, allocations: 1.857 MB / 491.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.08742, allocations: 1.961 MB / 493 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.08765, allocations: 9.094 kB / 493 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.08788, allocations: 110.1 kB / 493.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.08815, allocations: 119.2 kB / 493.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.08947, allocations: 0.9054 MB / 494.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008/0.09028, allocations: 1.42 MB / 495.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.09046, allocations: 161.3 kB / 495.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.09078, allocations: 0.5376 MB / 496.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.09109, allocations: 346.3 kB / 496.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.597e-05/0.09119, allocations: 88 kB / 496.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.09168, allocations: 0.5072 MB / 497.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.09179, allocations: 147.5 kB / 497.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.09205, allocations: 398.3 kB / 497.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007998/0.09286, allocations: 1.184 MB / 498.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.09287, allocations: 0 / 498.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09288, allocations: 0 / 498.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.09289, allocations: 0 / 498.9 MB, free: 1.41 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001151/0.09405, allocations: 1.293 MB / 0.4885 GB, free: 4 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.09411, allocations: 8.391 kB / 0.4885 GB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.09442, allocations: 104.5 kB / 0.4886 GB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.09501, allocations: 428.1 kB / 0.489 GB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.724e-05/0.09512, allocations: 79.02 kB / 0.4891 GB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.09524, allocations: 79.97 kB / 0.4892 GB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.09724, allocations: 1.31 MB / 0.4904 GB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.09728, allocations: 11.94 kB / 0.4904 GB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/0.09738, allocations: 43.92 kB / 0.4905 GB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.429e-05/0.09748, allocations: 52.95 kB / 0.4905 GB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.09894, allocations: 0.882 MB / 0.4914 GB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.1027, allocations: 3.314 MB / 0.4946 GB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.1045, allocations: 1.529 MB / 0.4961 GB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.106, allocations: 1.354 MB / 0.4974 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.203e-05/0.1061, allocations: 81.34 kB / 0.4975 GB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.1075, allocations: 0.9044 MB / 0.4984 GB, free: 5.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 4.418e-06/0.1075, allocations: 3.984 kB / 0.4984 GB, free: 5.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.00392/0.1114, allocations: 2.524 MB / 0.5009 GB, free: 2.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003819/0.1118, allocations: 0.5559 MB / 0.5014 GB, free: 2.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.1123, allocations: 425.3 kB / 0.5018 GB, free: 1.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.382e-05/0.1124, allocations: 69.72 kB / 0.5019 GB, free: 1.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.1126, allocations: 272.9 kB / 0.5022 GB, free: 1.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.1128, allocations: 190.6 kB / 0.5023 GB, free: 1.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/0.1131, allocations: 226.5 kB / 0.5026 GB, free: 1.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1133, allocations: 374.7 kB / 0.5029 GB, free: 0.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/0.114, allocations: 434 kB / 0.5033 GB, free: 252 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.115, allocations: 0.8035 MB / 0.5041 GB, free: 15.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.1181, allocations: 2.502 MB / 0.5066 GB, free: 12.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.1181, allocations: 4 kB / 0.5066 GB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002569/0.1207, allocations: 1.813 MB / 0.5083 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/0.121, allocations: 333 kB / 0.5086 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.121, allocations: 12 kB / 0.5087 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.121, allocations: 16 kB / 0.5087 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.1214, allocations: 123.7 kB / 0.5088 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.1214, allocations: 19.94 kB / 0.5088 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.1219, allocations: 127.5 kB / 0.5089 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.556e-05/0.122, allocations: 59.94 kB / 0.509 GB, free: 9.828 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.0009066/0.1229, allocations: 0.7584 MB / 0.5097 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.1231, allocations: 75.67 kB / 0.5098 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.126, allocations: 1.947 MB / 0.5117 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.126, allocations: 4 kB / 0.5117 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.126, allocations: 0 / 0.5117 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.126, allocations: 0 / 0.5117 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/0.1298, allocations: 2.742 MB / 0.5144 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.1298, allocations: 7.984 kB / 0.5144 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.1299, allocations: 27.92 kB / 0.5144 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1299, allocations: 3.938 kB / 0.5144 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-05/0.13, allocations: 43.97 kB / 0.5145 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.13, allocations: 7.938 kB / 0.5145 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1301, allocations: 0 / 0.5145 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/0.1334, allocations: 2.318 MB / 0.5167 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.1335, allocations: 128.7 kB / 0.5169 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.1337, allocations: 75.97 kB / 0.5169 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.1341, allocations: 71.88 kB / 0.517 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005305/0.1347, allocations: 327.7 kB / 0.5173 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.1348, allocations: 47.97 kB / 0.5174 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.1351, allocations: 259.2 kB / 0.5176 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1351, allocations: 0 / 0.5176 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009585/0.136, allocations: 335.5 kB / 0.5179 GB, free: 396 kB / 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: 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.0007857/0.1368, allocations: 376.3 kB / 0.5183 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002758/0.1396, allocations: 2.05 MB / 0.5203 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1396, allocations: 0 / 0.5203 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002928/0.1425, allocations: 3.054 MB / 0.5233 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.1432, allocations: 118.8 kB / 0.5234 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.1461, allocations: 1.575 MB / 0.5249 GB, free: 8.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.1467, allocations: 0.9036 MB / 0.5258 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.1469, allocations: 51.42 kB / 0.5258 GB, free: 7.992 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1469, allocations: 0 / 0.5258 GB, free: 7.992 MB / 398.1 MB Notification: Performance of Templates: time 0.01867/0.1656, allocations: 12.12 MB / 0.5377 GB, free: 11.86 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: 3.844093299936503] Failed to read output from testmodel.py, exit status != 0: 0.17183531005866826 0.184959947 0.089685103 Calling exit ...