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.001309/0.001309, allocations: 102.1 kB / 19.7 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.001484/0.001484, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.08074/0.08074, allocations: 16.94 MB / 330.1 MB, free: 2.375 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.002269/0.002269, allocations: 71.89 kB / 461 MB, free: 1.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1129, allocations: 57.62 MB / 0.5065 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.003515/0.1165, allocations: 2.014 MB / 0.5084 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003382/0.1198, allocations: 1.714 MB / 0.5101 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.1202, allocations: 7.938 kB / 0.5101 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.1207, allocations: 134.9 kB / 0.5103 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006386/0.1213, allocations: 162.9 kB / 0.5104 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.1231, allocations: 0.7402 MB / 0.5111 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.1251, allocations: 1.369 MB / 0.5125 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.1254, allocations: 97.14 kB / 0.5126 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008287/0.1262, allocations: 0.557 MB / 0.5131 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007595/0.1269, allocations: 406.2 kB / 0.5135 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.1271, allocations: 91.94 kB / 0.5136 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.1282, allocations: 0.6319 MB / 0.5142 GB, free: 180 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.218/0.3462, allocations: 184.8 kB / 0.5144 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006477/0.3469, allocations: 390.9 kB / 0.5147 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.3486, allocations: 1.204 MB / 0.5159 GB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3486, allocations: 3.469 kB / 0.5159 GB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3486, allocations: 0 / 0.5159 GB, free: 11.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3486, allocations: 0.875 kB / 0.5159 GB, free: 11.01 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.001596/0.3502, allocations: 1.338 MB / 0.5172 GB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3502, allocations: 10.25 kB / 0.5172 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006444/0.3509, allocations: 143.8 kB / 0.5174 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.3514, allocations: 382.5 kB / 0.5177 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.3516, allocations: 221.6 kB / 0.518 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.3517, allocations: 85.06 kB / 0.518 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.3534, allocations: 1.335 MB / 0.5193 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.3534, allocations: 1.219 kB / 0.5193 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/0.3535, allocations: 36.09 kB / 0.5194 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.972e-05/0.3536, allocations: 65.09 kB / 0.5194 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.3551, allocations: 0.9393 MB / 0.5204 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.3585, allocations: 2.865 MB / 0.5232 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3596, allocations: 0.662 MB / 0.5238 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.3604, allocations: 0.5323 MB / 0.5243 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.3614, allocations: 340.9 kB / 0.5246 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.3625, allocations: 0.7796 MB / 0.5254 GB, free: 7.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/0.3625, allocations: 0 / 0.5254 GB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=70): time 0.003455/0.366, allocations: 2.377 MB / 0.5277 GB, free: 6.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002417/0.3662, allocations: 0.554 MB / 0.5283 GB, free: 5.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.3667, allocations: 410.7 kB / 0.5287 GB, free: 5.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.601e-05/0.3668, allocations: 64.81 kB / 0.5287 GB, free: 5.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.367, allocations: 292.6 kB / 0.529 GB, free: 5.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.3671, allocations: 193.2 kB / 0.5292 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.3675, allocations: 230.9 kB / 0.5294 GB, free: 5.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3676, allocations: 367.2 kB / 0.5298 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/0.3683, allocations: 468.8 kB / 0.5302 GB, free: 4.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/0.3691, allocations: 0.8178 MB / 0.531 GB, free: 4.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.3706, allocations: 1.772 MB / 0.5327 GB, free: 2.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.3706, allocations: 3.406 kB / 0.5327 GB, free: 2.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002664/0.3733, allocations: 1.931 MB / 0.5346 GB, free: 1.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.3735, allocations: 372.9 kB / 0.535 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00146/0.3749, allocations: 1.053 MB / 0.536 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.3753, allocations: 79.58 kB / 0.5361 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.3757, allocations: 114.5 kB / 0.5362 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/0.376, allocations: 0.6084 MB / 0.5368 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.3766, allocations: 138.4 kB / 0.5369 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/0.3767, allocations: 58.06 kB / 0.537 GB, free: 420 kB / 382.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.001045/0.3777, allocations: 0.7652 MB / 0.5377 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.378, allocations: 74.02 kB / 0.5378 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.3811, allocations: 1.933 MB / 0.5397 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.3811, allocations: 4.641 kB / 0.5397 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3811, allocations: 1.375 kB / 0.5397 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3811, allocations: 1.922 kB / 0.5397 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.3849, allocations: 2.656 MB / 0.5423 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002706/0.3876, allocations: 1.815 MB / 0.5441 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.3878, allocations: 33.22 kB / 0.5441 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.3879, allocations: 52.02 kB / 0.5441 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.3881, allocations: 41.06 kB / 0.5442 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005031/0.3886, allocations: 0.6023 MB / 0.5448 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3886, allocations: 4.766 kB / 0.5448 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/0.3931, allocations: 2.979 MB / 0.5477 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3933, allocations: 55.23 kB / 0.5477 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.3935, allocations: 81.02 kB / 0.5478 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.394, allocations: 69.89 kB / 0.5479 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/0.3945, allocations: 257 kB / 0.5481 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.3946, allocations: 46.56 kB / 0.5482 GB, free: 10.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.3949, allocations: 240.8 kB / 0.5484 GB, free: 10.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3949, allocations: 4 kB / 0.5484 GB, free: 10.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001196/0.3961, allocations: 331.9 kB / 0.5487 GB, free: 10.61 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.0008183/0.3969, allocations: 373.6 kB / 0.5491 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003081/0.4, allocations: 1.992 MB / 0.551 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4, allocations: 3.656 kB / 0.551 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.4016, allocations: 1.293 MB / 0.5523 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.4021, allocations: 97.66 kB / 0.5524 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.4049, allocations: 1.584 MB / 0.5539 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.4055, allocations: 0.9266 MB / 0.5548 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.4057, allocations: 53.28 kB / 0.5549 GB, free: 6.312 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4057, allocations: 3.938 kB / 0.5549 GB, free: 6.309 MB / 398.1 MB Notification: Performance of Templates: time 0.02303/0.4287, allocations: 14.91 MB / 0.5694 GB, free: 8.348 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 -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.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_), tmp153, tmp154, tmp155, tmp156, tmp157, tmp158, (tmp159 && (!tmp160)), (_system->_P1_P_fireOut_ && (!tmp161)), tmp162); ^~~~~~~ ./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_), tmp153, tmp154, tmp155, tmp156, tmp157, tmp158, (tmp159 && (!tmp160)), (_system->_P1_P_fireOut_ && (!tmp161)), tmp162); ^~~~~~~ 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_), tmp164, tmp165, tmp166, tmp167, tmp168, tmp169, (tmp170 && (!tmp171)), (_system->_P1_P_fireOut_ && (!tmp172)), tmp173); ^~~~~~~ ./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_), tmp164, tmp165, tmp166, tmp167, tmp168, tmp169, (tmp170 && (!tmp171)), (_system->_P1_P_fireOut_ && (!tmp172)), tmp173); ^~~~~~~ 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_,(!tmp204),tmp205); ^~~~~~~ ./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),tmp243); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.324763800017536] Failed to read output from testmodel.py, exit status != 0: 0.4386201919987798 0.45393970799999994 0.102057703 Calling exit ...