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.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.001898/0.001898, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002486/0.002486, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.0787/0.0787, allocations: 16.94 MB / 330.1 MB, free: 2.309 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.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: 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.001975/0.001975, allocations: 59.91 kB / 461 MB, free: 1.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 57.63 MB / 0.5065 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003492/0.1079, allocations: 1.995 MB / 0.5084 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.1109, allocations: 1.579 MB / 0.51 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.1111, allocations: 11.94 kB / 0.51 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1115, allocations: 134.9 kB / 0.5101 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004802/0.112, allocations: 178.8 kB / 0.5103 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.1135, allocations: 0.7009 MB / 0.511 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.1151, allocations: 1.4 MB / 0.5123 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.1154, allocations: 111.7 kB / 0.5124 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006798/0.116, allocations: 0.5726 MB / 0.513 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007193/0.1168, allocations: 0.5641 MB / 0.5136 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.117, allocations: 132 kB / 0.5137 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000998/0.118, allocations: 0.6202 MB / 0.5143 GB, free: 88 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.195/0.313, allocations: 245.7 kB / 0.5145 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007236/0.3137, allocations: 0.5609 MB / 0.5151 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.3156, allocations: 1.6 MB / 0.5166 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3156, allocations: 0 / 0.5166 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3156, allocations: 0 / 0.5166 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.3156, allocations: 0.9688 kB / 0.5166 GB, free: 10.89 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001907/0.3175, allocations: 1.623 MB / 0.5182 GB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3176, allocations: 10.5 kB / 0.5182 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009605/0.3185, allocations: 228.7 kB / 0.5184 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/0.3193, allocations: 0.4896 MB / 0.5189 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.3195, allocations: 423.7 kB / 0.5193 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.3196, allocations: 126.6 kB / 0.5194 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.3225, allocations: 1.95 MB / 0.5214 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.3225, allocations: 4.594 kB / 0.5214 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.3227, allocations: 58.62 kB / 0.5214 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/0.3229, allocations: 101.9 kB / 0.5215 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.3253, allocations: 1.421 MB / 0.5229 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005016/0.3303, allocations: 3.488 MB / 0.5263 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.3319, allocations: 0.9532 MB / 0.5272 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.3331, allocations: 0.8129 MB / 0.528 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.3341, allocations: 343.9 kB / 0.5284 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001604/0.3357, allocations: 1.094 MB / 0.5294 GB, free: 6.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 2.314e-06/0.3357, allocations: 2.531 kB / 0.5294 GB, free: 6.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.004982/0.3407, allocations: 3.371 MB / 0.5327 GB, free: 4.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002661/0.341, allocations: 0.6602 MB / 0.5334 GB, free: 4.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.3416, allocations: 0.5026 MB / 0.5339 GB, free: 3.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.3417, allocations: 73.22 kB / 0.5339 GB, free: 3.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.3421, allocations: 401.3 kB / 0.5343 GB, free: 3.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.3423, allocations: 244.5 kB / 0.5345 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005669/0.3429, allocations: 302.5 kB / 0.5348 GB, free: 3.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3431, allocations: 384.2 kB / 0.5352 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.3444, allocations: 0.5577 MB / 0.5357 GB, free: 2.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.3456, allocations: 1.039 MB / 0.5368 GB, free: 1.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.3487, allocations: 3.136 MB / 0.5398 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.3487, allocations: 4.125 kB / 0.5398 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003372/0.3521, allocations: 2.26 MB / 0.542 GB, free: 14.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002888/0.3523, allocations: 377.2 kB / 0.5424 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001818/0.3542, allocations: 1.24 MB / 0.5436 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.962e-05/0.3542, allocations: 21.44 kB / 0.5436 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.3547, allocations: 164.7 kB / 0.5438 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/0.3548, allocations: 33.75 kB / 0.5438 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/0.3555, allocations: 172.1 kB / 0.544 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.3557, allocations: 73.39 kB / 0.544 GB, free: 13.56 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.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.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.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.randNum,$PRE.P1.enableOut.randNum,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.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.randNum,$PRE.P1.enableIn.randNum,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],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.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.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,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],P1.fireIn[1],P1.fireOut[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],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.active,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$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.001407/0.3571, allocations: 0.8986 MB / 0.5449 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.3573, allocations: 104.2 kB / 0.545 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/0.3618, allocations: 2.734 MB / 0.5477 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3618, allocations: 4.375 kB / 0.5477 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3618, allocations: 1.406 kB / 0.5477 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3618, allocations: 6.188 kB / 0.5477 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006416/0.3682, allocations: 4.079 MB / 0.5517 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003797/0.372, allocations: 2.662 MB / 0.5543 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.3722, allocations: 44.92 kB / 0.5543 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3722, allocations: 2.656 kB / 0.5543 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.3723, allocations: 51.72 kB / 0.5544 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3723, allocations: 2.375 kB / 0.5544 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3723, allocations: 1.219 kB / 0.5544 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006387/0.3787, allocations: 4.11 MB / 0.5584 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.3789, allocations: 67.47 kB / 0.5585 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.3792, allocations: 83.98 kB / 0.5585 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/0.3798, allocations: 97.09 kB / 0.5586 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006535/0.3804, allocations: 371 kB / 0.559 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.3806, allocations: 62.17 kB / 0.559 GB, free: 3.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.381, allocations: 295.1 kB / 0.5593 GB, free: 3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.381, allocations: 0 / 0.5593 GB, free: 3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001379/0.3823, allocations: 403.4 kB / 0.5597 GB, free: 2.605 MB / 398.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,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,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.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.enableOut.cumEnablingProb[1],P1.enableOut.remTAout[1],P1.enableOut.disTAout[1],P1.enableOut.TEout[1],P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.enableIn.cumEnablingProb[1],P1.enableIn.remTAin[1],P1.enableIn.disTAin[1],P1.enableIn.TEin[1],P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.disMarksInOut,P1.outTransition[1].tokenInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue) * 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.0008802/0.3832, allocations: 391 kB / 0.5601 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.3869, allocations: 2.404 MB / 0.5624 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3869, allocations: 0 / 0.5624 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.3892, allocations: 1.627 MB / 0.564 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006873/0.3899, allocations: 120.9 kB / 0.5641 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.3943, allocations: 2.225 MB / 0.5663 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008601/0.3952, allocations: 1.042 MB / 0.5673 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.3953, allocations: 59.44 kB / 0.5674 GB, free: 10.55 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3953, allocations: 0 / 0.5674 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Templates: time 0.02634/0.4217, allocations: 15.85 MB / 0.5829 GB, free: 10.66 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/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.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:1092: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:1092: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: 4.329045427963138] Failed to read output from testmodel.py, exit status != 0: 0.43080800492316484 0.44521410299999997 0.12642735300000002 Calling exit ...