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.001246/0.001246, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001509/0.001509, allocations: 216.2 kB / 22.99 MB, free: 4.945 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.07803/0.07803, allocations: 16.95 MB / 330.1 MB, free: 2.078 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.001906/0.001906, allocations: 67.91 kB / 460.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 57.62 MB / 0.5064 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.003177/0.1128, allocations: 1.834 MB / 0.5082 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.1156, allocations: 1.517 MB / 0.5097 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1158, allocations: 11.94 kB / 0.5097 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.1161, allocations: 123 kB / 0.5098 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.1165, allocations: 151 kB / 0.5099 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1179, allocations: 0.6811 MB / 0.5106 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.1192, allocations: 1.283 MB / 0.5119 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.1194, allocations: 77.08 kB / 0.5119 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005364/0.1199, allocations: 0.5258 MB / 0.5124 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005257/0.1205, allocations: 362.2 kB / 0.5128 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.1206, allocations: 84 kB / 0.5129 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008627/0.1215, allocations: 0.5421 MB / 0.5134 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.1217, allocations: 171.3 kB / 0.5136 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.122, allocations: 318.6 kB / 0.5139 GB, free: 260 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.201/0.323, allocations: 1.124 MB / 0.515 GB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.323, allocations: 0.5625 kB / 0.515 GB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.323, allocations: 0 / 0.515 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.3231, allocations: 0.5 kB / 0.515 GB, free: 11.48 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.001593/0.3247, allocations: 1.316 MB / 0.5163 GB, free: 10.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3247, allocations: 9.25 kB / 0.5163 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.3253, allocations: 145.6 kB / 0.5164 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.3258, allocations: 373.3 kB / 0.5168 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.326, allocations: 225.6 kB / 0.517 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.3261, allocations: 77.41 kB / 0.517 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.328, allocations: 1.758 MB / 0.5188 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.328, allocations: 8.547 kB / 0.5188 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/0.3281, allocations: 37.19 kB / 0.5188 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.484e-05/0.3282, allocations: 58.38 kB / 0.5189 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.3299, allocations: 1.24 MB / 0.5201 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.333, allocations: 2.567 MB / 0.5226 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.3343, allocations: 0.9798 MB / 0.5235 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008895/0.3352, allocations: 0.8475 MB / 0.5244 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009317/0.3361, allocations: 335.3 kB / 0.5247 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.3372, allocations: 1.104 MB / 0.5258 GB, free: 6.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 2.475e-06/0.3372, allocations: 2.656 kB / 0.5258 GB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.003408/0.3406, allocations: 2.905 MB / 0.5286 GB, free: 4.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.3408, allocations: 0.5977 MB / 0.5292 GB, free: 4.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.3412, allocations: 392 kB / 0.5296 GB, free: 3.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.3413, allocations: 66.34 kB / 0.5296 GB, free: 3.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3415, allocations: 298.5 kB / 0.5299 GB, free: 3.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.3416, allocations: 190.5 kB / 0.5301 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.3419, allocations: 230.4 kB / 0.5303 GB, free: 3.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.342, allocations: 368.8 kB / 0.5307 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/0.3427, allocations: 0.7622 MB / 0.5314 GB, free: 2.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009282/0.3437, allocations: 1.227 MB / 0.5326 GB, free: 1.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.3463, allocations: 2.487 MB / 0.535 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.3463, allocations: 4.75 kB / 0.535 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003002/0.3493, allocations: 2.171 MB / 0.5372 GB, free: 14.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002756/0.3496, allocations: 365.3 kB / 0.5375 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001349/0.351, allocations: 0.937 MB / 0.5384 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/0.351, allocations: 18.78 kB / 0.5384 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.3514, allocations: 134.7 kB / 0.5386 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.3514, allocations: 24.42 kB / 0.5386 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.3519, allocations: 132.8 kB / 0.5387 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/0.352, allocations: 57.2 kB / 0.5388 GB, free: 13.46 MB / 398.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.001017/0.3531, allocations: 0.7536 MB / 0.5395 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.3532, allocations: 72.53 kB / 0.5396 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.3562, allocations: 1.833 MB / 0.5414 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3562, allocations: 4.719 kB / 0.5414 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3562, allocations: 4.594 kB / 0.5414 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3562, allocations: 8.125 kB / 0.5414 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/0.3602, allocations: 2.521 MB / 0.5438 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002419/0.3626, allocations: 1.766 MB / 0.5456 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.3627, allocations: 25.2 kB / 0.5456 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3627, allocations: 2.156 kB / 0.5456 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/0.3628, allocations: 43.69 kB / 0.5456 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.3628, allocations: 2.031 kB / 0.5456 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3628, allocations: 4.312 kB / 0.5456 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.3674, allocations: 3.498 MB / 0.5491 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.3674, allocations: 45.88 kB / 0.5491 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.3676, allocations: 65.97 kB / 0.5492 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.368, allocations: 77.58 kB / 0.5492 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004703/0.3685, allocations: 307.7 kB / 0.5495 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.39e-05/0.3686, allocations: 42.81 kB / 0.5496 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.3688, allocations: 213.2 kB / 0.5498 GB, free: 7.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3688, allocations: 0 / 0.5498 GB, free: 7.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001142/0.37, allocations: 317.1 kB / 0.5501 GB, free: 7.457 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.0007004/0.3707, allocations: 357.7 kB / 0.5504 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003413/0.3741, allocations: 2.613 MB / 0.553 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3741, allocations: 4.062 kB / 0.553 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.3759, allocations: 1.584 MB / 0.5545 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.3764, allocations: 82.67 kB / 0.5546 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.3794, allocations: 1.842 MB / 0.5564 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3797, allocations: 329 kB / 0.5567 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3799, allocations: 49.41 kB / 0.5568 GB, free: 2.574 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3799, allocations: 2.625 kB / 0.5568 GB, free: 2.574 MB / 398.1 MB Notification: Performance of Templates: time 0.01754/0.3974, allocations: 11.72 MB / 0.5682 GB, free: 8.539 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 -DOMC_BUILD -DUSE_THREAD -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_,(!tmp163),tmp164); ^~~~~~~ ./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, tmp209, tmp210, tmp211, tmp212, tmp213, tmp214, (tmp215 && (!tmp216)), (_P1_P_disMarksOut_P_vec_ && (!tmp217)), tmp218); ^~~~~~~ ./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, 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: 4.140315556898713] Failed to read output from testmodel.py, exit status != 0: 0.4064603871665895 0.421341195 0.09524655 Calling exit ...