Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTC.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.001522/0.001522, 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.001697/0.001697, allocations: 215.2 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.07766/0.07766, allocations: 16.95 MB / 330.1 MB, free: 2.168 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.ConTest.PCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTC") translateModel(PNlib.Examples.ConTest.PCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTC") [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.001988/0.001988, allocations: 71.89 kB / 460.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.0972, allocations: 57.63 MB / 0.5064 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.003105/0.1003, allocations: 1.819 MB / 0.5082 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002938/0.1032, allocations: 1.649 MB / 0.5098 GB, free: 4.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.1034, allocations: 11.94 kB / 0.5098 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1037, allocations: 134.9 kB / 0.5099 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.1042, allocations: 158.9 kB / 0.5101 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.1056, allocations: 0.7358 MB / 0.5108 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.107, allocations: 1.358 MB / 0.5121 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1071, allocations: 89.09 kB / 0.5122 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.1077, allocations: 0.5571 MB / 0.5128 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005224/0.1082, allocations: 382.1 kB / 0.5131 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.1083, allocations: 88 kB / 0.5132 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.1092, allocations: 0.5967 MB / 0.5138 GB, free: 356 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.1094, allocations: 183.2 kB / 0.514 GB, free: 172 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1795/0.2889, allocations: 331 kB / 0.5143 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.2903, allocations: 1.201 MB / 0.5155 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2903, allocations: 0.6875 kB / 0.5155 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2903, allocations: 0 / 0.5155 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.2903, allocations: 1.031 kB / 0.5155 GB, free: 11.11 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001384/0.2917, allocations: 1.328 MB / 0.5168 GB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2918, allocations: 9.375 kB / 0.5168 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/0.2924, allocations: 144.1 kB / 0.5169 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.2929, allocations: 380.5 kB / 0.5173 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.293, allocations: 225.7 kB / 0.5175 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.2931, allocations: 86.36 kB / 0.5176 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.2949, allocations: 1.828 MB / 0.5193 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.2949, allocations: 1.25 kB / 0.5193 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/0.295, allocations: 39.86 kB / 0.5194 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.353e-05/0.2951, allocations: 61.91 kB / 0.5194 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.2968, allocations: 1.305 MB / 0.5207 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.2996, allocations: 2.56 MB / 0.5232 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.3008, allocations: 1.017 MB / 0.5242 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009332/0.3017, allocations: 0.898 MB / 0.5251 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.3027, allocations: 344.1 kB / 0.5254 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.3039, allocations: 1.153 MB / 0.5265 GB, free: 5.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 2.304e-06/0.3039, allocations: 0 / 0.5265 GB, free: 5.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=70): time 0.003661/0.3076, allocations: 3.107 MB / 0.5296 GB, free: 4.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001963/0.3078, allocations: 0.5598 MB / 0.5301 GB, free: 3.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.3081, allocations: 374.5 kB / 0.5305 GB, free: 3.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.3082, allocations: 64.59 kB / 0.5305 GB, free: 3.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3083, allocations: 296.9 kB / 0.5308 GB, free: 3.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.3084, allocations: 192.7 kB / 0.531 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.3087, allocations: 233.2 kB / 0.5312 GB, free: 2.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.3088, allocations: 366.3 kB / 0.5316 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007571/0.3095, allocations: 0.8163 MB / 0.5324 GB, free: 2.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009434/0.3105, allocations: 1.241 MB / 0.5336 GB, free: 1.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.3122, allocations: 1.799 MB / 0.5353 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.3122, allocations: 3.375 kB / 0.5353 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003015/0.3152, allocations: 2.308 MB / 0.5376 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002665/0.3155, allocations: 368.5 kB / 0.538 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001715/0.3172, allocations: 1.235 MB / 0.5392 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.3175, allocations: 75.41 kB / 0.5392 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.3179, allocations: 121.3 kB / 0.5393 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005465/0.3184, allocations: 0.6103 MB / 0.5399 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.319, allocations: 136.6 kB / 0.5401 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.3191, allocations: 57.45 kB / 0.5401 GB, free: 12.7 MB / 398.1 MB Warning: Assuming fixed start value for the following 18 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.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 108 ($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],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition3,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition1,T1.firingCon,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.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.delayPassedOut.vec[1],T1.activation.arcWeightIntIn[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.fireOut[1],$PRE.P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.NoTokens,T1.fire_,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00101/0.3201, allocations: 0.7502 MB / 0.5409 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.3203, allocations: 74.09 kB / 0.5409 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.3235, allocations: 2.228 MB / 0.5431 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.3235, allocations: 4.125 kB / 0.5431 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3235, allocations: 2.25 kB / 0.5431 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3235, allocations: 2.109 kB / 0.5431 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003621/0.3271, allocations: 2.721 MB / 0.5458 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002791/0.3299, allocations: 2.123 MB / 0.5478 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.3301, allocations: 30.02 kB / 0.5479 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.3302, allocations: 52.45 kB / 0.5479 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.153e-05/0.3303, allocations: 41.3 kB / 0.548 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004542/0.3308, allocations: 0.5957 MB / 0.5485 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3308, allocations: 5.094 kB / 0.5486 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004899/0.3357, allocations: 3.756 MB / 0.5522 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.954e-05/0.3358, allocations: 56.09 kB / 0.5523 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.336, allocations: 74.47 kB / 0.5523 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.3364, allocations: 74 kB / 0.5524 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/0.3369, allocations: 262.3 kB / 0.5527 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.802e-05/0.337, allocations: 46.66 kB / 0.5527 GB, free: 5.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.3372, allocations: 204.2 kB / 0.5529 GB, free: 5.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3372, allocations: 4 kB / 0.5529 GB, free: 5.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001143/0.3383, allocations: 340.2 kB / 0.5532 GB, free: 5.305 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 57 ($whenCondition1,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],$cse2[1],$whenCondition3,$whenCondition2,T1.fire_,T1.activation.NoTokens,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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.fireOut[1],P1.disMarksInOut,P1.outTransition[1].tokenInOut) * Number of discrete states: 51 (P1.disMarksInOut,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,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.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000719/0.3391, allocations: 375.2 kB / 0.5536 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003197/0.3422, allocations: 2.736 MB / 0.5563 GB, free: 2.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3423, allocations: 3.984 kB / 0.5563 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.344, allocations: 1.66 MB / 0.5579 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.3444, allocations: 83.52 kB / 0.558 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.3471, allocations: 1.944 MB / 0.5599 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3474, allocations: 332.6 kB / 0.5602 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3476, allocations: 54.73 kB / 0.5602 GB, free: 76 kB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3476, allocations: 0 / 0.5602 GB, free: 76 kB / 398.1 MB Notification: Performance of Templates: time 0.01956/0.3671, allocations: 14.8 MB / 0.5747 GB, free: 1.684 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTC.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTC.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.ConTest.PCtoTCCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop154.cpp:102:213: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp151, tmp152, tmp153, tmp154, tmp155, tmp156, (tmp157 && (!tmp158)), (_system->_P1_P_fireOut_ && (!tmp159)), tmp160); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop154.cpp:102:253: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp151, tmp152, tmp153, tmp154, tmp155, tmp156, (tmp157 && (!tmp158)), (_system->_P1_P_fireOut_ && (!tmp159)), tmp160); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop40.cpp:100:213: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp162, tmp163, tmp164, tmp165, tmp166, tmp167, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCAlgloop40.cpp:100:253: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, 0.0, (-_system->_P1_P_conMarkChange_), tmp162, tmp163, tmp164, tmp165, tmp166, tmp167, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCInitialize.cpp:704:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT5),tmp23); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTC.cpp:885:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp202),tmp203); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTC.cpp:1094:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT5),tmp241); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.010523662902415] Failed to read output from testmodel.py, exit status != 0: 0.3757648770697415 0.389179685 0.09594498 Calling exit ...