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.0008485/0.0008485, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009456/0.0009456, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8763/0.8763, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.04511/0.04511, allocations: 12.66 MB / 272.6 MB, free: 0.6953 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 403.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.29e-05, allocations: 6.281 kB / 403.5 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.002379/0.002412, allocations: 1.829 MB / 405.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.005, allocations: 1.647 MB / 407 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.005301, allocations: 11.88 kB / 407 MB, free: 6.688 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.005636, allocations: 138.9 kB / 407.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.006122, allocations: 158.9 kB / 407.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.007468, allocations: 0.7437 MB / 408 MB, free: 5.652 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.008587, allocations: 1.365 MB / 409.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.008774, allocations: 73.28 kB / 409.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006868/0.009461, allocations: 0.776 MB / 410.2 MB, free: 3.422 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005361/0.009997, allocations: 338.9 kB / 410.6 MB, free: 3.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.0101, allocations: 88 kB / 410.6 MB, free: 3.004 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007769/0.01087, allocations: 0.5927 MB / 411.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.01105, allocations: 179.2 kB / 411.4 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.01129, allocations: 291.3 kB / 411.7 MB, free: 1.949 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.01267, allocations: 1.352 MB / 413 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.01267, allocations: 0 / 413 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01268, allocations: 0 / 413 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.01269, allocations: 4 kB / 413.1 MB, free: 0.5898 MB / 378.7 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.001529/0.01422, allocations: 1.331 MB / 414.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.01425, allocations: 8.031 kB / 414.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.01468, allocations: 144.5 kB / 414.5 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.01515, allocations: 384.5 kB / 414.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.01529, allocations: 220.1 kB / 415.1 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.513e-05/0.01539, allocations: 88.34 kB / 415.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.01704, allocations: 1.834 MB / 417 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.01706, allocations: 3.938 kB / 417 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/0.01712, allocations: 39.98 kB / 417.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-05/0.01719, allocations: 57.27 kB / 417.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.01845, allocations: 1.301 MB / 418.4 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.0208, allocations: 2.559 MB / 421 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000907/0.0217, allocations: 1.009 MB / 422 MB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006641/0.02237, allocations: 0.9041 MB / 422.9 MB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.02301, allocations: 340 kB / 423.2 MB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008785/0.02389, allocations: 1.16 MB / 424.4 MB, free: 4.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/0.02389, allocations: 0 / 424.4 MB, free: 4.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.002653/0.02655, allocations: 3.107 MB / 427.5 MB, free: 1.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000205/0.02675, allocations: 0.5519 MB / 428.1 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.02705, allocations: 384 kB / 428.4 MB, free: 244 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.02711, allocations: 61.69 kB / 428.5 MB, free: 176 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.02727, allocations: 289 kB / 428.8 MB, free: 15.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.02739, allocations: 198.5 kB / 429 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.02759, allocations: 230.5 kB / 429.2 MB, free: 15.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.02769, allocations: 362.8 kB / 429.6 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.02829, allocations: 0.8171 MB / 430.4 MB, free: 14.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/0.02903, allocations: 1.255 MB / 431.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.03025, allocations: 1.787 MB / 433.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.03026, allocations: 4 kB / 433.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001827/0.03209, allocations: 2.307 MB / 435.7 MB, free: 8.191 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.03224, allocations: 370.6 kB / 436.1 MB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001003/0.03324, allocations: 1.24 MB / 437.3 MB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002787/0.03352, allocations: 77.2 kB / 437.4 MB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.03372, allocations: 123.7 kB / 437.5 MB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000324/0.03404, allocations: 0.6068 MB / 438.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.03437, allocations: 135.2 kB / 438.3 MB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.03443, allocations: 52 kB / 438.3 MB, free: 5.445 MB / 410.7 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.0007747/0.03521, allocations: 0.7589 MB / 439.1 MB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.03535, allocations: 71.66 kB / 439.1 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.03802, allocations: 2.232 MB / 441.4 MB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.03803, allocations: 4 kB / 441.4 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.03804, allocations: 0 / 441.4 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.03805, allocations: 3.984 kB / 441.4 MB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1679/0.206, allocations: 2.715 MB / 444.1 MB, free: 80.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001704/0.2077, allocations: 2.114 MB / 446.2 MB, free: 79.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.2078, allocations: 29.48 kB / 446.2 MB, free: 79.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.2079, allocations: 55.52 kB / 446.3 MB, free: 79.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/0.208, allocations: 40.17 kB / 446.3 MB, free: 79.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000236/0.2082, allocations: 0.5984 MB / 446.9 MB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2082, allocations: 3.203 kB / 446.9 MB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.2109, allocations: 3.762 MB / 450.7 MB, free: 77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.211, allocations: 49.91 kB / 450.7 MB, free: 77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.2111, allocations: 70.44 kB / 450.8 MB, free: 76.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.2113, allocations: 80.44 kB / 450.9 MB, free: 76.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.2116, allocations: 258 kB / 451.1 MB, free: 76.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/0.2117, allocations: 43.95 kB / 451.2 MB, free: 76.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.2118, allocations: 208.2 kB / 451.4 MB, free: 76.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2118, allocations: 3.062 kB / 451.4 MB, free: 76.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008187/0.2126, allocations: 340.6 kB / 451.7 MB, free: 76.75 MB / 410.7 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.0005632/0.2132, allocations: 395.4 kB / 452.1 MB, free: 76.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.215, allocations: 2.739 MB / 454.9 MB, free: 74.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.215, allocations: 6.938 kB / 454.9 MB, free: 74.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008713/0.2158, allocations: 1.653 MB / 456.5 MB, free: 73.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.2162, allocations: 85.92 kB / 456.6 MB, free: 73.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.2179, allocations: 1.924 MB / 458.5 MB, free: 72.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.2181, allocations: 333.5 kB / 458.8 MB, free: 72.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.665e-05/0.2182, allocations: 58.78 kB / 458.9 MB, free: 72.29 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2182, allocations: 1.75 kB / 458.9 MB, free: 72.29 MB / 410.7 MB Notification: Performance of Templates: time 0.01217/0.2304, allocations: 14.63 MB / 473.5 MB, free: 70.5 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/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:225: error: invalid argument type 'StatArrayDim1' to unary expression 102 | _functions->PNlib_Functions_decreasingFactor(0, 1, _system->_P1_P_t__, _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:265: error: invalid argument type 'StatArrayDim1' to unary expression 102 | _functions->PNlib_Functions_decreasingFactor(0, 1, _system->_P1_P_t__, _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:225: error: invalid argument type 'StatArrayDim1' to unary expression 100 | _functions->PNlib_Functions_decreasingFactor(0, 1, _system->_P1_P_t__, _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:265: error: invalid argument type 'StatArrayDim1' to unary expression 100 | _functions->PNlib_Functions_decreasingFactor(0, 1, _system->_P1_P_t__, _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 704 | _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 885 | _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 1094 | _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: 2.7726505221799016] Failed to read output from testmodel.py, exit status != 0: 0.23800838459283113 0.25319598200000004 0.238437786 Calling exit ...