Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.001783/0.001783, allocations: 107.2 kB / 17.12 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.00206/0.00206, allocations: 194.7 kB / 20.08 MB, free: 3.074 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.402/1.402, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.07749/0.07749, allocations: 16.97 MB / 320.3 MB, free: 13.12 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.ConTest.TCtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPCfunction") translateModel(PNlib.Examples.ConTest.TCtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPCfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.39 kB / 447.2 MB, free: 44.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08458/0.08653, allocations: 56.41 MB / 0.4918 GB, free: 18.39 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.002528/0.08906, allocations: 2.017 MB / 0.4938 GB, free: 16.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.09154, allocations: 1.691 MB / 0.4955 GB, free: 15.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.09184, allocations: 11.41 kB / 0.4955 GB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.09213, allocations: 142 kB / 0.4956 GB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.09253, allocations: 145.1 kB / 0.4958 GB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.09391, allocations: 0.6916 MB / 0.4964 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.09506, allocations: 1.315 MB / 0.4977 GB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.09526, allocations: 91.75 kB / 0.4978 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.09567, allocations: 0.5466 MB / 0.4983 GB, free: 13.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.09601, allocations: 360.7 kB / 0.4987 GB, free: 13.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.09611, allocations: 71.62 kB / 0.4987 GB, free: 13.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007121/0.09682, allocations: 0.5137 MB / 0.4992 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.09696, allocations: 173.7 kB / 0.4994 GB, free: 12.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.09721, allocations: 344 kB / 0.4997 GB, free: 12.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009865/0.09819, allocations: 1.08 MB / 0.5008 GB, free: 11.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.0982, allocations: 0 / 0.5008 GB, free: 11.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.0982, allocations: 1.25 kB / 0.5008 GB, free: 11.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.09821, allocations: 0 / 0.5008 GB, free: 11.87 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001424/0.09963, allocations: 1.272 MB / 0.502 GB, free: 10.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.09967, allocations: 16.77 kB / 0.5021 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000625/0.1003, allocations: 138.3 kB / 0.5022 GB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.1008, allocations: 419.2 kB / 0.5026 GB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.1009, allocations: 139.8 kB / 0.5027 GB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.101, allocations: 70.98 kB / 0.5028 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.1024, allocations: 1.128 MB / 0.5039 GB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.1024, allocations: 3.938 kB / 0.5039 GB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.522e-05/0.1025, allocations: 39.98 kB / 0.5039 GB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.907e-05/0.1025, allocations: 48.95 kB / 0.504 GB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1037, allocations: 0.7731 MB / 0.5047 GB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.1062, allocations: 2.805 MB / 0.5075 GB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/0.107, allocations: 0.5522 MB / 0.508 GB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.1076, allocations: 462.4 kB / 0.5085 GB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.1088, allocations: 2.872 MB / 0.5113 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000779/0.1096, allocations: 0.6918 MB / 0.5119 GB, free: 12 kB / 366.1 MB Notification: Performance of pre-optimization done (n=68): time 2.726e-06/0.1096, allocations: 0 / 0.5119 GB, free: 12 kB / 366.1 MB Notification: Performance of matching and sorting (n=68): time 0.003772/0.1133, allocations: 2.178 MB / 0.5141 GB, free: 13.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003565/0.1137, allocations: 0.5282 MB / 0.5146 GB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.1141, allocations: 364.2 kB / 0.5149 GB, free: 12.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.1142, allocations: 61.69 kB / 0.515 GB, free: 12.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.1144, allocations: 269 kB / 0.5152 GB, free: 12.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.1146, allocations: 186.6 kB / 0.5154 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.1149, allocations: 198.6 kB / 0.5156 GB, free: 12.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.115, allocations: 362.7 kB / 0.516 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005614/0.1156, allocations: 337.8 kB / 0.5163 GB, free: 11.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008372/0.1164, allocations: 0.6304 MB / 0.5169 GB, free: 10.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.1183, allocations: 1.622 MB / 0.5185 GB, free: 8.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.1183, allocations: 0 / 0.5185 GB, free: 8.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002325/0.1206, allocations: 1.563 MB / 0.52 GB, free: 7.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002458/0.1209, allocations: 357.2 kB / 0.5203 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001275/0.1221, allocations: 0.748 MB / 0.5211 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.1225, allocations: 88.92 kB / 0.5212 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.1228, allocations: 99.77 kB / 0.5213 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000536/0.1234, allocations: 0.6264 MB / 0.5219 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.1238, allocations: 103.3 kB / 0.522 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.1239, allocations: 48 kB / 0.522 GB, free: 4.863 MB / 382.1 MB Warning: Assuming fixed start value for the following 18 variables: 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 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 P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 101 ($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,$whenCondition3,$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.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009513/0.1249, allocations: 0.7171 MB / 0.5227 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.1251, allocations: 67.66 kB / 0.5228 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.1278, allocations: 1.679 MB / 0.5244 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.1278, allocations: 4 kB / 0.5244 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1278, allocations: 0 / 0.5244 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1278, allocations: 4 kB / 0.5244 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/0.1317, allocations: 2.562 MB / 0.5269 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002399/0.1341, allocations: 1.566 MB / 0.5284 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.1343, allocations: 31.92 kB / 0.5285 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.1345, allocations: 64.8 kB / 0.5285 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.685e-05/0.1346, allocations: 35.98 kB / 0.5286 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004995/0.1351, allocations: 0.607 MB / 0.5292 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1351, allocations: 0 / 0.5292 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/0.1394, allocations: 2.612 MB / 0.5317 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.1396, allocations: 128.7 kB / 0.5318 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.1398, allocations: 71.97 kB / 0.5319 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.1402, allocations: 48.03 kB / 0.532 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.1404, allocations: 71.78 kB / 0.532 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.1405, allocations: 52.03 kB / 0.5321 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002532/0.1407, allocations: 215.1 kB / 0.5323 GB, free: 9.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1407, allocations: 0 / 0.5323 GB, free: 9.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00106/0.1418, allocations: 299.5 kB / 0.5326 GB, free: 9.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 54 (P1.disMarksInOut,$whenCondition2,$whenCondition1,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[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.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition3,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) * Number of discrete states: 50 (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,$whenCondition3,P1.fireIn[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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],$whenCondition1,P1.enableIn.TEin[1],P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009371/0.1427, allocations: 365.1 kB / 0.5329 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.1453, allocations: 1.734 MB / 0.5346 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1453, allocations: 0.6875 kB / 0.5346 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.1467, allocations: 1.168 MB / 0.5357 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.1473, allocations: 90.55 kB / 0.5358 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.1502, allocations: 1.427 MB / 0.5372 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/0.1508, allocations: 0.9104 MB / 0.5381 GB, free: 3.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.151, allocations: 47.41 kB / 0.5382 GB, free: 3.586 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.151, allocations: 0 / 0.5382 GB, free: 3.586 MB / 398.1 MB Notification: Performance of Templates: time 0.0223/0.1733, allocations: 13.01 MB / 0.5509 GB, free: 6.559 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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/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.ConTest.TCtoPCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop139.cpp:100:256: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp149, tmp150, tmp151, tmp152, _system->_P1_P_enableIn_P_arcWeight_, tmp153, (_system->_P1_P_fireIn_ && (!tmp154)), (tmp155 && (!tmp156)), tmp157); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop139.cpp:100:279: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp149, tmp150, tmp151, tmp152, _system->_P1_P_enableIn_P_arcWeight_, tmp153, (_system->_P1_P_fireIn_ && (!tmp154)), (tmp155 && (!tmp156)), tmp157); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop35.cpp:98:256: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp159, tmp160, tmp161, tmp162, _system->_P1_P_enableIn_P_arcWeight_, tmp163, (_system->_P1_P_fireIn_ && (!tmp164)), (tmp165 && (!tmp166)), tmp167); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop35.cpp:98:279: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp159, tmp160, tmp161, tmp162, _system->_P1_P_enableIn_P_arcWeight_, tmp163, (_system->_P1_P_fireIn_ && (!tmp164)), (tmp165 && (!tmp166)), tmp167); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunction.cpp:1033:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp202,(!tmp203),tmp204); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.087208088953048] Failed to read output from testmodel.py, exit status != 0: 0.3491858569905162 0.19610403199999996 0.09496739600000001 Calling exit ...