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.001506/0.001506, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001562/0.001562, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.501/1.501, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.079/0.079, allocations: 16.96 MB / 320.3 MB, free: 13.13 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.001902/0.001902, allocations: 66.41 kB / 447.2 MB, free: 44.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09398/0.09589, allocations: 56.42 MB / 0.4919 GB, free: 18.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.002964/0.09885, allocations: 1.987 MB / 0.4938 GB, free: 16.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1016, allocations: 1.565 MB / 0.4953 GB, free: 15.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.1018, allocations: 10.94 kB / 0.4953 GB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1021, allocations: 128.3 kB / 0.4955 GB, free: 15.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.1025, allocations: 139 kB / 0.4956 GB, free: 15.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1038, allocations: 0.6481 MB / 0.4962 GB, free: 14.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.1049, allocations: 1.24 MB / 0.4974 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.1052, allocations: 89.92 kB / 0.4975 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.1056, allocations: 0.5 MB / 0.498 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.106, allocations: 351 kB / 0.4983 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.1061, allocations: 69.12 kB / 0.4984 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007861/0.1069, allocations: 467.7 kB / 0.4989 GB, free: 13.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1071, allocations: 174.4 kB / 0.499 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.1074, allocations: 343.1 kB / 0.4994 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.1086, allocations: 1.024 MB / 0.5004 GB, free: 12.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1086, allocations: 5.219 kB / 0.5004 GB, free: 12.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1086, allocations: 0 / 0.5004 GB, free: 12.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1086, allocations: 0 / 0.5004 GB, free: 12.24 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001573/0.1102, allocations: 1.279 MB / 0.5016 GB, free: 11.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1102, allocations: 15.02 kB / 0.5016 GB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006171/0.1109, allocations: 137.1 kB / 0.5017 GB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.1114, allocations: 415.9 kB / 0.5021 GB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.1115, allocations: 135.5 kB / 0.5023 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1116, allocations: 69.61 kB / 0.5023 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.1131, allocations: 1.11 MB / 0.5034 GB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.1132, allocations: 7.938 kB / 0.5034 GB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.1132, allocations: 31.98 kB / 0.5035 GB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-05/0.1133, allocations: 52.97 kB / 0.5035 GB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1144, allocations: 0.7536 MB / 0.5043 GB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.1173, allocations: 2.769 MB / 0.507 GB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.1181, allocations: 0.6071 MB / 0.5075 GB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.1187, allocations: 471.2 kB / 0.508 GB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.12, allocations: 2.88 MB / 0.5108 GB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000807/0.1208, allocations: 0.7057 MB / 0.5115 GB, free: 452 kB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 1.933e-06/0.1208, allocations: 0 / 0.5115 GB, free: 452 kB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.003314/0.1241, allocations: 2.018 MB / 0.5135 GB, free: 14.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004459/0.1246, allocations: 0.5827 MB / 0.514 GB, free: 13.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.1251, allocations: 372.5 kB / 0.5144 GB, free: 13.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.284e-05/0.1252, allocations: 57.69 kB / 0.5144 GB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.1254, allocations: 257.1 kB / 0.5147 GB, free: 12.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.1256, allocations: 194.6 kB / 0.5149 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.1259, allocations: 206.6 kB / 0.5151 GB, free: 12.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.1261, allocations: 370.7 kB / 0.5154 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/0.1267, allocations: 326.1 kB / 0.5157 GB, free: 11.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008962/0.1276, allocations: 0.6596 MB / 0.5164 GB, free: 11.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.1305, allocations: 2.125 MB / 0.5185 GB, free: 8.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.1305, allocations: 0 / 0.5185 GB, free: 8.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002381/0.1329, allocations: 1.52 MB / 0.5199 GB, free: 7.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002623/0.1331, allocations: 346.7 kB / 0.5203 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009602/0.1341, allocations: 0.583 MB / 0.5208 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/0.1341, allocations: 20 kB / 0.5209 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.1345, allocations: 111.7 kB / 0.521 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/0.1345, allocations: 23.92 kB / 0.521 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.1349, allocations: 111.3 kB / 0.5211 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.135, allocations: 59.92 kB / 0.5212 GB, free: 5.711 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.001077/0.1361, allocations: 0.7172 MB / 0.5219 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.1363, allocations: 67.72 kB / 0.5219 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.1388, allocations: 1.499 MB / 0.5234 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.1388, allocations: 11.98 kB / 0.5234 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1388, allocations: 4 kB / 0.5234 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1388, allocations: 0 / 0.5234 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.1427, allocations: 2.398 MB / 0.5257 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002224/0.1449, allocations: 1.41 MB / 0.5271 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.1451, allocations: 35.91 kB / 0.5272 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.1451, allocations: 4 kB / 0.5272 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.1452, allocations: 31.98 kB / 0.5272 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.1452, allocations: 4 kB / 0.5272 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1452, allocations: 7.938 kB / 0.5272 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/0.1493, allocations: 2.548 MB / 0.5297 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.1494, allocations: 128.6 kB / 0.5298 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.1496, allocations: 71.97 kB / 0.5299 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.15, allocations: 47.97 kB / 0.5299 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.1502, allocations: 91.84 kB / 0.53 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-05/0.1503, allocations: 43.97 kB / 0.5301 GB, free: 12.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000266/0.1506, allocations: 215.1 kB / 0.5303 GB, free: 12.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1506, allocations: 4 kB / 0.5303 GB, free: 12.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001124/0.1517, allocations: 287.6 kB / 0.5305 GB, free: 11.75 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.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.0008512/0.1526, allocations: 359.7 kB / 0.5309 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.1553, allocations: 1.714 MB / 0.5326 GB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1553, allocations: 0 / 0.5326 GB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.1569, allocations: 1.157 MB / 0.5337 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.1575, allocations: 94.73 kB / 0.5338 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.1606, allocations: 1.514 MB / 0.5353 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.1612, allocations: 0.9114 MB / 0.5361 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.1614, allocations: 39.42 kB / 0.5362 GB, free: 5.656 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1614, allocations: 4 kB / 0.5362 GB, free: 5.652 MB / 398.1 MB Notification: Performance of Templates: time 0.01852/0.1799, allocations: 10.59 MB / 0.5465 GB, free: 11.04 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: 4.270345671000541] Failed to read output from testmodel.py, exit status != 0: 0.3713459090067772 0.20253927900000002 0.091074478 Calling exit ...