Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTD.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.001945/0.001945, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001975/0.001975, allocations: 216.8 kB / 23.01 MB, free: 4.605 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.08011/0.08011, allocations: 16.94 MB / 330.1 MB, free: 2.273 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.HybTest.PCtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTD") translateModel(PNlib.Examples.HybTest.PCtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTD") [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.00208/0.00208, allocations: 67.89 kB / 461 MB, free: 1.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1221, allocations: 57.63 MB / 0.5065 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.003368/0.1254, allocations: 1.991 MB / 0.5084 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.1286, allocations: 1.575 MB / 0.51 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.1289, allocations: 11.94 kB / 0.51 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.1293, allocations: 135 kB / 0.5101 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005094/0.1298, allocations: 147 kB / 0.5103 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.1316, allocations: 0.6932 MB / 0.5109 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001739/0.1333, allocations: 1.295 MB / 0.5122 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.1335, allocations: 81.02 kB / 0.5123 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006632/0.1342, allocations: 0.5181 MB / 0.5128 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006187/0.1348, allocations: 394.1 kB / 0.5132 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.1349, allocations: 84 kB / 0.5132 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.136, allocations: 0.5773 MB / 0.5138 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.1362, allocations: 171.3 kB / 0.514 GB, free: 404 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.1366, allocations: 382.2 kB / 0.5143 GB, free: 20 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2194/0.356, allocations: 1.118 MB / 0.5154 GB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.356, allocations: 1.25 kB / 0.5154 GB, free: 11.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.356, allocations: 4.906 kB / 0.5154 GB, free: 11.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3561, allocations: 0 / 0.5154 GB, free: 11.52 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001731/0.3578, allocations: 1.324 MB / 0.5167 GB, free: 10.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3578, allocations: 11.58 kB / 0.5167 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006518/0.3585, allocations: 142.1 kB / 0.5169 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.3591, allocations: 375.2 kB / 0.5172 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.3592, allocations: 221.8 kB / 0.5174 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.3594, allocations: 83.94 kB / 0.5175 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.3611, allocations: 1.272 MB / 0.5188 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.3612, allocations: 1.406 kB / 0.5188 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.3612, allocations: 38.66 kB / 0.5188 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3614, allocations: 62.33 kB / 0.5188 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.363, allocations: 0.8856 MB / 0.5197 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.3669, allocations: 2.876 MB / 0.5225 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.3681, allocations: 0.6268 MB / 0.5231 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000825/0.3689, allocations: 0.4935 MB / 0.5236 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.3699, allocations: 331.6 kB / 0.5239 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.3711, allocations: 0.752 MB / 0.5247 GB, free: 8.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 2.344e-06/0.3711, allocations: 0 / 0.5247 GB, free: 8.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.003452/0.3745, allocations: 2.186 MB / 0.5268 GB, free: 7.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000254/0.3748, allocations: 0.595 MB / 0.5274 GB, free: 6.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.3753, allocations: 424.6 kB / 0.5278 GB, free: 6.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.3754, allocations: 58.64 kB / 0.5278 GB, free: 6.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.3756, allocations: 297.7 kB / 0.5281 GB, free: 6.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.3757, allocations: 196.7 kB / 0.5283 GB, free: 5.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/0.3761, allocations: 228 kB / 0.5285 GB, free: 5.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3762, allocations: 372.9 kB / 0.5289 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007566/0.377, allocations: 423.2 kB / 0.5293 GB, free: 5.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000982/0.3779, allocations: 0.8115 MB / 0.5301 GB, free: 4.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.3806, allocations: 2.466 MB / 0.5325 GB, free: 2.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.3806, allocations: 9.375 kB / 0.5325 GB, free: 2.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002645/0.3832, allocations: 1.822 MB / 0.5343 GB, free: 2.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.3834, allocations: 363.2 kB / 0.5346 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001206/0.3846, allocations: 0.7931 MB / 0.5354 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-05/0.3846, allocations: 20.12 kB / 0.5354 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.3851, allocations: 130.6 kB / 0.5355 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.973e-05/0.3851, allocations: 26.92 kB / 0.5356 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.3857, allocations: 138.5 kB / 0.5357 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.841e-05/0.3858, allocations: 57.09 kB / 0.5358 GB, free: 1.238 MB / 382.1 MB Warning: Assuming fixed start value for the following 21 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 T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean 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 T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 115 ($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],$PRE.P1.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,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,P1.feeding.anytrue,P1.feeding.numtrue,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.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,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],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,T1.active,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001033/0.3868, allocations: 0.7509 MB / 0.5365 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.387, allocations: 77.2 kB / 0.5366 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.3897, allocations: 1.621 MB / 0.5381 GB, free: 0 / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.3897, allocations: 4.734 kB / 0.5382 GB, free: 0 / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3897, allocations: 2.75 kB / 0.5382 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3897, allocations: 3.234 kB / 0.5382 GB, free: 0 / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/0.3942, allocations: 2.529 MB / 0.5406 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002513/0.3967, allocations: 1.543 MB / 0.5421 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.3969, allocations: 27.84 kB / 0.5422 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.135e-05/0.3969, allocations: 4.031 kB / 0.5422 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.397, allocations: 36.97 kB / 0.5422 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.397, allocations: 5.812 kB / 0.5422 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.397, allocations: 1.375 kB / 0.5422 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004494/0.4015, allocations: 2.746 MB / 0.5449 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.4017, allocations: 57.11 kB / 0.5449 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.4019, allocations: 68.27 kB / 0.545 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.4023, allocations: 71.12 kB / 0.5451 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005375/0.4028, allocations: 307.2 kB / 0.5454 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.403, allocations: 47.67 kB / 0.5454 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003123/0.4033, allocations: 252.5 kB / 0.5457 GB, free: 12.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4033, allocations: 0 / 0.5457 GB, free: 12.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001313/0.4046, allocations: 314.7 kB / 0.546 GB, free: 12.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.feeding.numtrue,P1.feeding.anytrue,$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],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.inPlaces[1].tokenInOut,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],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.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue) * Number of discrete states: 49 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksIn.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.disMarksOut.numtrue,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,P1.feeding.numtrue,P1.feeding.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007996/0.4054, allocations: 355.7 kB / 0.5463 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002843/0.4082, allocations: 1.89 MB / 0.5481 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4082, allocations: 1.672 kB / 0.5481 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.4099, allocations: 1.236 MB / 0.5493 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.4105, allocations: 84.83 kB / 0.5494 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.4134, allocations: 1.489 MB / 0.5509 GB, free: 9.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.4141, allocations: 0.9303 MB / 0.5518 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.4142, allocations: 51.05 kB / 0.5518 GB, free: 8.57 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4142, allocations: 0 / 0.5518 GB, free: 8.57 MB / 398.1 MB Notification: Performance of Templates: time 0.02114/0.4354, allocations: 11.83 MB / 0.5634 GB, free: 14.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTD.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTD.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.HybTest.PCtoTDCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDInitialize.cpp:756:159: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (tmp31 && (!tmp32)), (_P1_P_fireOut_ && (!tmp33)), tmp34); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDInitialize.cpp:756:189: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (tmp31 && (!tmp32)), (_P1_P_fireOut_ && (!tmp33)), tmp34); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:777:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp165),tmp166); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:1158:166: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (tmp217 && (!tmp218)), (_P1_P_disMarksOut_P_vec_ && (!tmp219)), tmp220); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:1158:207: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (tmp217 && (!tmp218)), (_P1_P_disMarksOut_P_vec_ && (!tmp219)), tmp220); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.388938222080469] Failed to read output from testmodel.py, exit status != 0: 0.44561617891304195 0.460806598 0.10154214700000001 Calling exit ...