Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTDfunction.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.001258/0.001258, 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.001416/0.001416, allocations: 216 kB / 23.01 MB, free: 4.566 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.08327/0.08327, allocations: 16.95 MB / 330.1 MB, free: 2.293 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.PCtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTDfunction") translateModel(PNlib.Examples.HybTest.PCtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTDfunction") [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.001969/0.001969, allocations: 67.91 kB / 461 MB, free: 1.812 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1156, allocations: 57.63 MB / 0.5065 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.003555/0.1192, allocations: 1.995 MB / 0.5084 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.1224, allocations: 1.583 MB / 0.51 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.1228, allocations: 7.938 kB / 0.51 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.1232, allocations: 131 kB / 0.5101 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005834/0.1238, allocations: 143 kB / 0.5102 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.1255, allocations: 0.6968 MB / 0.5109 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.1272, allocations: 1.295 MB / 0.5122 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.1274, allocations: 77.06 kB / 0.5123 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007478/0.1281, allocations: 0.522 MB / 0.5128 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006776/0.1288, allocations: 390.1 kB / 0.5131 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.129, allocations: 88 kB / 0.5132 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009366/0.1299, allocations: 0.5734 MB / 0.5138 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.1302, allocations: 179.2 kB / 0.514 GB, free: 416 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.1306, allocations: 374.3 kB / 0.5143 GB, free: 40 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2395/0.3702, allocations: 1.126 MB / 0.5154 GB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3702, allocations: 0 / 0.5154 GB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3702, allocations: 0 / 0.5154 GB, free: 11.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.3702, allocations: 4.25 kB / 0.5154 GB, free: 11.54 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.001873/0.3721, allocations: 1.321 MB / 0.5167 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3721, allocations: 9.938 kB / 0.5167 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000699/0.3728, allocations: 143.1 kB / 0.5169 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.3734, allocations: 377 kB / 0.5172 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.3736, allocations: 230.6 kB / 0.5174 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3737, allocations: 79.09 kB / 0.5175 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.3754, allocations: 1.269 MB / 0.5188 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3755, allocations: 3.531 kB / 0.5188 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.3755, allocations: 38.28 kB / 0.5188 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.3757, allocations: 57.52 kB / 0.5188 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.3773, allocations: 0.8967 MB / 0.5197 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/0.3811, allocations: 2.898 MB / 0.5226 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.3823, allocations: 0.6682 MB / 0.5232 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008359/0.3831, allocations: 0.5202 MB / 0.5237 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.3842, allocations: 317.8 kB / 0.524 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.3854, allocations: 0.7828 MB / 0.5248 GB, free: 8.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.685e-06/0.3854, allocations: 0 / 0.5248 GB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.003694/0.3891, allocations: 2.261 MB / 0.527 GB, free: 7.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002519/0.3893, allocations: 0.5986 MB / 0.5276 GB, free: 6.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.3899, allocations: 413 kB / 0.528 GB, free: 6.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.74e-05/0.39, allocations: 63.83 kB / 0.528 GB, free: 6.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.3902, allocations: 286.1 kB / 0.5283 GB, free: 6.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.3903, allocations: 196.8 kB / 0.5285 GB, free: 5.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.3907, allocations: 235.4 kB / 0.5287 GB, free: 5.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3908, allocations: 368.1 kB / 0.5291 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007427/0.3915, allocations: 429.9 kB / 0.5295 GB, free: 5.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009583/0.3925, allocations: 0.8076 MB / 0.5303 GB, free: 4.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002717/0.3952, allocations: 2.462 MB / 0.5327 GB, free: 2.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.3952, allocations: 4.031 kB / 0.5327 GB, free: 2.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002731/0.398, allocations: 1.812 MB / 0.5344 GB, free: 2.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.3981, allocations: 365.2 kB / 0.5348 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001201/0.3993, allocations: 0.802 MB / 0.5356 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.72e-05/0.3994, allocations: 22.2 kB / 0.5356 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.3998, allocations: 131.2 kB / 0.5357 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.448e-05/0.3998, allocations: 26 kB / 0.5357 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.4004, allocations: 138 kB / 0.5359 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4005, allocations: 55.86 kB / 0.5359 GB, free: 1.219 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: 53 * 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 (127): * Single equations (assignments): 115 * 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.001021/0.4016, allocations: 0.7499 MB / 0.5367 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.4018, allocations: 76.19 kB / 0.5367 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.4047, allocations: 1.684 MB / 0.5384 GB, free: 0 / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.4047, allocations: 4.781 kB / 0.5384 GB, free: 0 / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4047, allocations: 1.375 kB / 0.5384 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.4047, allocations: 6.641 kB / 0.5384 GB, free: 0 / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.4094, allocations: 2.602 MB / 0.5409 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00265/0.4121, allocations: 1.58 MB / 0.5425 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.4123, allocations: 35.56 kB / 0.5425 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.4123, allocations: 5.438 kB / 0.5425 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.4124, allocations: 43.86 kB / 0.5426 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.4124, allocations: 1.781 kB / 0.5426 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4124, allocations: 1.156 kB / 0.5426 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/0.417, allocations: 2.833 MB / 0.5453 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.4172, allocations: 50.86 kB / 0.5454 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.4174, allocations: 71.64 kB / 0.5454 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.4178, allocations: 62.47 kB / 0.5455 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005585/0.4184, allocations: 307 kB / 0.5458 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.4185, allocations: 48.31 kB / 0.5458 GB, free: 12.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.4188, allocations: 240.1 kB / 0.5461 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4188, allocations: 0 / 0.5461 GB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001551/0.4204, allocations: 312 kB / 0.5464 GB, free: 12.45 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 (36): * Single equations (assignments): 23 * 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.000856/0.4213, allocations: 361.2 kB / 0.5467 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003049/0.4243, allocations: 1.92 MB / 0.5486 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4243, allocations: 0 / 0.5486 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.426, allocations: 1.258 MB / 0.5498 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.4266, allocations: 89.66 kB / 0.5499 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.4296, allocations: 1.55 MB / 0.5514 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.4302, allocations: 0.9269 MB / 0.5523 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.4304, allocations: 44.02 kB / 0.5524 GB, free: 8.371 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4304, allocations: 0 / 0.5524 GB, free: 8.371 MB / 398.1 MB Notification: Performance of Templates: time 0.02/0.4504, allocations: 11.84 MB / 0.5639 GB, free: 14.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.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.PCtoTDfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionInitialize.cpp:754:182: 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, _P1_P_enableOut_P_arcWeight_, (tmp30 && (!tmp31)), (_P1_P_fireOut_ && (!tmp32)), tmp33); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionInitialize.cpp:754:212: 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, _P1_P_enableOut_P_arcWeight_, (tmp30 && (!tmp31)), (_P1_P_fireOut_ && (!tmp32)), tmp33); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:786:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp164),tmp165); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:1165:188: 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, tmp210, tmp211, tmp212, tmp213, tmp214, _P1_P_enableOut_P_arcWeight_, (tmp215 && (!tmp216)), (_P1_P_disMarksOut_P_vec_ && (!tmp217)), tmp218); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:1165:229: 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, tmp210, tmp211, tmp212, tmp213, tmp214, _P1_P_enableOut_P_arcWeight_, (tmp215 && (!tmp216)), (_P1_P_disMarksOut_P_vec_ && (!tmp217)), tmp218); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.372281220974401] Failed to read output from testmodel.py, exit status != 0: 0.45928296889178455 0.47423990499999996 0.10085253300000001 Calling exit ...