Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.00147/0.00147, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.00162/0.00162, allocations: 218.3 kB / 23 MB, free: 4.918 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.0779/0.0779, allocations: 16.95 MB / 330.1 MB, free: 2.086 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.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") [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.001982/0.001982, allocations: 67.89 kB / 460.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1045, allocations: 57.63 MB / 0.5064 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.00305/0.1076, allocations: 1.722 MB / 0.5081 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.111, allocations: 1.859 MB / 0.5099 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1112, allocations: 11.88 kB / 0.5099 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1115, allocations: 119 kB / 0.51 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.1119, allocations: 166.9 kB / 0.5102 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.1138, allocations: 0.9424 MB / 0.5111 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.1153, allocations: 1.423 MB / 0.5125 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.1155, allocations: 111.6 kB / 0.5126 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006197/0.1162, allocations: 0.5844 MB / 0.5132 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.1168, allocations: 0.5173 MB / 0.5137 GB, free: 424 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.117, allocations: 136 kB / 0.5138 GB, free: 288 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1899/0.307, allocations: 0.923 MB / 0.5147 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.3074, allocations: 216.3 kB / 0.5149 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007/0.3081, allocations: 497.1 kB / 0.5154 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.3101, allocations: 1.833 MB / 0.5172 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3101, allocations: 0 / 0.5172 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3101, allocations: 0 / 0.5172 GB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.3101, allocations: 0.8125 kB / 0.5172 GB, free: 11.03 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001866/0.312, allocations: 1.49 MB / 0.5187 GB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.312, allocations: 15.53 kB / 0.5187 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.3124, allocations: 135 kB / 0.5188 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.3132, allocations: 498.7 kB / 0.5193 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.3133, allocations: 193.6 kB / 0.5195 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.3135, allocations: 115.9 kB / 0.5196 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/0.3168, allocations: 2.658 MB / 0.5222 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.3168, allocations: 5.906 kB / 0.5222 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.317, allocations: 57.94 kB / 0.5222 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.3171, allocations: 94.02 kB / 0.5223 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.3195, allocations: 1.829 MB / 0.5241 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.3239, allocations: 3.739 MB / 0.5277 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.3259, allocations: 1.423 MB / 0.5291 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.3275, allocations: 1.324 MB / 0.5304 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.77e-05/0.3275, allocations: 7.391 kB / 0.5304 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002019/0.3295, allocations: 1.744 MB / 0.5321 GB, free: 3.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.116e-06/0.3296, allocations: 1.078 kB / 0.5321 GB, free: 3.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.006146/0.3357, allocations: 4.923 MB / 0.537 GB, free: 1.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000296/0.336, allocations: 0.6521 MB / 0.5376 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.3365, allocations: 476.5 kB / 0.538 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-05/0.3366, allocations: 79.06 kB / 0.5381 GB, free: 200 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.3368, allocations: 368.8 kB / 0.5385 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.3371, allocations: 241.3 kB / 0.5387 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/0.3374, allocations: 308.8 kB / 0.539 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3376, allocations: 321.8 kB / 0.5393 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.3387, allocations: 0.8793 MB / 0.5402 GB, free: 14.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.3402, allocations: 1.54 MB / 0.5417 GB, free: 13.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00384/0.344, allocations: 3.212 MB / 0.5448 GB, free: 11.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/0.3441, allocations: 4.25 kB / 0.5448 GB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003481/0.3475, allocations: 2.589 MB / 0.5473 GB, free: 9.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002596/0.3478, allocations: 342.4 kB / 0.5477 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.3478, allocations: 13.84 kB / 0.5477 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.719e-05/0.3479, allocations: 21.55 kB / 0.5477 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.3483, allocations: 159.1 kB / 0.5478 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/0.3483, allocations: 31.47 kB / 0.5479 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.349, allocations: 160.6 kB / 0.548 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.3491, allocations: 75.95 kB / 0.5481 GB, free: 9.375 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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 P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer 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 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$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,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[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.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],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.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[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,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * 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.001395/0.3505, allocations: 0.8874 MB / 0.549 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.3507, allocations: 94.16 kB / 0.5491 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005413/0.3561, allocations: 3.891 MB / 0.5529 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.3562, allocations: 10.72 kB / 0.5529 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3562, allocations: 0 / 0.5529 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3562, allocations: 0 / 0.5529 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007145/0.3633, allocations: 4.928 MB / 0.5577 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.3633, allocations: 3.188 kB / 0.5577 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.3635, allocations: 37.52 kB / 0.5577 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.3635, allocations: 5.5 kB / 0.5577 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.3636, allocations: 53.62 kB / 0.5578 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3636, allocations: 2.531 kB / 0.5578 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3636, allocations: 0 / 0.5578 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005611/0.3692, allocations: 4.033 MB / 0.5617 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3693, allocations: 63.44 kB / 0.5618 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.3696, allocations: 99.91 kB / 0.5619 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/0.3702, allocations: 103.8 kB / 0.562 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006273/0.3709, allocations: 378.7 kB / 0.5623 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.371, allocations: 59.97 kB / 0.5624 GB, free: 15.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003025/0.3713, allocations: 263.1 kB / 0.5626 GB, free: 14.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3713, allocations: 0 / 0.5626 GB, free: 14.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001538/0.3728, allocations: 499.1 kB / 0.5631 GB, free: 14.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$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.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * 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.0009723/0.3738, allocations: 483 kB / 0.5636 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004251/0.3781, allocations: 3.213 MB / 0.5667 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3781, allocations: 0 / 0.5667 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.3806, allocations: 2.02 MB / 0.5687 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.3812, allocations: 107.7 kB / 0.5688 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.3854, allocations: 2.669 MB / 0.5714 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.3859, allocations: 412.4 kB / 0.5718 GB, free: 5.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.386, allocations: 59.42 kB / 0.5718 GB, free: 4.996 MB / 414.1 MB Notification: Performance of SimCode: time 9.21e-07/0.386, allocations: 0 / 0.5718 GB, free: 4.996 MB / 414.1 MB Notification: Performance of Templates: time 0.02364/0.4097, allocations: 16.82 MB / 0.5883 GB, free: 4.148 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweightCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightInitialize.cpp:737: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.DisLoopAndArcweightInitialize.cpp:772: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.DisLoopAndArcweightCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightInitialize.cpp:772: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.DisLoopAndArcweightCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.cpp:146: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.DisLoopAndArcweightCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.088907788973302] Failed to read output from testmodel.py, exit status != 0: 0.41847321717068553 0.432059435 0.11902812600000001 Calling exit ...