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.001253/0.001253, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001389/0.001389, allocations: 216.4 kB / 22.99 MB, free: 4.945 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.08073/0.08073, allocations: 16.94 MB / 330.1 MB, free: 2.082 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.002412/0.002412, allocations: 67.89 kB / 460.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.104, allocations: 57.62 MB / 0.5064 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003208/0.1072, allocations: 1.816 MB / 0.5082 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002931/0.1101, allocations: 1.517 MB / 0.5097 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.1104, allocations: 11.94 kB / 0.5097 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.1108, allocations: 138.9 kB / 0.5098 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005777/0.1114, allocations: 174.8 kB / 0.51 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.1129, allocations: 0.6855 MB / 0.5106 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.1147, allocations: 1.396 MB / 0.512 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.1149, allocations: 119.7 kB / 0.5121 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007962/0.1157, allocations: 0.5686 MB / 0.5127 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008536/0.1166, allocations: 0.5173 MB / 0.5132 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002976/0.1169, allocations: 132 kB / 0.5133 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.1179, allocations: 0.589 MB / 0.5139 GB, free: 252 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2031/0.321, allocations: 252.2 kB / 0.5141 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00081/0.3218, allocations: 480.2 kB / 0.5146 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.3235, allocations: 1.603 MB / 0.5161 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3235, allocations: 0 / 0.5161 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3235, allocations: 1.438 kB / 0.5161 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.3235, allocations: 0 / 0.5161 GB, free: 10.95 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.001723/0.3253, allocations: 1.605 MB / 0.5177 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3253, allocations: 9.438 kB / 0.5177 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/0.3262, allocations: 231.8 kB / 0.5179 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007304/0.327, allocations: 0.4939 MB / 0.5184 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.3271, allocations: 419.5 kB / 0.5188 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.3273, allocations: 120 kB / 0.5189 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.3304, allocations: 2.591 MB / 0.5215 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.3304, allocations: 5.625 kB / 0.5215 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.3305, allocations: 53.47 kB / 0.5215 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.3307, allocations: 106.2 kB / 0.5216 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.3332, allocations: 1.823 MB / 0.5234 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.3375, allocations: 3.011 MB / 0.5263 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.3392, allocations: 1.366 MB / 0.5277 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.3405, allocations: 1.227 MB / 0.5289 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.3416, allocations: 342.5 kB / 0.5292 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.3433, allocations: 1.505 MB / 0.5307 GB, free: 4.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 2.325e-06/0.3433, allocations: 0 / 0.5307 GB, free: 4.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.0052/0.3485, allocations: 4.191 MB / 0.5348 GB, free: 2.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002525/0.3487, allocations: 0.6569 MB / 0.5354 GB, free: 1.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.3493, allocations: 485.2 kB / 0.5359 GB, free: 1.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/0.3494, allocations: 68.62 kB / 0.5359 GB, free: 1.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.3496, allocations: 406.8 kB / 0.5363 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.3498, allocations: 244 kB / 0.5366 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.3502, allocations: 308.5 kB / 0.5369 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.3503, allocations: 378.5 kB / 0.5372 GB, free: 236 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.3516, allocations: 0.9242 MB / 0.5381 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.3532, allocations: 1.522 MB / 0.5396 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/0.3569, allocations: 3.157 MB / 0.5427 GB, free: 12.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-05/0.3569, allocations: 4.375 kB / 0.5427 GB, free: 12.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003441/0.3604, allocations: 2.625 MB / 0.5453 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002751/0.3606, allocations: 379.9 kB / 0.5456 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0019/0.3625, allocations: 1.495 MB / 0.5471 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.002e-05/0.3626, allocations: 21.91 kB / 0.5471 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.3631, allocations: 164.1 kB / 0.5473 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.099e-05/0.3631, allocations: 31.67 kB / 0.5473 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.3638, allocations: 166 kB / 0.5474 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.3639, allocations: 73.48 kB / 0.5475 GB, free: 9.48 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.001304/0.3652, allocations: 0.8908 MB / 0.5484 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.3654, allocations: 96.77 kB / 0.5485 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004604/0.37, allocations: 3.094 MB / 0.5515 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.37, allocations: 5.125 kB / 0.5515 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3701, allocations: 1.219 kB / 0.5515 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3701, allocations: 5.297 kB / 0.5515 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006191/0.3763, allocations: 4.102 MB / 0.5555 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003971/0.3802, allocations: 3.011 MB / 0.5585 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3804, allocations: 44.03 kB / 0.5585 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3804, allocations: 2.75 kB / 0.5585 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.3805, allocations: 50.22 kB / 0.5585 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3805, allocations: 2.75 kB / 0.5585 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3805, allocations: 1.375 kB / 0.5586 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007037/0.3876, allocations: 4.975 MB / 0.5634 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3877, allocations: 55.5 kB / 0.5635 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.3879, allocations: 87.97 kB / 0.5635 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/0.3885, allocations: 97.48 kB / 0.5636 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006212/0.3891, allocations: 361.2 kB / 0.564 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.3893, allocations: 66.61 kB / 0.564 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002945/0.3896, allocations: 258.5 kB / 0.5643 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3896, allocations: 0 / 0.5643 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00133/0.3909, allocations: 407.2 kB / 0.5647 GB, free: 12.39 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,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.0007417/0.3916, allocations: 387 kB / 0.565 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004069/0.3957, allocations: 3.212 MB / 0.5682 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3957, allocations: 4 kB / 0.5682 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.3982, allocations: 2.023 MB / 0.5702 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.3987, allocations: 101.5 kB / 0.5703 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.4029, allocations: 2.607 MB / 0.5728 GB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.4034, allocations: 457.2 kB / 0.5732 GB, free: 3.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.4035, allocations: 55.42 kB / 0.5733 GB, free: 3.121 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4035, allocations: 0 / 0.5733 GB, free: 3.121 MB / 414.1 MB Notification: Performance of Templates: time 0.0222/0.4257, allocations: 15.71 MB / 0.5886 GB, free: 3.34 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 -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.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_,(!tmp196),tmp197); ^~~~~~~ ./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_,(!tmp240),tmp241); ^~~~~~~ ./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, tmp291, tmp292, tmp293, tmp294, tmp295, tmp296, (_P1_P_disMarksOut_P_vec_ && (!tmp297)), (_P1_P_disMarksOut_P_vec_ && (!tmp298)), tmp299); ^~~~~~~ ./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, tmp291, tmp292, tmp293, tmp294, tmp295, tmp296, (_P1_P_disMarksOut_P_vec_ && (!tmp297)), (_P1_P_disMarksOut_P_vec_ && (!tmp298)), tmp299); ^~~~~~~ 6 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.194259882904589] Failed to read output from testmodel.py, exit status != 0: 0.4343787841498852 0.447738587 0.121263518 Calling exit ...