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.001292/0.001292, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 211.9 kB / 23 MB, free: 4.562 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.08054/0.08054, allocations: 16.94 MB / 330.1 MB, free: 2.301 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.00198/0.00198, allocations: 67.89 kB / 461 MB, free: 1.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1176, allocations: 57.63 MB / 0.5065 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.003431/0.121, allocations: 2.02 MB / 0.5085 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.1242, allocations: 1.7 MB / 0.5101 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.1244, allocations: 11.94 kB / 0.5101 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.1248, allocations: 138.9 kB / 0.5103 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.1253, allocations: 158.9 kB / 0.5104 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.1269, allocations: 0.7463 MB / 0.5111 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.1284, allocations: 1.369 MB / 0.5125 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.1286, allocations: 85.14 kB / 0.5126 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005579/0.1291, allocations: 0.5648 MB / 0.5131 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.1297, allocations: 410.2 kB / 0.5135 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.1299, allocations: 88 kB / 0.5136 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/0.1308, allocations: 0.6319 MB / 0.5142 GB, free: 172 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2275/0.3583, allocations: 182.7 kB / 0.5144 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005912/0.3589, allocations: 393.6 kB / 0.5148 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.3608, allocations: 1.206 MB / 0.5159 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3608, allocations: 0 / 0.5159 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3608, allocations: 0 / 0.5159 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.3608, allocations: 0.9688 kB / 0.5159 GB, free: 11.02 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.001906/0.3628, allocations: 1.34 MB / 0.5172 GB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3628, allocations: 10.97 kB / 0.5172 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006907/0.3635, allocations: 144.5 kB / 0.5174 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.3641, allocations: 378.4 kB / 0.5177 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.3642, allocations: 222.9 kB / 0.518 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.3644, allocations: 84.58 kB / 0.518 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.3665, allocations: 1.337 MB / 0.5193 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.3665, allocations: 3.062 kB / 0.5193 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/0.3666, allocations: 39.06 kB / 0.5194 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.3667, allocations: 59.69 kB / 0.5194 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.3683, allocations: 0.9422 MB / 0.5204 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/0.3721, allocations: 2.89 MB / 0.5232 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.3733, allocations: 0.6772 MB / 0.5238 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000854/0.3741, allocations: 0.5535 MB / 0.5244 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.3752, allocations: 335.1 kB / 0.5247 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.3764, allocations: 0.8046 MB / 0.5255 GB, free: 7.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 2.024e-06/0.3764, allocations: 1.188 kB / 0.5255 GB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=70): time 0.003736/0.3801, allocations: 2.448 MB / 0.5279 GB, free: 6.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/0.3803, allocations: 0.5493 MB / 0.5284 GB, free: 5.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.3808, allocations: 401.8 kB / 0.5288 GB, free: 5.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.854e-05/0.3809, allocations: 65.03 kB / 0.5289 GB, free: 5.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.3811, allocations: 287.8 kB / 0.5291 GB, free: 5.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.3812, allocations: 191.8 kB / 0.5293 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.3815, allocations: 226 kB / 0.5295 GB, free: 5.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3816, allocations: 367.5 kB / 0.5299 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.3823, allocations: 478 kB / 0.5303 GB, free: 4.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/0.3831, allocations: 0.8049 MB / 0.5311 GB, free: 4.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.3847, allocations: 1.771 MB / 0.5329 GB, free: 2.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.3847, allocations: 3.219 kB / 0.5329 GB, free: 2.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002628/0.3873, allocations: 1.932 MB / 0.5348 GB, free: 1.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.3875, allocations: 378.9 kB / 0.5351 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001444/0.3889, allocations: 1.053 MB / 0.5361 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003835/0.3893, allocations: 86.98 kB / 0.5362 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.3897, allocations: 114.8 kB / 0.5363 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003788/0.3901, allocations: 0.6257 MB / 0.5369 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/0.3907, allocations: 133.9 kB / 0.5371 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.3908, allocations: 60.52 kB / 0.5371 GB, free: 408 kB / 382.1 MB Warning: Assuming fixed start value for the following 18 variables: P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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.001132/0.3919, allocations: 0.7569 MB / 0.5379 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.3921, allocations: 71.14 kB / 0.5379 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/0.3954, allocations: 1.987 MB / 0.5399 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.3954, allocations: 5.5 kB / 0.5399 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3954, allocations: 1.172 kB / 0.5399 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.3954, allocations: 8.094 kB / 0.5399 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.3994, allocations: 2.7 MB / 0.5425 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002803/0.4022, allocations: 1.872 MB / 0.5444 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.4024, allocations: 23.36 kB / 0.5444 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002015/0.4026, allocations: 70 kB / 0.5444 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.4027, allocations: 43.67 kB / 0.5445 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004831/0.4032, allocations: 0.6056 MB / 0.5451 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4032, allocations: 0 / 0.5451 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/0.4078, allocations: 3.051 MB / 0.5481 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.4079, allocations: 55.45 kB / 0.5481 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.4081, allocations: 73.62 kB / 0.5482 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.4087, allocations: 80.73 kB / 0.5483 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004935/0.4092, allocations: 257 kB / 0.5485 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.4093, allocations: 47.7 kB / 0.5485 GB, free: 10.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.4096, allocations: 237.6 kB / 0.5488 GB, free: 10.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4096, allocations: 0 / 0.5488 GB, free: 10.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00128/0.4109, allocations: 332.4 kB / 0.5491 GB, free: 10.47 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.0009116/0.4118, allocations: 376.7 kB / 0.5495 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003054/0.4149, allocations: 2.022 MB / 0.5514 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4149, allocations: 0.8125 kB / 0.5514 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.4165, allocations: 1.32 MB / 0.5527 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.4171, allocations: 86.22 kB / 0.5528 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.42, allocations: 1.61 MB / 0.5544 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/0.4207, allocations: 0.9285 MB / 0.5553 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.4209, allocations: 60.22 kB / 0.5553 GB, free: 6.121 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4209, allocations: 0 / 0.5553 GB, free: 6.121 MB / 398.1 MB Notification: Performance of Templates: time 0.02432/0.4452, allocations: 14.9 MB / 0.5699 GB, free: 7.922 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/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_), 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.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_), tmp163, tmp164, tmp165, tmp166, tmp167, _system->_P1_P_enableOut_P_arcWeight_, (tmp168 && (!tmp169)), (_system->_P1_P_fireOut_ && (!tmp170)), tmp171); ^~~~~~~ ./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_), 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: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_,(!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.3281640419736505] Failed to read output from testmodel.py, exit status != 0: 0.4544884101487696 0.46998259 0.105942881 Calling exit ...