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.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.001274/0.001274, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 213.2 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.07743/0.07743, allocations: 16.95 MB / 330.1 MB, free: 2.098 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.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: 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.001932/0.001932, allocations: 63.89 kB / 460.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09523, allocations: 57.64 MB / 0.5064 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.003033/0.09826, allocations: 1.83 MB / 0.5082 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.1011, allocations: 1.637 MB / 0.5098 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.1012, allocations: 11.94 kB / 0.5098 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1015, allocations: 138.9 kB / 0.5099 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.102, allocations: 154.9 kB / 0.5101 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1033, allocations: 0.7437 MB / 0.5108 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.1046, allocations: 1.35 MB / 0.5121 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.1048, allocations: 89.16 kB / 0.5122 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.1053, allocations: 0.557 MB / 0.5128 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005039/0.1058, allocations: 386.1 kB / 0.5131 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.1059, allocations: 92 kB / 0.5132 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008494/0.1068, allocations: 0.5928 MB / 0.5138 GB, free: 360 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.107, allocations: 187.2 kB / 0.514 GB, free: 172 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1707/0.2777, allocations: 319.7 kB / 0.5143 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.2792, allocations: 1.214 MB / 0.5155 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2792, allocations: 2.5 kB / 0.5155 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2792, allocations: 0 / 0.5155 GB, free: 11.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2792, allocations: 0 / 0.5155 GB, free: 11.66 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.00143/0.2806, allocations: 1.331 MB / 0.5168 GB, free: 10.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2807, allocations: 10.09 kB / 0.5168 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006017/0.2813, allocations: 143.7 kB / 0.5169 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.2818, allocations: 378 kB / 0.5173 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.2819, allocations: 223.6 kB / 0.5175 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.282, allocations: 90.66 kB / 0.5176 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.2839, allocations: 1.822 MB / 0.5193 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.2839, allocations: 1.875 kB / 0.5193 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.284, allocations: 38.66 kB / 0.5194 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.623e-05/0.2841, allocations: 62.39 kB / 0.5194 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.2857, allocations: 1.303 MB / 0.5207 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.2887, allocations: 2.588 MB / 0.5232 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.29, allocations: 1.04 MB / 0.5243 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009385/0.2909, allocations: 0.9212 MB / 0.5252 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009715/0.2919, allocations: 341.6 kB / 0.5255 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.2931, allocations: 1.191 MB / 0.5266 GB, free: 6.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 2.285e-06/0.2931, allocations: 0 / 0.5266 GB, free: 6.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=70): time 0.003753/0.2969, allocations: 3.175 MB / 0.5297 GB, free: 4.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/0.2971, allocations: 0.5517 MB / 0.5303 GB, free: 3.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.2975, allocations: 369.9 kB / 0.5306 GB, free: 3.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.2975, allocations: 60.31 kB / 0.5307 GB, free: 3.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.2977, allocations: 294.7 kB / 0.531 GB, free: 3.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.2978, allocations: 193.2 kB / 0.5312 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.2981, allocations: 232.6 kB / 0.5314 GB, free: 3.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.2982, allocations: 361.6 kB / 0.5317 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/0.2989, allocations: 0.8212 MB / 0.5325 GB, free: 2.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009157/0.2998, allocations: 1.235 MB / 0.5337 GB, free: 1.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.3014, allocations: 1.795 MB / 0.5355 GB, free: 15.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.3014, allocations: 3.219 kB / 0.5355 GB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002992/0.3044, allocations: 2.302 MB / 0.5377 GB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.3047, allocations: 370.4 kB / 0.5381 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001744/0.3064, allocations: 1.252 MB / 0.5393 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.3068, allocations: 92.59 kB / 0.5394 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.3072, allocations: 113.6 kB / 0.5395 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005471/0.3077, allocations: 0.6222 MB / 0.5401 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.3083, allocations: 129.7 kB / 0.5402 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.3084, allocations: 56.47 kB / 0.5403 GB, free: 12.83 MB / 398.1 MB Warning: Assuming fixed start value for the following 18 variables: P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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.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 (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.001023/0.3094, allocations: 0.7605 MB / 0.541 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.3096, allocations: 72.91 kB / 0.5411 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/0.3129, allocations: 2.275 MB / 0.5433 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.3129, allocations: 4.125 kB / 0.5433 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3129, allocations: 0 / 0.5433 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3129, allocations: 3.906 kB / 0.5433 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/0.3168, allocations: 2.764 MB / 0.546 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002929/0.3197, allocations: 2.161 MB / 0.5482 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3198, allocations: 30.89 kB / 0.5482 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/0.32, allocations: 57.66 kB / 0.5482 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.995e-05/0.3201, allocations: 41.3 kB / 0.5483 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004885/0.3206, allocations: 0.6133 MB / 0.5489 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3206, allocations: 9.078 kB / 0.5489 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/0.3257, allocations: 3.829 MB / 0.5526 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3258, allocations: 55.39 kB / 0.5527 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.326, allocations: 71.86 kB / 0.5527 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.3265, allocations: 75.83 kB / 0.5528 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004503/0.3269, allocations: 262.2 kB / 0.5531 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.327, allocations: 47.23 kB / 0.5531 GB, free: 5.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.3273, allocations: 201.5 kB / 0.5533 GB, free: 5.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3273, allocations: 0 / 0.5533 GB, free: 5.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001204/0.3285, allocations: 337.3 kB / 0.5536 GB, free: 5.262 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.0007576/0.3292, allocations: 381.5 kB / 0.554 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003192/0.3324, allocations: 2.758 MB / 0.5567 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3324, allocations: 0 / 0.5567 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.3342, allocations: 1.687 MB / 0.5583 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3347, allocations: 77.95 kB / 0.5584 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.3375, allocations: 1.98 MB / 0.5603 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.3378, allocations: 335.6 kB / 0.5607 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.338, allocations: 55.75 kB / 0.5607 GB, free: 15.98 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.338, allocations: 0 / 0.5607 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Templates: time 0.02028/0.3583, allocations: 14.79 MB / 0.5752 GB, free: 1.398 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.ConTest.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_), tmp151, tmp152, tmp153, tmp154, tmp155, _system->_P1_P_enableOut_P_arcWeight_, (tmp156 && (!tmp157)), (_system->_P1_P_fireOut_ && (!tmp158)), tmp159); ^~~~~~~ ./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_), tmp151, tmp152, tmp153, tmp154, tmp155, _system->_P1_P_enableOut_P_arcWeight_, (tmp156 && (!tmp157)), (_system->_P1_P_fireOut_ && (!tmp158)), tmp159); ^~~~~~~ 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.PCtoTCfunctionAlgloop40.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_), tmp161, tmp162, tmp163, tmp164, tmp165, _system->_P1_P_enableOut_P_arcWeight_, (tmp166 && (!tmp167)), (_system->_P1_P_fireOut_ && (!tmp168)), tmp169); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionAlgloop40.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_), tmp161, tmp162, tmp163, tmp164, tmp165, _system->_P1_P_enableOut_P_arcWeight_, (tmp166 && (!tmp167)), (_system->_P1_P_fireOut_ && (!tmp168)), tmp169); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionInitialize.cpp:704:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT4),tmp23); ^~~~~~~~~~~~~~~~~~~~~~ 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_,(!tmp200),tmp201); ^~~~~~~ ./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),tmp239); ^~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.PCtoTCfunctionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.9805685179308057] Failed to read output from testmodel.py, exit status != 0: 0.3667426770552993 0.38081277499999994 0.09869538800000001 Calling exit ...