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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 115.2 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 193.2 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07989/0.07989, allocations: 16.96 MB / 320.3 MB, free: 13.12 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.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: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.98 kB / 447.2 MB, free: 45.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.122, allocations: 56.41 MB / 0.4918 GB, free: 18.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.003/0.125, allocations: 1.998 MB / 0.4938 GB, free: 17.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.1276, allocations: 1.566 MB / 0.4953 GB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.1279, allocations: 9.844 kB / 0.4953 GB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.1282, allocations: 129 kB / 0.4955 GB, free: 15.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.1286, allocations: 148.2 kB / 0.4956 GB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1299, allocations: 0.6426 MB / 0.4962 GB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.1311, allocations: 1.251 MB / 0.4974 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.1313, allocations: 110 kB / 0.4976 GB, free: 14.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004964/0.1318, allocations: 0.5069 MB / 0.498 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.1323, allocations: 365.8 kB / 0.4984 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.1324, allocations: 82.41 kB / 0.4985 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007942/0.1332, allocations: 485.8 kB / 0.4989 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1334, allocations: 175.3 kB / 0.4991 GB, free: 13.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.1337, allocations: 381.1 kB / 0.4995 GB, free: 13.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.1349, allocations: 1.126 MB / 0.5006 GB, free: 12.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1349, allocations: 0 / 0.5006 GB, free: 12.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1349, allocations: 0 / 0.5006 GB, free: 12.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1349, allocations: 0 / 0.5006 GB, free: 12.29 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001601/0.1365, allocations: 1.325 MB / 0.5019 GB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1365, allocations: 12.14 kB / 0.5019 GB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006813/0.1372, allocations: 149.6 kB / 0.502 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.1377, allocations: 429.4 kB / 0.5024 GB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.1379, allocations: 142.7 kB / 0.5026 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.138, allocations: 78.52 kB / 0.5026 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.1396, allocations: 1.276 MB / 0.5039 GB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.1396, allocations: 7.938 kB / 0.5039 GB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.189e-05/0.1397, allocations: 39.97 kB / 0.5039 GB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.373e-05/0.1398, allocations: 65.2 kB / 0.504 GB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.1411, allocations: 0.8911 MB / 0.5049 GB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.1441, allocations: 3.016 MB / 0.5078 GB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009783/0.145, allocations: 0.7511 MB / 0.5085 GB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006591/0.1457, allocations: 0.5187 MB / 0.509 GB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.1469, allocations: 2.88 MB / 0.5119 GB, free: 172 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.1482, allocations: 0.7797 MB / 0.5126 GB, free: 15.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.375e-06/0.1482, allocations: 0 / 0.5126 GB, free: 15.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.00402/0.1522, allocations: 2.262 MB / 0.5148 GB, free: 13.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005103/0.1527, allocations: 0.5944 MB / 0.5154 GB, free: 12.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.1533, allocations: 413.3 kB / 0.5158 GB, free: 11.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.975e-05/0.1534, allocations: 61.69 kB / 0.5159 GB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.1536, allocations: 288.8 kB / 0.5161 GB, free: 11.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.1538, allocations: 194.6 kB / 0.5163 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.1542, allocations: 234.8 kB / 0.5166 GB, free: 11.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1544, allocations: 366.8 kB / 0.5169 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007615/0.1552, allocations: 430 kB / 0.5173 GB, free: 10.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.1564, allocations: 0.8028 MB / 0.5181 GB, free: 9.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003755/0.1602, allocations: 2.458 MB / 0.5205 GB, free: 6.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.1602, allocations: 4 kB / 0.5205 GB, free: 6.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003001/0.1632, allocations: 1.812 MB / 0.5223 GB, free: 4.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.1635, allocations: 366.6 kB / 0.5226 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001377/0.1648, allocations: 0.8003 MB / 0.5234 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.119e-05/0.1649, allocations: 20 kB / 0.5234 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.1653, allocations: 127.9 kB / 0.5235 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.114e-05/0.1653, allocations: 27.92 kB / 0.5236 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/0.1659, allocations: 131.3 kB / 0.5237 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.166, allocations: 55.98 kB / 0.5237 GB, free: 3.062 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.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real 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.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.feeding.numtrue,P1.feeding.anytrue,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.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],T1.activation.arcWeightIntIn[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.fireOut[1],$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.001188/0.1672, allocations: 0.7513 MB / 0.5245 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.1674, allocations: 75.61 kB / 0.5246 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.1703, allocations: 1.674 MB / 0.5262 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.1703, allocations: 7.938 kB / 0.5262 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.1703, allocations: 4 kB / 0.5262 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.1703, allocations: 0 / 0.5262 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.1746, allocations: 2.624 MB / 0.5288 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0026/0.1772, allocations: 1.57 MB / 0.5303 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1774, allocations: 39.89 kB / 0.5303 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.1774, allocations: 4 kB / 0.5303 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.1775, allocations: 39.98 kB / 0.5304 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1775, allocations: 4 kB / 0.5304 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1775, allocations: 4 kB / 0.5304 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/0.1822, allocations: 2.824 MB / 0.5331 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.1824, allocations: 132.7 kB / 0.5333 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.1826, allocations: 67.97 kB / 0.5333 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.183, allocations: 59.95 kB / 0.5334 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005779/0.1836, allocations: 311.7 kB / 0.5337 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.1837, allocations: 51.98 kB / 0.5337 GB, free: 8.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003287/0.1841, allocations: 243.2 kB / 0.534 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1841, allocations: 0 / 0.534 GB, free: 8.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00124/0.1853, allocations: 307.6 kB / 0.5343 GB, free: 7.961 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.anytrue,P1.feeding.numtrue,$whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.disMarksInOut,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue) * 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.0008029/0.1861, allocations: 350.9 kB / 0.5346 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003124/0.1892, allocations: 1.91 MB / 0.5365 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.1892, allocations: 0 / 0.5365 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.191, allocations: 1.259 MB / 0.5377 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/0.1917, allocations: 89.53 kB / 0.5378 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.1948, allocations: 1.55 MB / 0.5393 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.1954, allocations: 0.9231 MB / 0.5402 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.1956, allocations: 51.42 kB / 0.5402 GB, free: 1.512 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1956, allocations: 0 / 0.5402 GB, free: 1.512 MB / 398.1 MB Notification: Performance of Templates: time 0.01935/0.2149, allocations: 11.84 MB / 0.5518 GB, free: 5.641 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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.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:764: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:764: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.602080296957865] Failed to read output from testmodel.py, exit status != 0: 0.4521556000690907 0.23766429000000003 0.099866934 Calling exit ...