Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.001452/0.001452, allocations: 110.5 kB / 17.08 MB, free: 5.766 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.001427/0.001427, allocations: 189.2 kB / 20.03 MB, free: 2.906 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.381/1.381, allocations: 222.9 MB / 245.7 MB, free: 4.195 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.1687/0.1687, allocations: 16.72 MB / 314.6 MB, free: 14.86 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.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") translateModel(PNlib.Examples.HybTest.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 62.3 kB / 435.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07781/0.07968, allocations: 53.48 MB / 489.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.002512/0.08223, allocations: 1.974 MB / 491.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.08466, allocations: 1.558 MB / 492.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003494/0.08503, allocations: 13.5 kB / 492.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.08533, allocations: 122.6 kB / 492.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.08574, allocations: 119.6 kB / 493 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.08695, allocations: 0.6478 MB / 493.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009587/0.08792, allocations: 1.334 MB / 494.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.08811, allocations: 143.8 kB / 495.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.08853, allocations: 0.4947 MB / 495.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.08888, allocations: 330.3 kB / 495.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.08901, allocations: 72 kB / 496 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.08948, allocations: 451.4 kB / 496.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.08961, allocations: 147.5 kB / 496.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.08985, allocations: 346.3 kB / 496.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008147/0.09067, allocations: 1.032 MB / 497.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09068, allocations: 0 / 497.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.09069, allocations: 0 / 497.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.09071, allocations: 3.938 kB / 497.9 MB, free: 2.422 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001264/0.09198, allocations: 1.266 MB / 499.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.09201, allocations: 11.89 kB / 499.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/0.09258, allocations: 140.4 kB / 499.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.09298, allocations: 414.9 kB / 499.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.466e-05/0.09308, allocations: 138.4 kB / 499.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/0.09317, allocations: 71.98 kB / 500 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.09487, allocations: 1.106 MB / 0.4893 GB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.0949, allocations: 3.938 kB / 0.4893 GB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/0.09499, allocations: 32 kB / 0.4894 GB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.18e-05/0.09509, allocations: 56.95 kB / 0.4894 GB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.09657, allocations: 0.7536 MB / 0.4901 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/0.1002, allocations: 2.781 MB / 0.4929 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.1017, allocations: 1.117 MB / 0.4939 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.1028, allocations: 0.9756 MB / 0.4949 GB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002266/0.1051, allocations: 2.88 MB / 0.4977 GB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.1062, allocations: 0.6979 MB / 0.4984 GB, free: 4.922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.224e-06/0.1062, allocations: 0 / 0.4984 GB, free: 4.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.003227/0.1094, allocations: 2.022 MB / 0.5004 GB, free: 2.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003818/0.1098, allocations: 0.5749 MB / 0.5009 GB, free: 2.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.1102, allocations: 368.4 kB / 0.5013 GB, free: 1.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/0.1103, allocations: 65.62 kB / 0.5013 GB, free: 1.711 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.1105, allocations: 261.3 kB / 0.5016 GB, free: 1.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.1107, allocations: 202.6 kB / 0.5018 GB, free: 1.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.111, allocations: 202.6 kB / 0.502 GB, free: 1.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1112, allocations: 378.6 kB / 0.5023 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.1118, allocations: 318.1 kB / 0.5026 GB, free: 364 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/0.1127, allocations: 0.6635 MB / 0.5033 GB, free: 15.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.1155, allocations: 2.109 MB / 0.5054 GB, free: 13.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.1156, allocations: 4 kB / 0.5054 GB, free: 13.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002269/0.1178, allocations: 1.512 MB / 0.5068 GB, free: 11.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002397/0.1181, allocations: 350.7 kB / 0.5072 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009161/0.119, allocations: 0.5785 MB / 0.5077 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.1191, allocations: 19.98 kB / 0.5078 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.1194, allocations: 119.6 kB / 0.5079 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/0.1195, allocations: 24.2 kB / 0.5079 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.1199, allocations: 107.3 kB / 0.508 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/0.12, allocations: 55.98 kB / 0.508 GB, free: 10.2 MB / 382.1 MB Warning: Assuming fixed start value for the following 21 variables: 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.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.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.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.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.enableOut.Index:DISCRETE(fixed = true protected = true ) 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.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.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.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: 46 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,$PRE.T1.firingTime,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireIn[1],$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 105 * 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.0008743/0.1208, allocations: 0.718 MB / 0.5087 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.121, allocations: 67.72 kB / 0.5088 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.1234, allocations: 1.487 MB / 0.5103 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1234, allocations: 4 kB / 0.5103 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1234, allocations: 4 kB / 0.5103 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.1234, allocations: 3.984 kB / 0.5103 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/0.127, allocations: 2.402 MB / 0.5126 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002249/0.1293, allocations: 1.402 MB / 0.514 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1295, allocations: 31.92 kB / 0.514 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.1295, allocations: 4 kB / 0.514 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-05/0.1296, allocations: 43.91 kB / 0.5141 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1296, allocations: 0 / 0.5141 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1296, allocations: 3.938 kB / 0.5141 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.1335, allocations: 2.544 MB / 0.5166 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1336, allocations: 136.7 kB / 0.5167 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.1338, allocations: 67.98 kB / 0.5167 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.1342, allocations: 56.02 kB / 0.5168 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.1344, allocations: 91.84 kB / 0.5169 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.1345, allocations: 39.98 kB / 0.5169 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.1347, allocations: 227 kB / 0.5171 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1347, allocations: 0 / 0.5171 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009136/0.1357, allocations: 287.6 kB / 0.5174 GB, free: 264 kB / 382.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.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.anytrue,P1.delayPassedOut.numtrue,P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.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.0007418/0.1364, allocations: 331.8 kB / 0.5177 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.1389, allocations: 1.797 MB / 0.5195 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1389, allocations: 0 / 0.5195 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002253/0.1411, allocations: 2.286 MB / 0.5217 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.1417, allocations: 90.64 kB / 0.5218 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.1444, allocations: 1.518 MB / 0.5233 GB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.145, allocations: 0.9075 MB / 0.5242 GB, free: 9.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1451, allocations: 39.42 kB / 0.5242 GB, free: 8.977 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1451, allocations: 4 kB / 0.5242 GB, free: 8.973 MB / 398.1 MB Notification: Performance of Templates: time 0.01525/0.1604, allocations: 10.5 MB / 0.5345 GB, free: 14.44 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionInitialize.cpp:681:189: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, _P1_P_enableIn_P_arcWeight_, tmp29, (_P1_P_fireIn_ && (!tmp30)), (tmp31 && (!tmp32)), tmp33); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionInitialize.cpp:681:210: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, _P1_P_enableIn_P_arcWeight_, tmp29, (_P1_P_fireIn_ && (!tmp30)), (tmp31 && (!tmp32)), tmp33); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:730:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp164),tmp165); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:1109:204: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp210, tmp211, tmp212, tmp213, _P1_P_enableIn_P_arcWeight_, tmp214, (_P1_P_disMarksIn_P_vec_ && (!tmp215)), (tmp216 && (!tmp217)), tmp218); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:1109:227: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp210, tmp211, tmp212, tmp213, _P1_P_enableIn_P_arcWeight_, tmp214, (_P1_P_disMarksIn_P_vec_ && (!tmp215)), (tmp216 && (!tmp217)), tmp218); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.9004985538776964] Failed to read output from testmodel.py, exit status != 0: 0.16667295177467167 0.180005287 0.08678055700000001 Calling exit ...