Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTCfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 111.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001186, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1781/0.1781, allocations: 16.73 MB / 314.6 MB, free: 14.85 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") translateModel(PNlib.Examples.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 65.3 kB / 435.7 MB, free: 37.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08385/0.08587, allocations: 53.48 MB / 489.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.002689/0.08859, allocations: 2.003 MB / 491.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.09124, allocations: 1.682 MB / 492.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.09165, allocations: 7.406 kB / 492.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.09197, allocations: 135.9 kB / 493 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.09245, allocations: 125.4 kB / 493.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.0938, allocations: 0.6984 MB / 493.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.09492, allocations: 1.424 MB / 495.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.09513, allocations: 172.6 kB / 495.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.0956, allocations: 0.5453 MB / 496 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.09604, allocations: 370.2 kB / 496.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.0962, allocations: 92 kB / 496.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.09679, allocations: 0.4954 MB / 496.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.09695, allocations: 163.4 kB / 497.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.09727, allocations: 390.3 kB / 497.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.09834, allocations: 1.199 MB / 498.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.09835, allocations: 0 / 498.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09836, allocations: 4 kB / 498.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.09839, allocations: 7.984 kB / 498.7 MB, free: 1.699 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001252/0.09964, allocations: 1.336 MB / 500 MB, free: 252 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.057e-05/0.09967, allocations: 15.89 kB / 0.4883 GB, free: 236 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005533/0.1002, allocations: 148.4 kB / 0.4884 GB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.1008, allocations: 431.2 kB / 0.4888 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.101, allocations: 154.5 kB / 0.489 GB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1011, allocations: 87.94 kB / 0.4891 GB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.1031, allocations: 1.33 MB / 0.4904 GB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.1032, allocations: 3.938 kB / 0.4904 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.1033, allocations: 43.98 kB / 0.4904 GB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.912e-05/0.1034, allocations: 57.27 kB / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.105, allocations: 0.9379 MB / 0.4914 GB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.1087, allocations: 2.945 MB / 0.4943 GB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.1103, allocations: 1.258 MB / 0.4955 GB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.1117, allocations: 1.134 MB / 0.4966 GB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002353/0.114, allocations: 2.96 MB / 0.4995 GB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.1153, allocations: 0.8052 MB / 0.5003 GB, free: 3.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=70): time 2.194e-06/0.1153, allocations: 0 / 0.5003 GB, free: 3.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=70): time 0.003923/0.1192, allocations: 2.519 MB / 0.5027 GB, free: 440 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003881/0.1196, allocations: 0.552 MB / 0.5033 GB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.1201, allocations: 396.2 kB / 0.5037 GB, free: 15.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.64e-05/0.1202, allocations: 61.7 kB / 0.5037 GB, free: 15.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.1204, allocations: 292.8 kB / 0.504 GB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.1206, allocations: 194.6 kB / 0.5042 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.1209, allocations: 222.6 kB / 0.5044 GB, free: 14.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1211, allocations: 366.8 kB / 0.5047 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.1219, allocations: 478 kB / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.1229, allocations: 0.804 MB / 0.506 GB, free: 12.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.125, allocations: 1.774 MB / 0.5077 GB, free: 10.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.1251, allocations: 4 kB / 0.5077 GB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002925/0.128, allocations: 1.929 MB / 0.5096 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002844/0.1283, allocations: 378.6 kB / 0.51 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001733/0.13, allocations: 1.068 MB / 0.511 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.1304, allocations: 84.8 kB / 0.5111 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.1307, allocations: 107.7 kB / 0.5112 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005367/0.1313, allocations: 0.6266 MB / 0.5118 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.1318, allocations: 139.3 kB / 0.5119 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.846e-05/0.1319, allocations: 60 kB / 0.512 GB, free: 6.176 MB / 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.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: 46 * 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.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition3,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$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.numtrue,P1.delayPassedIn.anytrue,$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.numtrue,P1.disMarksOut.anytrue,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],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.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$PRE.P1.fireOut[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 102 * 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.0009365/0.1329, allocations: 0.7475 MB / 0.5127 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.1331, allocations: 79.67 kB / 0.5128 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.1362, allocations: 1.984 MB / 0.5147 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.1362, allocations: 7.938 kB / 0.5147 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1362, allocations: 3.938 kB / 0.5147 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1362, allocations: 0 / 0.5147 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.1399, allocations: 2.724 MB / 0.5174 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002753/0.1427, allocations: 1.861 MB / 0.5192 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1429, allocations: 31.92 kB / 0.5192 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/0.1431, allocations: 60.75 kB / 0.5193 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.233e-05/0.1432, allocations: 43.97 kB / 0.5193 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004842/0.1437, allocations: 0.607 MB / 0.5199 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1437, allocations: 0 / 0.5199 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.1482, allocations: 3.051 MB / 0.5229 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.1484, allocations: 124.9 kB / 0.523 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.1485, allocations: 75.97 kB / 0.5231 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.1491, allocations: 71.94 kB / 0.5232 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004691/0.1495, allocations: 255.8 kB / 0.5234 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.1496, allocations: 43.98 kB / 0.5235 GB, free: 10.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002678/0.1499, allocations: 235 kB / 0.5237 GB, free: 9.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1499, allocations: 0 / 0.5237 GB, free: 9.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001037/0.151, allocations: 339.5 kB / 0.524 GB, free: 9.453 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.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$cse2[1],$whenCondition3,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.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_) * 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.0007531/0.1517, allocations: 384.5 kB / 0.5244 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.1547, allocations: 2.219 MB / 0.5265 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1548, allocations: 0 / 0.5265 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.1573, allocations: 2.51 MB / 0.529 GB, free: 4.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.1578, allocations: 92.97 kB / 0.5291 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.1606, allocations: 1.611 MB / 0.5307 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.1613, allocations: 0.9299 MB / 0.5316 GB, free: 1.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.1614, allocations: 55.41 kB / 0.5316 GB, free: 1.355 MB / 398.1 MB Notification: Performance of SimCode: time 2.244e-06/0.1614, allocations: 0 / 0.5316 GB, free: 1.355 MB / 398.1 MB Notification: Performance of Templates: time 0.02001/0.1814, allocations: 14.71 MB / 0.546 GB, free: 2.602 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.ConTest.PCtoTCfunction.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop152.cpp:100:244: 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, _system->_P1_P_enableOut_P_arcWeight_, (tmp158 && (!tmp159)), (_system->_P1_P_fireOut_ && (!tmp160)), tmp161); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop152.cpp:100:284: 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, _system->_P1_P_enableOut_P_arcWeight_, (tmp158 && (!tmp159)), (_system->_P1_P_fireOut_ && (!tmp160)), tmp161); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop39.cpp:98:244: 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_), tmp163, tmp164, tmp165, tmp166, tmp167, _system->_P1_P_enableOut_P_arcWeight_, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop39.cpp:98:284: 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_), tmp163, tmp164, tmp165, tmp166, tmp167, _system->_P1_P_enableOut_P_arcWeight_, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionInitialize.cpp:644:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp19); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunction.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.PCtoTCfunction.cpp:1094:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp241); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.88995968317613] Failed to read output from testmodel.py, exit status != 0: 0.1878052579704672 0.20042746900000002 0.099628988 Calling exit ...