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.0008126/0.0008126, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008388/0.0008388, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8828/0.8828, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.04832/0.04832, allocations: 12.65 MB / 272.6 MB, free: 0.7148 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 403.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.407e-05, allocations: 6.219 kB / 403.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.002118/0.002142, allocations: 1.816 MB / 405.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.004426, allocations: 1.524 MB / 406.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.004705, allocations: 11.94 kB / 406.8 MB, free: 6.809 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.00502, allocations: 131 kB / 407 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.005468, allocations: 150.9 kB / 407.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.006821, allocations: 0.704 MB / 407.8 MB, free: 5.832 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.008007, allocations: 1.291 MB / 409.1 MB, free: 4.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.008207, allocations: 65.27 kB / 409.2 MB, free: 4.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007345/0.008941, allocations: 0.7213 MB / 409.9 MB, free: 3.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000468/0.009409, allocations: 315 kB / 410.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.009513, allocations: 91.94 kB / 410.3 MB, free: 3.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.01018, allocations: 0.542 MB / 410.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.01035, allocations: 175.2 kB / 411 MB, free: 2.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.01057, allocations: 267.3 kB / 411.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.0118, allocations: 1.266 MB / 412.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.0118, allocations: 0 / 412.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.01181, allocations: 0 / 412.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.01182, allocations: 7.938 kB / 412.5 MB, free: 1.094 MB / 378.7 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.001518/0.01334, allocations: 1.308 MB / 413.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.01338, allocations: 12.03 kB / 413.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.01376, allocations: 136.4 kB / 414 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.01421, allocations: 372.7 kB / 414.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.01436, allocations: 227.8 kB / 414.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.092e-05/0.01445, allocations: 79.98 kB / 414.7 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.01605, allocations: 1.753 MB / 416.4 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.01607, allocations: 3.938 kB / 416.4 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/0.01613, allocations: 43.91 kB / 416.5 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.619e-05/0.0162, allocations: 57.27 kB / 416.5 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.01751, allocations: 1.242 MB / 417.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.02006, allocations: 2.555 MB / 420.3 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009733/0.02103, allocations: 0.988 MB / 421.3 MB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006913/0.02173, allocations: 0.8464 MB / 422.1 MB, free: 6.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/0.02236, allocations: 336.1 kB / 422.5 MB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009465/0.02331, allocations: 1.108 MB / 423.6 MB, free: 5.344 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 2.405e-06/0.02331, allocations: 4 kB / 423.6 MB, free: 5.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.002767/0.02608, allocations: 2.892 MB / 426.5 MB, free: 2.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002807/0.02636, allocations: 0.5944 MB / 427.1 MB, free: 1.566 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.02664, allocations: 395.9 kB / 427.5 MB, free: 1.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.0267, allocations: 61.69 kB / 427.5 MB, free: 1.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.02684, allocations: 296.6 kB / 427.8 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.02697, allocations: 194.9 kB / 428 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.0272, allocations: 242.5 kB / 428.2 MB, free: 384 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.02731, allocations: 358.8 kB / 428.6 MB, free: 16 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005784/0.02789, allocations: 0.7663 MB / 429.4 MB, free: 15.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/0.02865, allocations: 1.23 MB / 430.6 MB, free: 13.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.03067, allocations: 2.478 MB / 433.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.03068, allocations: 8 kB / 433.1 MB, free: 10.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001862/0.03254, allocations: 2.171 MB / 435.2 MB, free: 8.555 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.03272, allocations: 362.6 kB / 435.6 MB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008375/0.03356, allocations: 0.9352 MB / 436.5 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.094e-05/0.0336, allocations: 20 kB / 436.5 MB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.03383, allocations: 135.7 kB / 436.7 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.03386, allocations: 19.94 kB / 436.7 MB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.0342, allocations: 139.4 kB / 436.8 MB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.03427, allocations: 60 kB / 436.9 MB, free: 6.781 MB / 410.7 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.0007088/0.03497, allocations: 0.742 MB / 437.6 MB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.0351, allocations: 71.72 kB / 437.7 MB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.03694, allocations: 1.847 MB / 439.6 MB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.03694, allocations: 4 kB / 439.6 MB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.03695, allocations: 4 kB / 439.6 MB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.03696, allocations: 3.984 kB / 439.6 MB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/0.03967, allocations: 2.523 MB / 442.1 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1825/0.2222, allocations: 1.756 MB / 443.8 MB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2223, allocations: 33.27 kB / 443.9 MB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2223, allocations: 3.219 kB / 443.9 MB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.2225, allocations: 41.86 kB / 443.9 MB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.2225, allocations: 3.25 kB / 443.9 MB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2225, allocations: 0 / 443.9 MB, free: 80.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.2253, allocations: 3.499 MB / 447.4 MB, free: 78.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.2254, allocations: 49.02 kB / 447.5 MB, free: 78.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.2256, allocations: 66.17 kB / 447.5 MB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.2258, allocations: 66.41 kB / 447.6 MB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/0.2261, allocations: 313.4 kB / 447.9 MB, free: 78.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.2262, allocations: 42.86 kB / 448 MB, free: 78.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.2264, allocations: 213.5 kB / 448.2 MB, free: 78.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2264, allocations: 0 / 448.2 MB, free: 78.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008788/0.2272, allocations: 314.5 kB / 448.5 MB, free: 78.49 MB / 410.7 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.00065/0.2279, allocations: 380.8 kB / 448.8 MB, free: 78.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.2297, allocations: 2.612 MB / 451.4 MB, free: 76.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2297, allocations: 3.156 kB / 451.5 MB, free: 76.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00089/0.2306, allocations: 1.589 MB / 453 MB, free: 75.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.231, allocations: 78.86 kB / 453.1 MB, free: 75.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.2329, allocations: 1.829 MB / 454.9 MB, free: 74.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.2331, allocations: 326.1 kB / 455.3 MB, free: 74.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.2332, allocations: 54 kB / 455.3 MB, free: 74.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2332, allocations: 2.938 kB / 455.3 MB, free: 74.12 MB / 410.7 MB Notification: Performance of Templates: time 0.01141/0.2446, allocations: 11.59 MB / 466.9 MB, free: 72.61 MB / 410.7 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/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:162: error: invalid argument type 'StatArrayDim1' to unary expression 756 | _functions->PNlib_Functions_decreasingFactor(0, 1, _P1_P_t__, _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:192: error: invalid argument type 'StatArrayDim1' to unary expression 756 | _functions->PNlib_Functions_decreasingFactor(0, 1, _P1_P_t__, _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 777 | _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp163),tmp164); | ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:1158:169: error: invalid argument type 'StatArrayDim1' to unary expression 1158 | _functions->PNlib_Functions_decreasingFactor(0, 1, _P1_P_t__, _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp209, tmp210, tmp211, tmp212, tmp213, tmp214, (tmp215 && (!tmp216)), (_P1_P_disMarksOut_P_vec_ && (!tmp217)), tmp218); | ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:1158:210: error: invalid argument type 'StatArrayDim1' to unary expression 1158 | _functions->PNlib_Functions_decreasingFactor(0, 1, _P1_P_t__, _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp209, tmp210, tmp211, tmp212, tmp213, tmp214, (tmp215 && (!tmp216)), (_P1_P_disMarksOut_P_vec_ && (!tmp217)), tmp218); | ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.8521638633683324] Failed to read output from testmodel.py, exit status != 0: 0.25120816472917795 0.260392069 0.246656547 Calling exit ...