Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.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.001477/0.001477, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001644/0.001644, allocations: 222.6 kB / 23 MB, free: 4.91 MB / 14.72 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 1.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.07918/0.07918, allocations: 16.96 MB / 330.1 MB, free: 2.074 MB / 254.1 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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.91 kB / 460.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1019, allocations: 57.64 MB / 0.5064 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003083/0.105, allocations: 1.713 MB / 0.5081 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003451/0.1085, allocations: 1.863 MB / 0.5099 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.1087, allocations: 7.938 kB / 0.5099 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.109, allocations: 115 kB / 0.51 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.1094, allocations: 135.1 kB / 0.5102 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.1114, allocations: 0.9472 MB / 0.5111 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.113, allocations: 1.35 MB / 0.5124 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.1132, allocations: 69.14 kB / 0.5125 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.1138, allocations: 0.5416 MB / 0.513 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005353/0.1143, allocations: 366.2 kB / 0.5133 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1145, allocations: 92 kB / 0.5134 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000988/0.1154, allocations: 0.6046 MB / 0.514 GB, free: 100 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.192/0.3074, allocations: 148.2 kB / 0.5142 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005457/0.308, allocations: 324.9 kB / 0.5145 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.3096, allocations: 1.201 MB / 0.5157 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3096, allocations: 3.938 kB / 0.5157 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3096, allocations: 0.7188 kB / 0.5157 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3096, allocations: 0 / 0.5157 GB, free: 11.11 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001442/0.311, allocations: 1.207 MB / 0.5168 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3111, allocations: 9.875 kB / 0.5168 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.3114, allocations: 98.67 kB / 0.5169 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.3119, allocations: 367.3 kB / 0.5173 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.312, allocations: 115.4 kB / 0.5174 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.3121, allocations: 77.5 kB / 0.5175 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.314, allocations: 1.793 MB / 0.5192 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.314, allocations: 4.828 kB / 0.5192 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/0.3141, allocations: 39.05 kB / 0.5193 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.481e-05/0.3142, allocations: 55.03 kB / 0.5193 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.3159, allocations: 1.245 MB / 0.5205 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.319, allocations: 2.887 MB / 0.5234 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.3203, allocations: 1.011 MB / 0.5243 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.3213, allocations: 0.9107 MB / 0.5252 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.3213, allocations: 7.078 kB / 0.5252 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/0.3228, allocations: 1.261 MB / 0.5265 GB, free: 5.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 3.186e-06/0.3228, allocations: 2.094 kB / 0.5265 GB, free: 5.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003936/0.3268, allocations: 3.343 MB / 0.5297 GB, free: 4.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002218/0.327, allocations: 0.557 MB / 0.5303 GB, free: 3.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.3274, allocations: 382.1 kB / 0.5306 GB, free: 3.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.924e-05/0.3275, allocations: 71 kB / 0.5307 GB, free: 3.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3276, allocations: 274 kB / 0.531 GB, free: 2.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.3278, allocations: 202.4 kB / 0.5312 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.328, allocations: 238.4 kB / 0.5314 GB, free: 2.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.3281, allocations: 368.5 kB / 0.5317 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007034/0.3288, allocations: 0.7466 MB / 0.5325 GB, free: 1.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009065/0.3297, allocations: 1.231 MB / 0.5337 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.3327, allocations: 2.553 MB / 0.5362 GB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/0.3327, allocations: 8 kB / 0.5362 GB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003065/0.3358, allocations: 2.18 MB / 0.5383 GB, free: 13.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.336, allocations: 331.2 kB / 0.5386 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.3361, allocations: 12.31 kB / 0.5386 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/0.3361, allocations: 17.81 kB / 0.5386 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.3365, allocations: 127.8 kB / 0.5388 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/0.3365, allocations: 27.55 kB / 0.5388 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.3371, allocations: 124.1 kB / 0.5389 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.631e-05/0.3372, allocations: 54.17 kB / 0.539 GB, free: 13.39 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001157/0.3383, allocations: 0.7544 MB / 0.5397 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.3385, allocations: 71.12 kB / 0.5398 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/0.3419, allocations: 2.33 MB / 0.542 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.3419, allocations: 5.516 kB / 0.5421 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.342, allocations: 1.922 kB / 0.5421 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.342, allocations: 5.359 kB / 0.5421 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004657/0.3466, allocations: 3.072 MB / 0.5451 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3466, allocations: 3.625 kB / 0.5451 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3467, allocations: 21.31 kB / 0.5451 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3467, allocations: 2.562 kB / 0.5451 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.924e-05/0.3468, allocations: 44.3 kB / 0.5451 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3468, allocations: 1.125 kB / 0.5451 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3468, allocations: 4.562 kB / 0.5451 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/0.3505, allocations: 2.799 MB / 0.5479 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/0.3506, allocations: 48.78 kB / 0.5479 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.3508, allocations: 76.58 kB / 0.548 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.3513, allocations: 72.75 kB / 0.5481 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005207/0.3518, allocations: 327.2 kB / 0.5484 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.3519, allocations: 45.27 kB / 0.5484 GB, free: 8.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.3521, allocations: 215.7 kB / 0.5486 GB, free: 8.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3521, allocations: 0 / 0.5486 GB, free: 8.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001188/0.3533, allocations: 351.8 kB / 0.549 GB, free: 8.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008472/0.3542, allocations: 391.9 kB / 0.5493 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003266/0.3574, allocations: 2.609 MB / 0.5519 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3574, allocations: 0 / 0.5519 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.3593, allocations: 1.567 MB / 0.5534 GB, free: 5.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.3598, allocations: 86.12 kB / 0.5535 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.363, allocations: 1.916 MB / 0.5554 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3633, allocations: 313.6 kB / 0.5557 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3635, allocations: 49.64 kB / 0.5557 GB, free: 3.789 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3635, allocations: 0 / 0.5557 GB, free: 3.789 MB / 398.1 MB Notification: Performance of Templates: time 0.0192/0.3827, allocations: 12.13 MB / 0.5676 GB, free: 9.543 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTD.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -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.PDtoTDCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTDInitialize.cpp:564:62: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_P1_P_activeOut__pre && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTDInitialize.cpp:599:113: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.PDtoTDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTDInitialize.cpp:599:205: error: no matching function for call to object of type 'WrapArray' _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.PDtoTDCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.DisTest.PDtoTD.cpp:160:81: error: invalid argument type 'StatArrayDim1' to unary expression _P1_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P1_P_activeOut_) && (!_functions->_OMC_LIT1))); ^~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.DisTest.PDtoTDCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.061521939001977] Failed to read output from testmodel.py, exit status != 0: 0.39178289799019694 0.40677400900000005 0.09409999000000001 Calling exit ...