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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 106.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08018/0.08018, allocations: 16.96 MB / 322 MB, free: 8.387 MB / 254.1 MB [Timeout remaining time 90] 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=550,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=550,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTT") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.89 kB / 449.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1169, allocations: 56.42 MB / 0.4944 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003498/0.1204, allocations: 1.875 MB / 0.4962 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003696/0.1241, allocations: 1.964 MB / 0.4981 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.1243, allocations: 4 kB / 0.4981 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.1247, allocations: 119 kB / 0.4982 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.1251, allocations: 135.1 kB / 0.4984 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.1271, allocations: 0.9083 MB / 0.4992 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.1287, allocations: 1.318 MB / 0.5005 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.1289, allocations: 98.52 kB / 0.5006 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/0.1295, allocations: 0.5337 MB / 0.5011 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005762/0.1301, allocations: 370.3 kB / 0.5015 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.1303, allocations: 88 kB / 0.5016 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.1311, allocations: 0.5422 MB / 0.5021 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.1313, allocations: 147.3 kB / 0.5023 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004757/0.1318, allocations: 390.3 kB / 0.5026 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.1334, allocations: 1.195 MB / 0.5038 GB, free: 7.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1334, allocations: 4 kB / 0.5038 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1334, allocations: 0 / 0.5038 GB, free: 7.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1334, allocations: 0 / 0.5038 GB, free: 7.469 MB / 382.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.001865/0.1352, allocations: 1.289 MB / 0.5051 GB, free: 6.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1353, allocations: 11.89 kB / 0.5051 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/0.1356, allocations: 96.47 kB / 0.5052 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006577/0.1363, allocations: 432.1 kB / 0.5056 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.1364, allocations: 86.94 kB / 0.5057 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.1365, allocations: 76 kB / 0.5057 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.1387, allocations: 1.31 MB / 0.507 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1387, allocations: 4 kB / 0.507 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.1388, allocations: 39.98 kB / 0.507 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.1389, allocations: 64.83 kB / 0.5071 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.1404, allocations: 0.8782 MB / 0.508 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.269/0.4095, allocations: 3.312 MB / 0.5112 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.4115, allocations: 0.7321 MB / 0.5119 GB, free: 20.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.4129, allocations: 0.5607 MB / 0.5125 GB, free: 20.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.561e-05/0.413, allocations: 81.44 kB / 0.5125 GB, free: 20.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002168/0.4152, allocations: 0.8962 MB / 0.5134 GB, free: 20.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 4.529e-06/0.4152, allocations: 1.281 kB / 0.5134 GB, free: 20.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006299/0.4215, allocations: 2.534 MB / 0.5159 GB, free: 20.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003822/0.4219, allocations: 0.5635 MB / 0.5164 GB, free: 19.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008582/0.4227, allocations: 418.9 kB / 0.5168 GB, free: 19.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.4229, allocations: 66.39 kB / 0.5169 GB, free: 19.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.4232, allocations: 267 kB / 0.5172 GB, free: 19.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003208/0.4236, allocations: 194.3 kB / 0.5173 GB, free: 19.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005707/0.4241, allocations: 226.1 kB / 0.5176 GB, free: 19.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4243, allocations: 376.1 kB / 0.5179 GB, free: 18.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.4255, allocations: 438.3 kB / 0.5183 GB, free: 18.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.4271, allocations: 0.7909 MB / 0.5191 GB, free: 17.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004908/0.432, allocations: 2.508 MB / 0.5216 GB, free: 16.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.583e-05/0.4321, allocations: 6.062 kB / 0.5216 GB, free: 16.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004695/0.4368, allocations: 1.821 MB / 0.5233 GB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000259/0.437, allocations: 338.5 kB / 0.5237 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-05/0.4371, allocations: 11 kB / 0.5237 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.566e-05/0.4372, allocations: 16.5 kB / 0.5237 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.4378, allocations: 119.1 kB / 0.5238 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.903e-05/0.4379, allocations: 25.25 kB / 0.5238 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.439, allocations: 132.6 kB / 0.524 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.4391, allocations: 57.53 kB / 0.524 GB, free: 14.92 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.001688/0.4408, allocations: 0.7491 MB / 0.5247 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003727/0.4412, allocations: 81.52 kB / 0.5248 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005165/0.4464, allocations: 1.954 MB / 0.5267 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/0.4464, allocations: 6.312 kB / 0.5267 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.4464, allocations: 1.125 kB / 0.5267 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.4464, allocations: 3.188 kB / 0.5267 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006722/0.4531, allocations: 2.739 MB / 0.5294 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.4532, allocations: 5.438 kB / 0.5294 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.4534, allocations: 25.64 kB / 0.5294 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.4534, allocations: 2.031 kB / 0.5294 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.4535, allocations: 44.48 kB / 0.5295 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/0.4536, allocations: 6.844 kB / 0.5295 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4536, allocations: 0 / 0.5295 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006322/0.4599, allocations: 2.328 MB / 0.5318 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.4601, allocations: 128.4 kB / 0.5319 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/0.4604, allocations: 76.05 kB / 0.532 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009466/0.4614, allocations: 69.94 kB / 0.532 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009791/0.4624, allocations: 328.1 kB / 0.5323 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.4626, allocations: 48.62 kB / 0.5324 GB, free: 10.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004969/0.4631, allocations: 255.7 kB / 0.5326 GB, free: 10.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4631, allocations: 0 / 0.5326 GB, free: 10.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002016/0.4651, allocations: 337.6 kB / 0.533 GB, free: 10.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 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.001364/0.4665, allocations: 380.6 kB / 0.5333 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004524/0.471, allocations: 1.917 MB / 0.5352 GB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.471, allocations: 1.125 kB / 0.5352 GB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.4735, allocations: 1.232 MB / 0.5364 GB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4746, allocations: 117 kB / 0.5365 GB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.4792, allocations: 1.577 MB / 0.538 GB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.4798, allocations: 0.9018 MB / 0.5389 GB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.4801, allocations: 51.94 kB / 0.539 GB, free: 7.074 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4801, allocations: 0 / 0.539 GB, free: 7.074 MB / 382.1 MB Notification: Performance of Templates: time 0.02954/0.5096, allocations: 12.28 MB / 0.551 GB, free: 14.58 MB / 398.1 MB [Timeout remaining time 659] 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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/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 _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/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/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/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/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