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.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.001451/0.001451, allocations: 111.8 kB / 17.08 MB, free: 6.012 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.001467/0.001468, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.341/1.341, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 179] 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.1797/0.1797, allocations: 16.72 MB / 314.6 MB, free: 14.87 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.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 0.001835/0.001835, allocations: 73.62 kB / 435.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.09111, allocations: 53.48 MB / 489.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTD): time 0.002576/0.09371, allocations: 1.983 MB / 491.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.09615, allocations: 1.549 MB / 492.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000301/0.09647, allocations: 6.625 kB / 492.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.09676, allocations: 130.3 kB / 492.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.09713, allocations: 124.5 kB / 493 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.0983, allocations: 0.6522 MB / 493.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008152/0.09912, allocations: 1.342 MB / 495 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.09933, allocations: 156.5 kB / 495.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.09964, allocations: 0.5025 MB / 495.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.09996, allocations: 354.2 kB / 496 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.1001, allocations: 80 kB / 496 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.1006, allocations: 455.5 kB / 496.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.1007, allocations: 163.4 kB / 496.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.101, allocations: 386.3 kB / 497 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008388/0.1018, allocations: 1.121 MB / 498.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1018, allocations: 0 / 498.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1019, allocations: 0 / 498.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1019, allocations: 0 / 498.2 MB, free: 2.305 MB / 350.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.001234/0.1031, allocations: 1.324 MB / 499.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.1031, allocations: 12.03 kB / 499.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005523/0.1037, allocations: 148.4 kB / 499.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.1041, allocations: 430.7 kB / 0.4883 GB, free: 252 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.935e-05/0.1042, allocations: 138.4 kB / 0.4885 GB, free: 92 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.186e-05/0.1043, allocations: 91.97 kB / 0.4886 GB, free: 0 / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.1065, allocations: 1.263 MB / 0.4898 GB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.1065, allocations: 3.938 kB / 0.4898 GB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.1066, allocations: 39.98 kB / 0.4898 GB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.1067, allocations: 57.27 kB / 0.4899 GB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.1084, allocations: 0.8872 MB / 0.4907 GB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.1124, allocations: 3.009 MB / 0.4937 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.114, allocations: 1.191 MB / 0.4948 GB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.1152, allocations: 0.972 MB / 0.4958 GB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002414/0.1176, allocations: 2.88 MB / 0.4986 GB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/0.1189, allocations: 0.7616 MB / 0.4994 GB, free: 4.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.685e-06/0.1189, allocations: 0 / 0.4994 GB, free: 4.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=71): time 0.003632/0.1225, allocations: 2.178 MB / 0.5015 GB, free: 1.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004166/0.123, allocations: 0.5944 MB / 0.5021 GB, free: 1.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.1235, allocations: 421.3 kB / 0.5025 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.1236, allocations: 61.69 kB / 0.5025 GB, free: 0.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.1238, allocations: 296.7 kB / 0.5028 GB, free: 296 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.124, allocations: 198.5 kB / 0.503 GB, free: 96 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.1244, allocations: 234.6 kB / 0.5032 GB, free: 15.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1246, allocations: 374.8 kB / 0.5036 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007164/0.1253, allocations: 426 kB / 0.504 GB, free: 15.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.1264, allocations: 0.8046 MB / 0.5048 GB, free: 14.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/0.1296, allocations: 2.447 MB / 0.5072 GB, free: 11.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.1297, allocations: 7.938 kB / 0.5072 GB, free: 11.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002823/0.1325, allocations: 1.809 MB / 0.5089 GB, free: 9.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002777/0.1328, allocations: 366.8 kB / 0.5093 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001253/0.1341, allocations: 0.784 MB / 0.51 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.706e-05/0.1341, allocations: 20 kB / 0.5101 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.1345, allocations: 135.7 kB / 0.5102 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.747e-05/0.1345, allocations: 23.88 kB / 0.5102 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.1351, allocations: 135.2 kB / 0.5103 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.491e-05/0.1352, allocations: 60 kB / 0.5104 GB, free: 7.812 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: 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.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 (129): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001033/0.1362, allocations: 0.7596 MB / 0.5111 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.1364, allocations: 71.67 kB / 0.5112 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.139, allocations: 1.6 MB / 0.5128 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.1391, allocations: 8 kB / 0.5128 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.1391, allocations: 4 kB / 0.5128 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.1391, allocations: 7.922 kB / 0.5128 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/0.143, allocations: 2.553 MB / 0.5153 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002378/0.1454, allocations: 1.525 MB / 0.5168 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.1456, allocations: 31.91 kB / 0.5168 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.1456, allocations: 4 kB / 0.5168 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.116e-05/0.1457, allocations: 35.98 kB / 0.5168 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1457, allocations: 0 / 0.5168 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1457, allocations: 4 kB / 0.5169 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004199/0.1499, allocations: 2.752 MB / 0.5195 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1501, allocations: 124.7 kB / 0.5197 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.1503, allocations: 71.97 kB / 0.5197 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.1507, allocations: 75.94 kB / 0.5198 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/0.1513, allocations: 307.7 kB / 0.5201 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-05/0.1514, allocations: 47.95 kB / 0.5201 GB, free: 13.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002689/0.1516, allocations: 247.2 kB / 0.5204 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1516, allocations: 0 / 0.5204 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009933/0.1526, allocations: 315.5 kB / 0.5207 GB, free: 12.96 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 (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.0006658/0.1533, allocations: 327.8 kB / 0.521 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002669/0.156, allocations: 2.016 MB / 0.523 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.156, allocations: 7.938 kB / 0.523 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002285/0.1583, allocations: 2.313 MB / 0.5252 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.1588, allocations: 94.69 kB / 0.5253 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.1614, allocations: 1.495 MB / 0.5268 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.162, allocations: 0.9265 MB / 0.5277 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1621, allocations: 51.42 kB / 0.5277 GB, free: 5.41 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1622, allocations: 0 / 0.5277 GB, free: 5.41 MB / 398.1 MB Notification: Performance of Templates: time 0.01645/0.1786, allocations: 11.68 MB / 0.5391 GB, free: 9.695 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTD.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTD.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_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.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:766: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:766:189: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, tmp30, (tmp31 && (!tmp32)), (_P1_P_fireOut_ && (!tmp33)), tmp34); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:777:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp165),tmp166); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:1158:166: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (tmp217 && (!tmp218)), (_P1_P_disMarksOut_P_vec_ && (!tmp219)), tmp220); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTD.cpp:1158:207: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(0, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (tmp217 && (!tmp218)), (_P1_P_disMarksOut_P_vec_ && (!tmp219)), tmp220); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.PCtoTDCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.8891520251054317] Failed to read output from testmodel.py, exit status != 0: 0.18446605699136853 0.197524205 0.09327305100000001 Calling exit ...