Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.001214/0.001214, allocations: 115.8 kB / 17.08 MB, free: 5.988 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.001227/0.001227, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.339/1.339, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.1625/0.1625, allocations: 16.71 MB / 314.6 MB, free: 14.85 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.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 72.64 kB / 435.7 MB, free: 37.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07856/0.08042, allocations: 53.48 MB / 489.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002404/0.08286, allocations: 1.981 MB / 491.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.0851, allocations: 1.554 MB / 492.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.08529, allocations: 7.125 kB / 492.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.08555, allocations: 133.2 kB / 492.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.08591, allocations: 146 kB / 493 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.08692, allocations: 0.6488 MB / 493.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008337/0.08777, allocations: 1.455 MB / 495.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.08802, allocations: 267.1 kB / 495.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.08833, allocations: 0.553 MB / 495.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.08867, allocations: 497.8 kB / 496.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.08881, allocations: 132 kB / 496.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.08929, allocations: 0.4955 MB / 497 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.08945, allocations: 235.2 kB / 497.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.08981, allocations: 0.5679 MB / 497.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009906/0.09081, allocations: 1.581 MB / 499.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09082, allocations: 0 / 499.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09083, allocations: 0 / 499.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.09084, allocations: 0 / 499.4 MB, free: 0.8984 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001771/0.09262, allocations: 1.598 MB / 0.4893 GB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.09266, allocations: 15.89 kB / 0.4893 GB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.0937, allocations: 228.2 kB / 0.4895 GB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.09449, allocations: 0.5455 MB / 0.49 GB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.09475, allocations: 260.2 kB / 0.4903 GB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.09494, allocations: 120 kB / 0.4904 GB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.09798, allocations: 1.955 MB / 0.4923 GB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.09801, allocations: 3.984 kB / 0.4923 GB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.09815, allocations: 63.97 kB / 0.4924 GB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/0.09832, allocations: 105.9 kB / 0.4925 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.1008, allocations: 1.413 MB / 0.4938 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.1057, allocations: 3.539 MB / 0.4973 GB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.108, allocations: 1.834 MB / 0.4991 GB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.1099, allocations: 1.69 MB / 0.5007 GB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/0.1123, allocations: 3.046 MB / 0.5037 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001637/0.114, allocations: 1.099 MB / 0.5048 GB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 2.254e-06/0.114, allocations: 0 / 0.5048 GB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.005319/0.1193, allocations: 3.352 MB / 0.5081 GB, free: 10.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004723/0.1198, allocations: 0.6666 MB / 0.5087 GB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/0.1204, allocations: 0.5053 MB / 0.5092 GB, free: 9.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.439e-05/0.1205, allocations: 73.69 kB / 0.5093 GB, free: 9.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.1208, allocations: 396.6 kB / 0.5096 GB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.1211, allocations: 242.2 kB / 0.5099 GB, free: 8.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/0.1215, allocations: 302.8 kB / 0.5102 GB, free: 8.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1217, allocations: 382.8 kB / 0.5105 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.1226, allocations: 0.5537 MB / 0.5111 GB, free: 7.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.1239, allocations: 1.042 MB / 0.5121 GB, free: 6.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003848/0.1278, allocations: 3.131 MB / 0.5152 GB, free: 2.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.1278, allocations: 7.938 kB / 0.5152 GB, free: 2.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003238/0.1311, allocations: 2.238 MB / 0.5173 GB, free: 0.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002724/0.1313, allocations: 382.6 kB / 0.5177 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001771/0.1331, allocations: 1.229 MB / 0.5189 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.1332, allocations: 20 kB / 0.5189 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.1337, allocations: 167.8 kB / 0.5191 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.008e-05/0.1337, allocations: 27.88 kB / 0.5191 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.1343, allocations: 171 kB / 0.5193 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.1344, allocations: 75.98 kB / 0.5194 GB, free: 14.38 MB / 398.1 MB Warning: Assuming fixed start value for the following 21 variables: 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" 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.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($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.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireOut[1],P1.fireIn[1],$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.001163/0.1356, allocations: 0.9005 MB / 0.5202 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.1358, allocations: 103.6 kB / 0.5203 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/0.14, allocations: 2.705 MB / 0.523 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.14, allocations: 11.98 kB / 0.523 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.14, allocations: 0 / 0.523 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.14, allocations: 3.984 kB / 0.523 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005927/0.146, allocations: 4.093 MB / 0.527 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003964/0.1499, allocations: 2.644 MB / 0.5296 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.1501, allocations: 43.91 kB / 0.5296 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.1502, allocations: 8 kB / 0.5296 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.1503, allocations: 51.97 kB / 0.5297 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.1503, allocations: 3.984 kB / 0.5297 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1503, allocations: 0 / 0.5297 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006224/0.1565, allocations: 4.092 MB / 0.5337 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1567, allocations: 140.6 kB / 0.5338 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.1569, allocations: 83.92 kB / 0.5339 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.1575, allocations: 95.97 kB / 0.534 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/0.1581, allocations: 375.6 kB / 0.5343 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.1583, allocations: 63.95 kB / 0.5344 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003468/0.1586, allocations: 291.1 kB / 0.5347 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1586, allocations: 0 / 0.5347 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001178/0.1598, allocations: 403.3 kB / 0.5351 GB, free: 13.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,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.disTAin[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.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.disTAout[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.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.0007015/0.1605, allocations: 376.4 kB / 0.5354 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003477/0.164, allocations: 2.598 MB / 0.5379 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.164, allocations: 0 / 0.5379 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003351/0.1674, allocations: 3.423 MB / 0.5413 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.1679, allocations: 116.2 kB / 0.5414 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.1717, allocations: 2.224 MB / 0.5436 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006878/0.1724, allocations: 1.041 MB / 0.5446 GB, free: 3.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1725, allocations: 55.44 kB / 0.5446 GB, free: 3.785 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1725, allocations: 0 / 0.5446 GB, free: 3.785 MB / 414.1 MB Notification: Performance of Templates: time 0.02067/0.1932, allocations: 15.61 MB / 0.5599 GB, free: 4.098 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybTest.HybLoopAndArcweightCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightInitialize.cpp:1102:167: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp43, tmp44, tmp45, tmp46, tmp47, tmp48, (_P1_P_fireIn_ && (!tmp49)), (_P1_P_fireOut_ && (!tmp50)), tmp51); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightInitialize.cpp:1102:197: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp43, tmp44, tmp45, tmp46, tmp47, tmp48, (_P1_P_fireIn_ && (!tmp49)), (_P1_P_fireOut_ && (!tmp50)), tmp51); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:934:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp198),tmp199); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1375:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp242),tmp243); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1833:184: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp293, tmp294, tmp295, tmp296, tmp297, tmp298, (_P1_P_disMarksOut_P_vec_ && (!tmp299)), (_P1_P_disMarksOut_P_vec_ && (!tmp300)), tmp301); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1833:225: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp293, tmp294, tmp295, tmp296, tmp297, tmp298, (_P1_P_disMarksOut_P_vec_ && (!tmp299)), (_P1_P_disMarksOut_P_vec_ && (!tmp300)), tmp301); ^~~~~~~ 6 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.8978659899439663] Failed to read output from testmodel.py, exit status != 0: 0.19931832212023437 0.21246615200000002 0.119199223 Calling exit ...