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.001741/0.001741, allocations: 116.7 kB / 17.13 MB, free: 5.758 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.002056/0.002056, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.511/1.511, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] 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.07788/0.07788, allocations: 16.96 MB / 320.3 MB, free: 13.15 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.001969/0.001969, allocations: 63.73 kB / 447.2 MB, free: 45.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1119, allocations: 56.42 MB / 0.4918 GB, free: 18.76 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.002968/0.1149, allocations: 2.018 MB / 0.4938 GB, free: 17.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.1178, allocations: 1.695 MB / 0.4955 GB, free: 15.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.1181, allocations: 7.625 kB / 0.4955 GB, free: 15.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.1185, allocations: 133.7 kB / 0.4956 GB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.1189, allocations: 158.6 kB / 0.4958 GB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.1205, allocations: 0.6938 MB / 0.4964 GB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.1218, allocations: 1.324 MB / 0.4977 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.122, allocations: 114.5 kB / 0.4978 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004812/0.1225, allocations: 0.5437 MB / 0.4984 GB, free: 13.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/0.1229, allocations: 388.4 kB / 0.4987 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.1231, allocations: 88.97 kB / 0.4988 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/0.124, allocations: 0.5271 MB / 0.4993 GB, free: 13.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.1242, allocations: 185.7 kB / 0.4995 GB, free: 13.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004293/0.1246, allocations: 397.5 kB / 0.4999 GB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.126, allocations: 1.198 MB / 0.5011 GB, free: 12.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.126, allocations: 4 kB / 0.5011 GB, free: 12.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.126, allocations: 0 / 0.5011 GB, free: 12.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.126, allocations: 0 / 0.5011 GB, free: 12.04 MB / 366.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.001667/0.1276, allocations: 1.343 MB / 0.5024 GB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1277, allocations: 13.55 kB / 0.5024 GB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006676/0.1284, allocations: 148.4 kB / 0.5025 GB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.1289, allocations: 431.2 kB / 0.5029 GB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.129, allocations: 150.5 kB / 0.5031 GB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1291, allocations: 91.88 kB / 0.5032 GB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.1308, allocations: 1.336 MB / 0.5045 GB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1308, allocations: 0 / 0.5045 GB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.1309, allocations: 39.98 kB / 0.5045 GB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.184e-05/0.131, allocations: 61.2 kB / 0.5046 GB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.1323, allocations: 0.9419 MB / 0.5055 GB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.1352, allocations: 2.945 MB / 0.5084 GB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000953/0.1361, allocations: 0.6738 MB / 0.509 GB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/0.1368, allocations: 0.5532 MB / 0.5096 GB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/0.1383, allocations: 2.96 MB / 0.5125 GB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.1396, allocations: 0.8052 MB / 0.5132 GB, free: 14.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 2.424e-06/0.1396, allocations: 0 / 0.5132 GB, free: 14.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=70): time 0.004243/0.1438, allocations: 2.523 MB / 0.5157 GB, free: 12.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004419/0.1443, allocations: 0.5598 MB / 0.5163 GB, free: 11.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.1448, allocations: 392.2 kB / 0.5166 GB, free: 11.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.1449, allocations: 65.72 kB / 0.5167 GB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.1452, allocations: 280.8 kB / 0.517 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.1454, allocations: 198.6 kB / 0.5172 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/0.1458, allocations: 226.6 kB / 0.5174 GB, free: 10.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.146, allocations: 366.8 kB / 0.5177 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.1468, allocations: 470 kB / 0.5182 GB, free: 9.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.1479, allocations: 0.804 MB / 0.519 GB, free: 8.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.1504, allocations: 1.781 MB / 0.5207 GB, free: 6.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.1505, allocations: 4 kB / 0.5207 GB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003513/0.154, allocations: 1.934 MB / 0.5226 GB, free: 4.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003691/0.1543, allocations: 374.6 kB / 0.5229 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001993/0.1563, allocations: 1.068 MB / 0.524 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.1567, allocations: 76.8 kB / 0.5241 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.1571, allocations: 123.8 kB / 0.5242 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005805/0.1577, allocations: 0.6148 MB / 0.5248 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000667/0.1584, allocations: 139.2 kB / 0.5249 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.1585, allocations: 59.97 kB / 0.525 GB, free: 1.945 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.001177/0.1597, allocations: 0.7576 MB / 0.5257 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.1599, allocations: 75.67 kB / 0.5258 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/0.1636, allocations: 1.984 MB / 0.5277 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.1636, allocations: 7.938 kB / 0.5277 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.1637, allocations: 4 kB / 0.5277 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.1637, allocations: 7.984 kB / 0.5277 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/0.1683, allocations: 2.716 MB / 0.5304 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003091/0.1714, allocations: 1.857 MB / 0.5322 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.1716, allocations: 27.98 kB / 0.5322 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002281/0.1718, allocations: 72.69 kB / 0.5323 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.1719, allocations: 43.97 kB / 0.5323 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006205/0.1726, allocations: 0.6031 MB / 0.5329 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1726, allocations: 0 / 0.5329 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005238/0.1778, allocations: 3.052 MB / 0.5359 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.178, allocations: 124.7 kB / 0.536 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.1782, allocations: 75.97 kB / 0.5361 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.1787, allocations: 72 kB / 0.5362 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004864/0.1792, allocations: 255.8 kB / 0.5364 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.1793, allocations: 47.92 kB / 0.5365 GB, free: 5.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.1796, allocations: 231 kB / 0.5367 GB, free: 5.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1796, allocations: 0 / 0.5367 GB, free: 5.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00121/0.1808, allocations: 339.5 kB / 0.537 GB, free: 5.215 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.0008885/0.1817, allocations: 380.4 kB / 0.5374 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003404/0.1851, allocations: 2.012 MB / 0.5393 GB, free: 2.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.1851, allocations: 4.875 kB / 0.5393 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.187, allocations: 1.313 MB / 0.5406 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.1876, allocations: 97.38 kB / 0.5407 GB, free: 1.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.1906, allocations: 1.613 MB / 0.5423 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.1913, allocations: 0.9261 MB / 0.5432 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.1915, allocations: 55.41 kB / 0.5432 GB, free: 14.52 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1915, allocations: 0 / 0.5432 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Templates: time 0.02299/0.2145, allocations: 14.89 MB / 0.5578 GB, free: 15.59 MB / 430.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: 4.385585003998131] Failed to read output from testmodel.py, exit status != 0: 0.4050988079980016 0.23670094300000002 0.10762903800000001 Calling exit ...